Skip to main content

RING_FRAMES

Constant RING_FRAMES 

Source
pub const RING_FRAMES: usize = 4;
Expand description

How many frames-in-flight the ring keeps independent slots for.

Four is the depth a triple-buffered swapchain plus one in-flight submit can reach, so a slot’s map has always completed by the time the ring returns to it — nothing on the frame path ever waits on a map.