D3D12_FEATURE_DATA_FORMAT_SUPPORT structure (d3d12.h)

Describes which resources are supported by the current graphics driver for a given format.

Syntax

typedef struct D3D12_FEATURE_DATA_FORMAT_SUPPORT {
  DXGI_FORMAT           Format;
  D3D12_FORMAT_SUPPORT1 Support1;
  D3D12_FORMAT_SUPPORT2 Support2;
} D3D12_FEATURE_DATA_FORMAT_SUPPORT;

Members

Format

A DXGI_FORMAT-typed value for the format to return info about.

Support1

A combination of D3D12_FORMAT_SUPPORT1-typed values that are combined by using a bitwise OR operation. The resulting value specifies which resources are supported.

Support2

A combination of D3D12_FORMAT_SUPPORT2-typed values that are combined by using a bitwise OR operation. The resulting value specifies which unordered resource options are supported.

Remarks

Refer to Typed unordered access view loads for an example use of this structure.

Also see D3D12_FEATURE.

Hardware support for DXGI Formats

To view tables of DXGI formats and hardware features, refer to:

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures

D3D12_FEATURE

Typed unordered access view loads