GPURenderPassColorAttachment

  • view: GPUTextureViewrequired

    GPUTextureView

    • label: USVString
  • resolveTarget: GPUTextureView

    GPUTextureView

    • label: USVString
  • clearValue: GPUColor

    GPUColor

    typedef GPUColor = sequence<double> | GPUColorDict

    GPUColorDict

    • r: doublerequired
    • g: doublerequired
    • b: doublerequired
    • a: doublerequired
  • loadOp: GPULoadOprequired

    GPULoadOp

    'load', 'clear'
  • storeOp: GPUStoreOprequired

    GPUStoreOp

    'store', 'discard'