wgpu-native.WGPUComputePipeline
export interface WGPUComputePipeline {
/**
* Opaque native handle to this compute pipeline.
*/
readonly handle: ComputePipelineHandle;
/**
* Get the bind group layout at the specified index.
*
* @param index - Bind group layout index
* @returns The bind group layout
*/
getBindGroupLayout(index: number): WGPUBindGroupLayout;
}- readonly
handle(ComputePipelineHandle) - – Opaque native handle to this compute pipeline.
getBindGroupLayout((index: number) => WGPUBindGroupLayout)- – Get the bind group layout at the specified index.
Compute pipeline.
Combines a compute shader with a resource layout, ready for dispatch.