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

# D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER

> Specifies the level of support for programmable sample positions that's offered by the adapter.

Specifies the level of support for programmable sample positions that's offered by the adapter.

## Syntax

```cpp theme={null}
typedef enum D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER
{
    D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_NOT_SUPPORTED = 0,
    D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_1 = 1,
    D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_2 = 2
} D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER
```

## Constants

| Constant                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| D3D12\_PROGRAMMABLE\_SAMPLE\_POSITIONS\_TIER\_NOT\_SUPPORTED | Indicates that there's no support for programmable sample positions.                                                                                                                                                                                                                                                                                                                                                             |
| D3D12\_PROGRAMMABLE\_SAMPLE\_POSITIONS\_TIER\_1              | Indicates that there's tier 1 support for programmable sample positions. In tier 1, a single sample pattern can be specified to repeat for every pixel ([SetSamplePosition](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist1/methods/id3d12graphicscommandlist1_setsamplepositions_public) parameter <i>NumPixels</i> = 1) and ResolveSubResource is supported.                                                   |
| D3D12\_PROGRAMMABLE\_SAMPLE\_POSITIONS\_TIER\_2              | Indicates that there's tier 2 support for programmable sample positions. In tier 2, four separate sample patterns can be specified for each pixel in a 2x2 grid ([SetSamplePosition](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist1/methods/id3d12graphicscommandlist1_setsamplepositions_public) parameter <i>NumPixels</i> = 1) that repeats over the render-target or viewport, aligned on even coordinates. |

## Remarks

This enum is used by the [D3D12\_FEATURE\_D3D12\_DATA\_OPTIONS2](/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options2_public) structure to indicate the level of support offered for programmable sample positions.

## 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)


## Related topics

- [D3D12_FEATURE_DATA_D3D12_OPTIONS2](/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options2_public.md)
- [D3D12_SAMPLE_POSITION](/reference/graphics/d3d12/structs/d3d12_sample_position_public.md)
- [D3D12_RAYTRACING_TIER](/reference/graphics/d3d12/enums/d3d12_raytracing_tier_public.md)
- [D3D12_RESOURCE_BINDING_TIER](/reference/graphics/d3d12/enums/d3d12_resource_binding_tier_public.md)
- [D3D12_CONSERVATIVE_RASTERIZATION_TIER](/reference/graphics/d3d12/enums/d3d12_conservative_rasterization_tier_public.md)
