Optional depthThe depth bias aka polygonOffsetUnits. Defaults to 0.
Optional depthThe depth bias clamp value. Defaults to 0.
Optional depthThe depth bias slope scale aka polygonOffsetFactor. Defaults to 0.
Optional depthDepth-compare function. Defaults to Always
Optional depthDepth-writes enabled? Defaults to false
Optional formatThe depth-stencil format. Defaults to Depth16
Optional stencilStencil back face state.
Optional stencilStencil front face state.
Optional stencilStencil read mask. Defaults to 0xFFFFFFFF
Optional stencilStencil write mask. Defaults to 0xFFFFFFFF
Generated using TypeDoc
Descriptor of the depth stencil state.
See
https://www.w3.org/TR/webgpu/#depth-stencil-state