GPUShaderModule

  • GPUDevice.createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule

    GPUShaderModuleDescriptor

    • label: USVString
    • code: USVStringrequired
    • sourceMap: object
    • hints: record<USVString, GPUShaderModuleCompilationHint>

    GPUShaderModuleCompilationHint

    GPUPipelineLayout

    • label: USVString

    GPUAutoLayoutMode

    'auto'