GPUDepthStencilState constructor

GPUDepthStencilState({
  1. required GPUTextureFormat format,
  2. bool depthWriteEnabled,
  3. GPUCompareFunction depthCompare,
  4. GPUStencilFaceState stencilFront,
  5. GPUStencilFaceState stencilBack,
  6. GPUStencilValue stencilReadMask,
  7. GPUStencilValue stencilWriteMask,
  8. GPUDepthBias depthBias,
  9. num depthBiasSlopeScale,
  10. 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,
});