MAX_CUSTOM_WAVE_VERTICES

Constant MAX_CUSTOM_WAVE_VERTICES 

Source
pub const MAX_CUSTOM_WAVE_VERTICES: usize = 16_384;
Expand description

Maximum total custom-wave vertices we’ll buffer in a frame. Four waves × 512 samples × (2 lines = 6 verts/segment, dots = 6 verts/point) ≈ 12 288. Round up to 16 384 to leave headroom for the next-sprint custom-shape pass, which will reuse this buffer layout.