Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines flags that specify states related to a graphics command list. Values can be bitwise OR'd together.
Syntax
typedef enum D3D12_GRAPHICS_STATES {
D3D12_GRAPHICS_STATE_NONE = 0,
D3D12_GRAPHICS_STATE_IA_VERTEX_BUFFERS,
D3D12_GRAPHICS_STATE_IA_INDEX_BUFFER,
D3D12_GRAPHICS_STATE_IA_PRIMITIVE_TOPOLOGY,
D3D12_GRAPHICS_STATE_DESCRIPTOR_HEAP,
D3D12_GRAPHICS_STATE_GRAPHICS_ROOT_SIGNATURE,
D3D12_GRAPHICS_STATE_COMPUTE_ROOT_SIGNATURE,
D3D12_GRAPHICS_STATE_RS_VIEWPORTS,
D3D12_GRAPHICS_STATE_RS_SCISSOR_RECTS,
D3D12_GRAPHICS_STATE_PREDICATION,
D3D12_GRAPHICS_STATE_OM_RENDER_TARGETS,
D3D12_GRAPHICS_STATE_OM_STENCIL_REF,
D3D12_GRAPHICS_STATE_OM_BLEND_FACTOR,
D3D12_GRAPHICS_STATE_PIPELINE_STATE,
D3D12_GRAPHICS_STATE_SO_TARGETS,
D3D12_GRAPHICS_STATE_OM_DEPTH_BOUNDS,
D3D12_GRAPHICS_STATE_SAMPLE_POSITIONS,
D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK
} ;
Constants
D3D12_GRAPHICS_STATE_NONEValue: 0 Specifies no state. |
D3D12_GRAPHICS_STATE_IA_VERTEX_BUFFERSSpecifies the state of the vertex buffer bindings on the input assembler stage. |
D3D12_GRAPHICS_STATE_IA_INDEX_BUFFERSpecifies the state of the index buffer binding on the input assembler stage. |
D3D12_GRAPHICS_STATE_IA_PRIMITIVE_TOPOLOGYSpecifies the state of the primitive topology value set on the input assembler stage. |
D3D12_GRAPHICS_STATE_DESCRIPTOR_HEAPSpecifies the state of the currently bound descriptor heaps. |
D3D12_GRAPHICS_STATE_GRAPHICS_ROOT_SIGNATURESpecifies the state of the currently set graphics root signature. |
D3D12_GRAPHICS_STATE_COMPUTE_ROOT_SIGNATURESpecifies the state of the currently set compute root signature. |
D3D12_GRAPHICS_STATE_RS_VIEWPORTSSpecifies the state of the viewports bound to the rasterizer stage. |
D3D12_GRAPHICS_STATE_RS_SCISSOR_RECTSSpecifies the state of the scissor rectangles bound to the rasterizer stage. |
D3D12_GRAPHICS_STATE_PREDICATIONSpecifies the predicate state. |
D3D12_GRAPHICS_STATE_OM_RENDER_TARGETSSpecifies the state of the render targets bound to the output merger stage. |
D3D12_GRAPHICS_STATE_OM_STENCIL_REFSpecifies the state of the reference value for depth stencil tests set on the output merger stage. |
D3D12_GRAPHICS_STATE_OM_BLEND_FACTORSpecifies the state of the blend factor set on the output merger stage. |
D3D12_GRAPHICS_STATE_PIPELINE_STATESpecifies the state of the pipeline state object. |
D3D12_GRAPHICS_STATE_SO_TARGETSSpecifies the state of the buffer views bound to the stream output stage. |
D3D12_GRAPHICS_STATE_OM_DEPTH_BOUNDSSpecifies the state of the depth bounds set on the output merger stage. |
D3D12_GRAPHICS_STATE_SAMPLE_POSITIONSSpecifies the state of the sample positions. |
D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASKSpecifies the state of the view instances mask. |
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12.h |