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:- DXGI Format Support for Direct3D Feature Level 12.1 Hardware
- DXGI Format Support for Direct3D Feature Level 12.0 Hardware
- DXGI Format Support for Direct3D Feature Level 11.1 Hardware
- DXGI Format Support for Direct3D Feature Level 11.0 Hardware
- Hardware Support for Direct3D 10Level9 Formats
- Hardware Support for Direct3D 10.1 Formats
- Hardware Support for Direct3D 10 Formats
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |