Data Fields | |
WGPUChainedStruct * | nextInChain |
WGPUPrimitiveTopology | topology |
WGPUIndexFormat | stripIndexFormat |
WGPUFrontFace | frontFace |
WGPUCullMode | cullMode |
WGPUBool | unclippedDepth |
Default values can be set using WGPU_PRIMITIVE_STATE_INIT as initializer.
WGPUChainedStruct* WGPUPrimitiveState::nextInChain |
WGPUPrimitiveTopology WGPUPrimitiveState::topology |
If set to WGPUPrimitiveTopology_Undefined, defaults to WGPUPrimitiveTopology_TriangleList.
The INIT
macro sets this to WGPUPrimitiveTopology_Undefined.
WGPUIndexFormat WGPUPrimitiveState::stripIndexFormat |
The INIT
macro sets this to (WGPUIndexFormat)0.
WGPUFrontFace WGPUPrimitiveState::frontFace |
If set to WGPUFrontFace_Undefined, defaults to WGPUFrontFace_CCW.
The INIT
macro sets this to WGPUFrontFace_Undefined.
WGPUCullMode WGPUPrimitiveState::cullMode |
If set to WGPUCullMode_Undefined, defaults to WGPUCullMode_None.
The INIT
macro sets this to WGPUCullMode_Undefined.