Skip to main content

effective_mip

Function effective_mip 

Source
pub fn effective_mip(grid: &GridView<'_>, requested: u32) -> u32
Expand description

Clamp a requested render mip to one every populated chunk actually has built — so the uniform-mip traversal never under-samples a chunk that lacks the requested level (which would punch holes). 0 short- circuits (always available).