class
GpuDeviceCapabilities
Information about hardware (GPU) and driver capabilities, such as supported features, limits and conventions.
Public
Methods
SetCapability
Sets a capability flag indicating this capability is supported.
UnsetCapability
Remove a capability flag indicating this capability is not supported (default).
HasCapability
Checks is the specified capability supported.
AddShaderProfile
Adds a shader profile to the list of render-system specific supported profiles.
IsShaderProfileSupported
Returns true if the provided profile is supported.
GetSupportedShaderProfiles
Returns a set of all supported shader profiles.
staticVendorFromString
Parses a vendor string and returns an enum with the vendor if parsed succesfully.
staticVendorToString
Converts a vendor enum to a string.
Fields
DeviceName
The name of the GPU device as reported by the GPU backend.
SampledTexturesPerStage
The number of sampled textures that can be bound per stage.
TotalSampledTexturesCount
Total number of sampled textures that can be bound.
UniformBufferCountPerStage
The number of uniform buffers that can be bound per stage.
TotalUniformBuffersCount
Total number of uniform buffers that can be bound.
StorageTexturesPerStage
The number of storage (load/store, UAV) textures that can be bound.
TotalStorageTexturesCount
Total number of storage (load/store, UAV) textures that can be bound.
VertexBufferCount
Maximum number of vertex buffers we can bind at once.
RenderTargetCount
The number of simultaneous render targets supported.
GeometryProgramNumOutputVertices
The number of vertices a geometry program can emit in a single run.
MinimumUniformBufferOffsetAlignment
Minimum alignment required for uniform buffers that are sub-allocated within a larger buffer.
OptimalBufferToBufferCopyOffsetAlignment
Optimal alignment for offsets used in buffers for copy source or destination operations, when copying from a buffer to another buffer.
OptimalBufferToImageCopyOffsetAlignment
Optimal alignment for offsets used in buffers for copy source or destination operations, when copying from a buffer to an image, or vice versa.
HorizontalTexelOffset
Horizontal texel offset used for mapping texels to pixels.
VerticalTexelOffset
Vertical texel offset used for mapping texels to pixels.
MinDepth
Minimum (closest) depth value used by this render backend
MaxDepth
Maximum (farthest) depth value used by this render backend.
Conventions
Returns various conventions expected by the render backend.
Private
Fields
mCapabilities
Stores the capabilities flags.
mSupportedShaderProfiles
The list of supported shader profiles.