Struct GraphicsDeviceFeatures
Features supported by a GraphicsDevice.
public struct GraphicsDeviceFeatures
- Inherited Members
Remarks
This class gives also features for a particular format, using the operator this[dxgiFormat] on this structure.
Fields
CurrentProfile
Features level of the current device.
public GraphicsProfile CurrentProfile
Field Value
HasComputeShaders
Boolean indicating if this device supports compute shaders, unordered access on structured buffers and raw structured buffers.
public readonly bool HasComputeShaders
Field Value
HasDepthAsReadOnlyRT
Boolean indicating if the Depth buffer can directly be used as a read only RenderTarget
public readonly bool HasDepthAsReadOnlyRT
Field Value
HasDepthAsSRV
Boolean indicating if the Depth buffer can also be used as ShaderResourceView for some passes.
public readonly bool HasDepthAsSRV
Field Value
HasDoublePrecision
Boolean indicating if this device supports shaders double precision calculations.
public readonly bool HasDoublePrecision
Field Value
HasDriverCommandLists
Boolean indicating if this device supports command lists in multithreading scenarios.
public readonly bool HasDriverCommandLists
Field Value
HasMultiThreadingConcurrentResources
Boolean indicating if this device supports concurrent resources in multithreading scenarios.
public readonly bool HasMultiThreadingConcurrentResources
Field Value
HasMultisampleDepthAsSRV
Boolean indicating if the multi-sampled Depth buffer can directly be used as a ShaderResourceView
public readonly bool HasMultisampleDepthAsSRV
Field Value
HasResourceRenaming
Boolean indicating if the graphics API supports resource renaming (with either WriteDiscard CommandList.UpdateSubresource
with full size).
public readonly bool HasResourceRenaming
Field Value
HasSRgb
Boolean indicating if this device supports SRGB texture and render targets.
public readonly bool HasSRgb
Field Value
RequestedProfile
Features level of the current device.
public GraphicsProfile RequestedProfile
Field Value
Properties
this[PixelFormat]
Gets the GraphicsDeviceFeatures.FeaturesPerFormat for the specified SharpDX.DXGI.Format.
public GraphicsDeviceFeatures.FeaturesPerFormat this[PixelFormat dxgiFormat] { get; }
Parameters
dxgiFormat
PixelFormatThe dxgi format.
Property Value
- GraphicsDeviceFeatures.FeaturesPerFormat
Features for the specific format.
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.