Skip to main content

particle_pipeline

Function particle_pipeline 

Source
fn particle_pipeline(
    device: &Device,
    material: &BindGroupLayout,
) -> RenderPipelineDesc
Expand description

Compile the particle family’s pipeline.

Slot 0 is left empty — the mesh has no vertex buffer — and slot 1 is the family’s own instance stream. Group 0 is the renderer’s shared global group and group 1 is the family’s uniform block.