Skip to main content

MORPH_DELTAS_BINDING

Constant MORPH_DELTAS_BINDING 

Source
pub const MORPH_DELTAS_BINDING: u32 = 6;
Expand description

Binding slot of the frame’s morph position displacements in the global bind group.

A mesh’s displacements are its own geometry, but one array holds them for the whole frame and the mesh names its slice through the morph_deltas_offset of its MeshMetadata entry. Pooling them here rather than in a per-mesh buffer is what lets a draw bind no mesh group.