Skip to main content

GPUDepthStencilState

Properties

depthBias?

optional depthBias?: number;

depthBiasClamp?

optional depthBiasClamp?: number;

depthBiasSlopeScale?

optional depthBiasSlopeScale?: number;

depthCompare?

optional depthCompare?: GPUCompareFunction;

depthWriteEnabled?

optional depthWriteEnabled?: boolean;

format

format: GPUTextureFormat;

stencilBack?

optional stencilBack?: GPUStencilFaceState;

stencilFront?

optional stencilFront?: GPUStencilFaceState;

stencilReadMask?

optional stencilReadMask?: number;

stencilWriteMask?

optional stencilWriteMask?: number;