Data Fields | |
| WGPUChainedStruct * | 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* WGPUDepthStencilState::nextInChain |
| WGPUTextureFormat WGPUDepthStencilState::format |
The INIT macro sets this to WGPUTextureFormat_Undefined.
| WGPUOptionalBool WGPUDepthStencilState::depthWriteEnabled |
The INIT macro sets this to WGPUOptionalBool_Undefined.
| WGPUCompareFunction WGPUDepthStencilState::depthCompare |
The INIT macro sets this to WGPUCompareFunction_Undefined.
| WGPUStencilFaceState WGPUDepthStencilState::stencilFront |
The INIT macro sets this to WGPU_STENCIL_FACE_STATE_INIT.
| WGPUStencilFaceState WGPUDepthStencilState::stencilBack |
The INIT macro sets this to WGPU_STENCIL_FACE_STATE_INIT.
| uint32_t WGPUDepthStencilState::stencilReadMask |
| uint32_t WGPUDepthStencilState::stencilWriteMask |
| int32_t WGPUDepthStencilState::depthBias |
| float WGPUDepthStencilState::depthBiasSlopeScale |
| float WGPUDepthStencilState::depthBiasClamp |