pub struct AdaptiveConfig {
pub high_res_threshold: f32,
pub cache_threshold: f32,
pub cache_max_age: u32,
pub refinement_samples: usize,
}Expand description
Adaptive evaluation configuration
Fields§
§high_res_threshold: f32Distance threshold for high-resolution evaluation
cache_threshold: f32Distance threshold for cached evaluation (beyond = skip)
cache_max_age: u32Maximum age (frames) before cache entry expires
refinement_samples: usizeReserved: not read. The high-res normal refinement uses a fixed six-sample central difference (step 0.0005); this field is kept for compatibility and has no effect.
Trait Implementations§
Source§impl Clone for AdaptiveConfig
impl Clone for AdaptiveConfig
impl Copy for AdaptiveConfig
Source§impl Debug for AdaptiveConfig
impl Debug for AdaptiveConfig
Source§impl Default for AdaptiveConfig
impl Default for AdaptiveConfig
Source§impl PartialEq for AdaptiveConfig
impl PartialEq for AdaptiveConfig
impl StructuralPartialEq for AdaptiveConfig
Auto Trait Implementations§
impl Freeze for AdaptiveConfig
impl RefUnwindSafe for AdaptiveConfig
impl Send for AdaptiveConfig
impl Sync for AdaptiveConfig
impl Unpin for AdaptiveConfig
impl UnsafeUnpin for AdaptiveConfig
impl UnwindSafe for AdaptiveConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more