Syntax
typedef enum D3D12_FORMAT_SUPPORT1
{
D3D12_FORMAT_SUPPORT1_NONE = 0,
D3D12_FORMAT_SUPPORT1_BUFFER = 1,
D3D12_FORMAT_SUPPORT1_IA_VERTEX_BUFFER = 2,
D3D12_FORMAT_SUPPORT1_IA_INDEX_BUFFER = 4,
D3D12_FORMAT_SUPPORT1_SO_BUFFER = 8,
D3D12_FORMAT_SUPPORT1_TEXTURE1D = 16,
D3D12_FORMAT_SUPPORT1_TEXTURE2D = 32,
D3D12_FORMAT_SUPPORT1_TEXTURE3D = 64,
D3D12_FORMAT_SUPPORT1_TEXTURECUBE = 128,
D3D12_FORMAT_SUPPORT1_SHADER_LOAD = 256,
D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE = 512,
D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE_COMPARISON = 1024,
D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE_MONO_TEXT = 2048,
D3D12_FORMAT_SUPPORT1_MIP = 4096,
D3D12_FORMAT_SUPPORT1_RENDER_TARGET = 16384,
D3D12_FORMAT_SUPPORT1_BLENDABLE = 32768,
D3D12_FORMAT_SUPPORT1_DEPTH_STENCIL = 65536,
D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RESOLVE = 262144,
D3D12_FORMAT_SUPPORT1_DISPLAY = 524288,
D3D12_FORMAT_SUPPORT1_CAST_WITHIN_BIT_LAYOUT = 1048576,
D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RENDERTARGET = 2097152,
D3D12_FORMAT_SUPPORT1_MULTISAMPLE_LOAD = 4194304,
D3D12_FORMAT_SUPPORT1_SHADER_GATHER = 8388608,
D3D12_FORMAT_SUPPORT1_BACK_BUFFER_CAST = 16777216,
D3D12_FORMAT_SUPPORT1_TYPED_UNORDERED_ACCESS_VIEW = 33554432,
D3D12_FORMAT_SUPPORT1_SHADER_GATHER_COMPARISON = 67108864,
D3D12_FORMAT_SUPPORT1_DECODER_OUTPUT = 134217728,
D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_OUTPUT = 268435456,
D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT = 536870912,
D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER = 1073741824
} D3D12_FORMAT_SUPPORT1
Constants
| Constant | Description |
|---|---|
| D3D12_FORMAT_SUPPORT1_NONE | No resources are supported. |
| D3D12_FORMAT_SUPPORT1_BUFFER | Buffer resources supported. |
| D3D12_FORMAT_SUPPORT1_IA_VERTEX_BUFFER | Vertex buffers supported. |
| D3D12_FORMAT_SUPPORT1_IA_INDEX_BUFFER | Index buffers supported. |
| D3D12_FORMAT_SUPPORT1_SO_BUFFER | Streaming output buffers supported. |
| D3D12_FORMAT_SUPPORT1_TEXTURE1D | 1D texture resources supported. |
| D3D12_FORMAT_SUPPORT1_TEXTURE2D | 2D texture resources supported. |
| D3D12_FORMAT_SUPPORT1_TEXTURE3D | 3D texture resources supported. |
| D3D12_FORMAT_SUPPORT1_TEXTURECUBE | Cube texture resources supported. |
| D3D12_FORMAT_SUPPORT1_SHADER_LOAD | The HLSL Load function for texture objects is supported. |
| D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE | The HLSL Sample function for texture objects is supported. Note If the device supports the format as a resource (1D, 2D, 3D, or cube map) but doesn’t support this option, the resource can still use the Sample method but must use only the point filtering sampler state to perform the sample. |
| D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE_COMPARISON | The HLSL SampleCmp and SampleCmpLevelZero functions for texture objects are supported. Note Windows 8 and later might provide limited support for these functions on Direct3D feature levels 9_1, 9_2, and 9_3. |
| D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE_MONO_TEXT | Reserved. |
| D3D12_FORMAT_SUPPORT1_MIP | Mipmaps are supported. |
| D3D12_FORMAT_SUPPORT1_RENDER_TARGET | Render targets are supported. |
| D3D12_FORMAT_SUPPORT1_BLENDABLE | Blend operations supported. |
| D3D12_FORMAT_SUPPORT1_DEPTH_STENCIL | Depth stencils supported. |
| D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RESOLVE | Multisample antialiasing (MSAA) resolve operations are supported. For more info, see ID3D12GraphicsCommandList::ResolveSubresource. |
| D3D12_FORMAT_SUPPORT1_DISPLAY | Format can be displayed on screen. |
| D3D12_FORMAT_SUPPORT1_CAST_WITHIN_BIT_LAYOUT | Format can’t be cast to another format. |
| D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RENDERTARGET | Format can be used as a multi-sampled render target. |
| D3D12_FORMAT_SUPPORT1_MULTISAMPLE_LOAD | Format can be used as a multi-sampled texture and read into a shader with the HLSL Load function. |
| D3D12_FORMAT_SUPPORT1_SHADER_GATHER | Format can be used with the HLSL gather function. This value is available in DirectX 10.1 or higher. |
| D3D12_FORMAT_SUPPORT1_BACK_BUFFER_CAST | Format supports casting when the resource is a back buffer. |
| D3D12_FORMAT_SUPPORT1_TYPED_UNORDERED_ACCESS_VIEW | Format can be used for an unordered access view. |
| D3D12_FORMAT_SUPPORT1_SHADER_GATHER_COMPARISON | Format can be used with the HLSL gather with comparison function. |
| D3D12_FORMAT_SUPPORT1_DECODER_OUTPUT | Format can be used with the decoder output. |
| D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_OUTPUT | Format can be used with the video processor output. |
| D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT | Format can be used with the video processor input. |
| D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER | Format can be used with the video encoder. |
Remarks
This enum is used by the D3D12_FEATURE_DATA_FORMAT_SUPPORT structure.Requirements
Header: d3d12_xs.h or d3d12_x.hLibrary: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
