WebGPU Headers: WGPUDepthStencilState Struct Reference
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.
◆ nextInChain
◆ format
◆ depthWriteEnabled
◆ depthCompare
◆ stencilFront
◆ stencilBack
◆ stencilReadMask
uint32_t WGPUDepthStencilState::stencilReadMask
◆ stencilWriteMask
uint32_t WGPUDepthStencilState::stencilWriteMask
◆ depthBias
int32_t WGPUDepthStencilState::depthBias
◆ depthBiasSlopeScale
float WGPUDepthStencilState::depthBiasSlopeScale
◆ depthBiasClamp
float WGPUDepthStencilState::depthBiasClamp