pub fn select_lod(mode: OperationalMode, level_count: usize) -> usizeExpand description
Select the appropriate LOD index for a given OperationalMode.
Full→ LOD 0 (full resolution)Eco→ LOD 1 (half resolution, or the coarsest available if < 2 levels)Reserve→ LOD 2 (quarter resolution, or the coarsest available if < 3 levels)
Returns the LOD index clamped to [0, level_count-1].