Skip to main content

Module compute_pass

Module compute_pass 

Source

Structs§

CommandEncoder
A command encoder, opaque — built only via WGPUBackend::create_command_encoder. Its only job is starting a ComputePass; submit it when done via WGPUBackend::submit. Render passes don’t need this — ActiveFrame::begin_pass manages its own frame-tied encoder internally.
ComputePass
A compute pass, opaque — the value CommandEncoder::compute_pass/ WGPUFrame::compute_pass hand back. There’s no way to reach the underlying wgpu::ComputePass from outside this crate.
DispatchIndirectArgs
The argument layout ComputePass::dispatch_workgroups_indirect expects — mirrors wgpu::DispatchIndirectArgs field-for-field. See DrawIndirectArgs.