Skip to main content

MAX_PASS_TIMINGS

Constant MAX_PASS_TIMINGS 

Source
pub const MAX_PASS_TIMINGS: usize = 32; // 32usize
Expand description

Maximum number of per-pass GPU timings tracked by RenderStats. Must be at least the client render graph’s PassId count (PASS_COUNT), which the per-pass timing loop iterates; sized with headroom so unused slots carry the "" sentinel name and a zero microsecond reading.