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;
}
depthBias?: number;
depthBiasClamp?: number;
depthBiasSlopeScale?: number;
depthCompare?: GPUCompareFunction;
depthWriteEnabled?: boolean;
format: GPUTextureFormat;
stencilBack?: GPUStencilFaceState;
stencilFront?: GPUStencilFaceState;
stencilReadMask?: number;
stencilWriteMask?: number;
}
Properties
OptionaldepthBias
depthBias?: number
OptionaldepthBiasClamp
depthBiasClamp?: number
OptionaldepthBiasSlopeScale
depthBiasSlopeScale?: number
OptionaldepthCompare
OptionaldepthWriteEnabled
depthWriteEnabled?: boolean
format
OptionalstencilBack
OptionalstencilFront
OptionalstencilReadMask
stencilReadMask?: number
OptionalstencilWriteMask
stencilWriteMask?: number