MAX_CUSTOM_SHAPE_INSTANCES

Constant MAX_CUSTOM_SHAPE_INSTANCES 

Source
pub const MAX_CUSTOM_SHAPE_INSTANCES: usize = 4_800;
Expand description

Hard cap on total instances buffered per frame. 4 shapes × 1024 MD2 max = 4 096; round up to 4 800 for headroom.