pub enum ScalarMapResolution {
Fixed {
subdivisions_per_edge: usize,
},
Adaptive {
max_depth: u8,
},
}Expand description
Resolution of the flat-colour microtriangle approximation.
Adaptive currently means a deterministic uniform refinement selected by its maximum depth; it does not inspect colours per triangle. This keeps output bounded and backend-independent until a true adaptive policy is introduced.
Variants§
Trait Implementations§
Source§impl Clone for ScalarMapResolution
impl Clone for ScalarMapResolution
impl Copy for ScalarMapResolution
Source§impl Debug for ScalarMapResolution
impl Debug for ScalarMapResolution
Source§impl Default for ScalarMapResolution
impl Default for ScalarMapResolution
impl Eq for ScalarMapResolution
Source§impl PartialEq for ScalarMapResolution
impl PartialEq for ScalarMapResolution
impl StructuralPartialEq for ScalarMapResolution
Auto Trait Implementations§
impl Freeze for ScalarMapResolution
impl RefUnwindSafe for ScalarMapResolution
impl Send for ScalarMapResolution
impl Sync for ScalarMapResolution
impl Unpin for ScalarMapResolution
impl UnsafeUnpin for ScalarMapResolution
impl UnwindSafe for ScalarMapResolution
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more