WebGPU.rocks Logo

GPURenderPassDepthStencilAttachment

  • view: GPUTextureViewrequired

    GPUTextureView

    • label: USVString
  • depthClearValue: float
  • depthLoadOp: GPULoadOp

    GPULoadOp

    'load', 'clear'
  • depthStoreOp: GPUStoreOp

    GPUStoreOp

    'store', 'discard'
  • depthReadOnly: boolean= 'false'
  • stencilClearValue: GPUStencilValue= 0

    GPUStencilValue

    typedef GPUStencilValue = unsigned long
  • stencilLoadOp: GPULoadOp

    GPULoadOp

    'load', 'clear'
  • stencilStoreOp: GPUStoreOp

    GPUStoreOp

    'store', 'discard'
  • stencilReadOnly: boolean= 'false'