Skip to main content

Module render_pass

Module render_pass 

Source

Structs§

DrawIndexedIndirectArgs
The argument layout RenderPass::draw_indexed_indirect expects — mirrors wgpu::DrawIndexedIndirectArgs field-for-field. See DrawIndirectArgs.
DrawIndirectArgs
The argument layout RenderPass::draw_indirect expects at indirect_offset in the indirect buffer — mirrors wgpu::DrawIndirectArgs field-for-field, so writing one via as_bytes into a buffer built with BufferUsages::INDIRECT produces the exact same bytes wgpu itself would.
RenderPass
A render pass, opaque — the value ActiveFrame::begin_pass/ render_context hands back for WGPUBackend. There’s no way to reach the underlying wgpu::RenderPass from outside this crate — every draw-time operation is a method here instead.

Enums§

IndexFormat
Index buffer element width — mirrors wgpu::IndexFormat (which has exactly these two variants).