For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface GPUDepthStencilState

interface GPUDepthStencilState {
    depthBias?: number;
    depthBiasClamp?: number;
    depthBiasSlopeScale?: number;
    depthCompare?: GPUCompareFunction;
    depthWriteEnabled?: boolean;
    format: GPUTextureFormat;
    stencilBack?: GPUStencilFaceState;
    stencilFront?: GPUStencilFaceState;
    stencilReadMask?: number;
    stencilWriteMask?: number;
}
Index
depthBias?: number
depthBiasClamp?: number
depthBiasSlopeScale?: number
depthCompare?: GPUCompareFunction
depthWriteEnabled?: boolean
stencilBack?: GPUStencilFaceState
stencilFront?: GPUStencilFaceState
stencilReadMask?: number
stencilWriteMask?: number
Was this helpful?