WebIDLpedia

GPUComputePipeline interface

Definition

WebGPU defines GPUComputePipeline

 // May represent WGSL's bool, f32, i32, u32, and f16 if enabled.

[Exposed=(Window, Worker), SecureContext]
interface GPUComputePipeline {
};
GPUComputePipeline includes GPUObjectBase;
GPUComputePipeline includes GPUPipelineBase;
Consolidated IDL (across mixin and partials)
 // May represent WGSL's bool, f32, i32, u32, and f16 if enabled.

[Exposed=(Window, Worker), SecureContext]
interface GPUComputePipeline {
    attribute USVString label;
    [NewObject] GPUBindGroupLayout getBindGroupLayout(unsigned long index);
};

Methods and attributes that return objects implementing GPUComputePipeline

Referring IDL interfaces/dictionaries