Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

D3D12_GRAPHICS_STATES enumeration (d3d12.h)

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_NONE
Value: 0
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

Requirement Value
Header d3d12.h

Feedback

Was this page helpful?

Additional resources