Structs§
- Compute
- Describes a compute pipeline + its own bind group, the source type
GPUComputeis built from viabuild_compute. Fields are private — the only way to construct one isComputeBuilder:ComputeBuilder::new(shader_source).build(). - Compute
Builder - Builds a
Compute. Start fromnew, chain the setters below, then finish withbuild/build_asset. - Compute
Pipeline - A
wgpu::ComputePipeline, opaque — built only viabuild_compute/GPUCompute’sAsset::upload. Bind it against aComputePassviaComputePass::set_pipeline; there’s no way to reach the underlyingwgpu::ComputePipelinefrom outside this crate. - Compute
Plugin - Registers the
Computeasset pipeline. Included byWGPUPlugin; add directly only if you’re assembling thewgpumodule’s plugins by hand. - GPUCompute
- A compute pass uploaded to the GPU: a compute pipeline plus the bind group layout entries it expects.
Functions§
- build_
compute - Builds a compute pipeline and its own bind group layout from
desc.