GPUDepthStencilState constructor
GPUDepthStencilState({
- required GPUTextureFormat format,
- bool depthWriteEnabled,
- GPUCompareFunction depthCompare,
- GPUStencilFaceState stencilFront,
- GPUStencilFaceState stencilBack,
- GPUStencilValue stencilReadMask,
- GPUStencilValue stencilWriteMask,
- GPUDepthBias depthBias,
- num depthBiasSlopeScale,
- num depthBiasClamp,
Implementation
external factory GPUDepthStencilState({
required GPUTextureFormat format,
bool depthWriteEnabled,
GPUCompareFunction depthCompare,
GPUStencilFaceState stencilFront,
GPUStencilFaceState stencilBack,
GPUStencilValue stencilReadMask,
GPUStencilValue stencilWriteMask,
GPUDepthBias depthBias,
num depthBiasSlopeScale,
num depthBiasClamp,
});