Interface DeviceCapability<T>
public interface DeviceCapability<T>
Typed capability key for querying GPU/backend features and limits.
Uses interface (not enum) for extensibility — users can define custom capabilities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeviceCapability<Boolean> static final DeviceCapability<String> static final DeviceCapability<String> static final DeviceCapability<Boolean> static final DeviceCapability<Boolean> static final DeviceCapability<String> static final DeviceCapability<Integer> Number of frames that can be in-flight simultaneously.static final DeviceCapability<Boolean> static final DeviceCapability<Float> static final DeviceCapability<Integer> static final DeviceCapability<Integer> static final DeviceCapability<Integer> static final DeviceCapability<Integer> static final DeviceCapability<Integer> static final DeviceCapability<Boolean> static final DeviceCapability<Integer> The Slang compilation target for this backend.static final DeviceCapability<Integer> static final DeviceCapability<Boolean> static final DeviceCapability<Integer> -
Method Summary
-
Field Details
-
MAX_TEXTURE_SIZE
-
MAX_FRAMEBUFFER_WIDTH
-
MAX_FRAMEBUFFER_HEIGHT
-
MAX_UNIFORM_BUFFER_SIZE
-
MAX_STORAGE_BUFFER_SIZE
-
MAX_ANISOTROPY
-
COMPUTE_SHADERS
-
GEOMETRY_SHADERS
-
TESSELLATION
-
ANISOTROPIC_FILTERING
-
MULTI_DRAW_INDIRECT
-
BINDLESS_TEXTURES
-
FRAMES_IN_FLIGHT
Number of frames that can be in-flight simultaneously. Used by GpuResourceManager to defer resource deletion. -
TEXTURE_BINDING_OFFSET
-
SSBO_BINDING_OFFSET
-
SHADER_TARGET
The Slang compilation target for this backend. Value is one ofShaderCompiler.TARGET_GLSL,ShaderCompiler.TARGET_SPIRV, orShaderCompiler.TARGET_WGSL. -
DEVICE_NAME
-
API_VERSION
-
BACKEND_NAME
-
-
Method Details
-
name
String name() -
type
-
intCap
-
floatCap
-
boolCap
-
stringCap
-