> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_FORMAT_SUPPORT1

> Specifies resources that are supported for a provided format.

Specifies resources that are supported for a provided format.

## Syntax

```cpp theme={null}
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](https://learn.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-to-load) function for texture objects is supported. |
| D3D12\_FORMAT\_SUPPORT1\_SHADER\_SAMPLE | The HLSL [Sample](https://learn.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-to-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](https://learn.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-to-sample) method but must use only the point filtering sampler state to perform the sample.   |
| D3D12\_FORMAT\_SUPPORT1\_SHADER\_SAMPLE\_COMPARISON | The HLSL [SampleCmp](https://learn.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-to-samplecmp) and [SampleCmpLevelZero](https://learn.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-to-samplecmplevelzero) functions for texture objects are supported.  **Note**  Windows 8 and later might provide limited support for these functions on Direct3D [feature levels](https://learn.microsoft.com/en-us/windows/desktop/direct3d11/overviews-direct3d-11-devices-downlevel-intro) 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](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_resolvesubresource_public.md). |
| 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](https://learn.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-to-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](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_feature_data_format_support_public.md) structure.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Enumerations](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)

[D3D12\_HEAP\_FLAGS](https://docs.xbox.com/reference/graphics/d3d12_x/enums/d3d12_heap_flags.md)


## Related topics

- [D3D12_FEATURE_DATA_FORMAT_SUPPORT](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_feature_data_format_support_public.md)
- [D3D12_FORMAT_SUPPORT2](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_format_support2_public.md)
- [D3D12_RT_FORMAT_ARRAY](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_rt_format_array_public.md)
- [D3D12_FEATURE_DATA_FORMAT_INFO](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_feature_data_format_info_public.md)
- [D3D12_CLEAR_VALUE](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_clear_value_public.md)
