WebGPU.rocks Logo

GPUComputePipelineDescriptor

  • label: USVString
  • layout: GPUPipelineLayout | GPUAutoLayoutModerequired

    GPUPipelineLayout

    • label: USVString

    GPUAutoLayoutMode

    'auto'
  • compute: GPUProgrammableStagerequired

    GPUProgrammableStage

    • module: GPUShaderModulerequired
    • entryPoint: USVStringrequired
    • constants: record<USVString, GPUPipelineConstantValue>

    GPUPipelineConstantValue

    typedef GPUPipelineConstantValue = double