Syntax
typedef enum D3D12_GRAPHICS_STATES
{
D3D12_GRAPHICS_STATE_NONE = 0,
D3D12_GRAPHICS_STATE_IA_VERTEX_BUFFERS = 0,
D3D12_GRAPHICS_STATE_IA_INDEX_BUFFER = 0,
D3D12_GRAPHICS_STATE_IA_PRIMITIVE_TOPOLOGY = 0,
D3D12_GRAPHICS_STATE_DESCRIPTOR_HEAP = 0,
D3D12_GRAPHICS_STATE_GRAPHICS_ROOT_SIGNATURE = 0,
D3D12_GRAPHICS_STATE_COMPUTE_ROOT_SIGNATURE = 0,
D3D12_GRAPHICS_STATE_RS_VIEWPORTS = 0,
D3D12_GRAPHICS_STATE_RS_SCISSOR_RECTS = 0,
D3D12_GRAPHICS_STATE_PREDICATION = 0,
D3D12_GRAPHICS_STATE_OM_RENDER_TARGETS = 0,
D3D12_GRAPHICS_STATE_OM_STENCIL_REF = 0,
D3D12_GRAPHICS_STATE_OM_BLEND_FACTOR = 0,
D3D12_GRAPHICS_STATE_PIPELINE_STATE = 0,
D3D12_GRAPHICS_STATE_SO_TARGETS = 0,
D3D12_GRAPHICS_STATE_OM_DEPTH_BOUNDS = 0,
D3D12_GRAPHICS_STATE_SAMPLE_POSITIONS = 0,
D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK = 0
} D3D12_GRAPHICS_STATES
Constants
| Constant | Description |
|---|---|
| D3D12_GRAPHICS_STATE_NONE | Specifies no state. |
| D3D12_GRAPHICS_STATE_IA_VERTEX_BUFFERS | Specifies the state of the vertex buffer bindings on the input assembler stage. |
| D3D12_GRAPHICS_STATE_IA_INDEX_BUFFER | Specifies the state of the index buffer binding on the input assembler stage. |
| D3D12_GRAPHICS_STATE_IA_PRIMITIVE_TOPOLOGY | Specifies the state of the primitive topology value set on the input assembler stage. |
| D3D12_GRAPHICS_STATE_DESCRIPTOR_HEAP | Specifies the state of the currently bound descriptor heaps. |
| D3D12_GRAPHICS_STATE_GRAPHICS_ROOT_SIGNATURE | Specifies the state of the currently set graphics root signature. |
| D3D12_GRAPHICS_STATE_COMPUTE_ROOT_SIGNATURE | Specifies the state of the currently set compute root signature. |
| D3D12_GRAPHICS_STATE_RS_VIEWPORTS | Specifies the state of the viewports bound to the rasterizer stage. |
| D3D12_GRAPHICS_STATE_RS_SCISSOR_RECTS | Specifies the state of the scissor rectangles bound to the rasterizer stage. |
| D3D12_GRAPHICS_STATE_PREDICATION | Specifies the predicate state. |
| D3D12_GRAPHICS_STATE_OM_RENDER_TARGETS | Specifies the state of the render targets bound to the output merger stage. |
| D3D12_GRAPHICS_STATE_OM_STENCIL_REF | Specifies the state of the reference value for depth stencil tests set on the output merger stage. |
| D3D12_GRAPHICS_STATE_OM_BLEND_FACTOR | Specifies the state of the blend factor set on the output merger stage. |
| D3D12_GRAPHICS_STATE_PIPELINE_STATE | Specifies the state of the pipeline state object. |
| D3D12_GRAPHICS_STATE_SO_TARGETS | Specifies the state of the buffer views bound to the stream output stage. |
| D3D12_GRAPHICS_STATE_OM_DEPTH_BOUNDS | Specifies the state of the depth bounds set on the output merger stage. |
| D3D12_GRAPHICS_STATE_SAMPLE_POSITIONS | Specifies the state of the sample positions. |
| D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK | Specifies the state of the view instances mask. |
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
