Data Fields | |
WGPUChainedStruct const * | nextInChain |
WGPUTextureFormat | format |
WGPUOptionalBool | depthWriteEnabled |
WGPUCompareFunction | depthCompare |
WGPUStencilFaceState | stencilFront |
WGPUStencilFaceState | stencilBack |
uint32_t | stencilReadMask |
uint32_t | stencilWriteMask |
int32_t | depthBias |
float | depthBiasSlopeScale |
float | depthBiasClamp |
Default values can be set using WGPU_DEPTH_STENCIL_STATE_INIT as initializer.
WGPUChainedStruct const* WGPUDepthStencilState::nextInChain |
WGPUTextureFormat WGPUDepthStencilState::format |
Defaults to WGPUTextureFormat_Undefined.
WGPUOptionalBool WGPUDepthStencilState::depthWriteEnabled |
WGPUCompareFunction WGPUDepthStencilState::depthCompare |
Defaults to (WGPUCompareFunction)0.
WGPUStencilFaceState WGPUDepthStencilState::stencilFront |
Defaults to WGPU_STENCIL_FACE_STATE_INIT.
WGPUStencilFaceState WGPUDepthStencilState::stencilBack |
Defaults to WGPU_STENCIL_FACE_STATE_INIT.
uint32_t WGPUDepthStencilState::stencilReadMask |
uint32_t WGPUDepthStencilState::stencilWriteMask |
float WGPUDepthStencilState::depthBiasSlopeScale |