Creates a new RenderPassBuilder.
The GPUDevice to use for creating resources.
Creates a compute pipeline.
The compute shader module.
An array of textures to use in the pipeline.
The created GPUComputePipeline.
Creates a render pipeline.
The material to use for the pipeline.
The geometry to use for the pipeline.
An array of textures to use in the pipeline.
An array of prior render passes to include as textures.
The created GPURenderPipeline.
Creates a bind group layout and entries for a render pipeline.
The uniform buffer for the pipeline.
Optional
sampler: GPUSamplerAn optional GPUSampler to use. If not provided, a default sampler is created.
An array of GPUBindGroupEntry objects.
A builder class for creating render passes in WebGPU.