D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER enumeration (d3d12.h)
Specifies the level of support for programmable sample positions that's offered by the adapter.
Syntax
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
} ;
Constants
D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_NOT_SUPPORTED Value: 0 Indicates that there's no support for programmable sample positions. |
D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_1 Value: 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 parameter NumPixels = 1) and ResolveSubResource is supported. |
D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_2 Value: 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 parameter NumPixels = 4) that repeats over the render-target or viewport, aligned on even coordinates . |
Remarks
This enum is used by the D3D12_FEATURE_D3D12_DATA_OPTIONS2 structure to indicate the level of support offered for programmable sample positions.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |