Skip to main content

MAX_DIM

Constant MAX_DIM 

Source
pub const MAX_DIM: u32 = 4096;
Expand description

Largest backing-texture dimension we allocate, in physical pixels. A guard against a degenerate layout asking for an enormous buffer.