Skip to main content

MAX_PENDING

Constant MAX_PENDING 

Source
pub const MAX_PENDING: usize = 2; // 2usize
Expand description

How many readbacks the high-level Denoiser keeps in flight at once.

This has to match the backend’s output-handle count, which is two. Going past it would reuse the oldest pending frame’s output handle and quietly corrupt the results.