Skip to main content

MESH_GROUP

Constant MESH_GROUP 

Source
pub const MESH_GROUP: u32 = 2;
Expand description

Bind-group index of the mesh group.

The built-in lit variants bind nothing here: every input they read is in the global group or on the instance stream. The index stays a general extension point, so a caller’s own pipeline can bind per-mesh data — a tint, a transform palette, a material parameter — and crate::scene::DrawEntry will bind it.