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.
When using triangle strip primitive topology, vertex positions are interpreted as vertices of a continuous triangle “strip”. There is a special index value that represents the desire to have a discontinuity in the strip, the cut index value. This enum lists the supported cut values.
Syntax
typedef enum D3D12_INDEX_BUFFER_STRIP_CUT_VALUE {
D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED = 0,
D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFF = 1,
D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFFFFFF = 2
} ;
Constants
D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED Value: 0 Indicates that there is no cut value. |
D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFF Value: 1 Indicates that 0xFFFF should be used as the cut value. |
D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFFFFFF Value: 2 Indicates that 0xFFFFFFFF should be used as the cut value. |
Remarks
This enum is used by the D3D12_GRAPHICS_PIPELINE_STATE_DESC structure.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |