Describes a compute pipeline + its own bind group, the source type
GPUCompute is built from via build_compute. Fields are private —
start from Compute::new and chain the setters below rather than
constructing one as a struct literal.
A wgpu::ComputePipeline, opaque — built only via build_compute/
GPUCompute’s Asset::upload. Bind it against a
ComputePass via
ComputePass::set_pipeline;
there’s no way to reach the underlying wgpu::ComputePipeline from
outside this crate.
Registers the GPUCompute asset pipeline (Assets<Compute>
→ ProcessedAssets<GPUCompute>). Included by
WGPUPlugin; add directly only if you’re
assembling the wgpu module’s plugins by hand.