Table of Contents

Struct GraphicsDeviceFeatures

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

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

GraphicsProfile

HasComputeShaders

Boolean indicating if this device supports compute shaders, unordered access on structured buffers and raw structured buffers.

public readonly bool HasComputeShaders

Field Value

bool

HasDepthAsReadOnlyRT

Boolean indicating if the Depth buffer can directly be used as a read only RenderTarget

public readonly bool HasDepthAsReadOnlyRT

Field Value

bool

HasDepthAsSRV

Boolean indicating if the Depth buffer can also be used as ShaderResourceView for some passes.

public readonly bool HasDepthAsSRV

Field Value

bool

HasDoublePrecision

Boolean indicating if this device supports shaders double precision calculations.

public readonly bool HasDoublePrecision

Field Value

bool

HasDriverCommandLists

Boolean indicating if this device supports command lists in multithreading scenarios.

public readonly bool HasDriverCommandLists

Field Value

bool

HasMultiThreadingConcurrentResources

Boolean indicating if this device supports concurrent resources in multithreading scenarios.

public readonly bool HasMultiThreadingConcurrentResources

Field Value

bool

HasMultisampleDepthAsSRV

Boolean indicating if the multi-sampled Depth buffer can directly be used as a ShaderResourceView

public readonly bool HasMultisampleDepthAsSRV

Field Value

bool

HasResourceRenaming

Boolean indicating if the graphics API supports resource renaming (with either WriteDiscard CommandList.UpdateSubresource with full size).

public readonly bool HasResourceRenaming

Field Value

bool

HasSRgb

Boolean indicating if this device supports SRGB texture and render targets.

public readonly bool HasSRgb

Field Value

bool

RequestedProfile

Features level of the current device.

public GraphicsProfile RequestedProfile

Field Value

GraphicsProfile

Properties

this[PixelFormat]

Gets the GraphicsDeviceFeatures.FeaturesPerFormat for the specified SharpDX.DXGI.Format.

public GraphicsDeviceFeatures.FeaturesPerFormat this[PixelFormat dxgiFormat] { get; }

Parameters

dxgiFormat PixelFormat

The 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.