pub enum ProbeMipPolicy {
Fixed(f32),
LinearRoughness {
minimum: f32,
maximum: f32,
},
}Expand description
How surface roughness selects the mip of a stored reflection cube. LODs refer to the cube’s stored mip chain; synthesizing a different chain is a separate render-graph operation.
Variants§
Fixed(f32)
Sample this LOD independently of roughness.
LinearRoughness
Map perceptual roughness in [0,1] linearly onto this inclusive LOD interval.
Trait Implementations§
Source§impl Clone for ProbeMipPolicy
impl Clone for ProbeMipPolicy
impl Copy for ProbeMipPolicy
Source§impl Debug for ProbeMipPolicy
impl Debug for ProbeMipPolicy
Source§impl PartialEq for ProbeMipPolicy
impl PartialEq for ProbeMipPolicy
Source§impl Serialize for ProbeMipPolicy
impl Serialize for ProbeMipPolicy
impl StructuralPartialEq for ProbeMipPolicy
Auto Trait Implementations§
impl Forget for ProbeMipPolicy
impl Freeze for ProbeMipPolicy
impl RefUnwindSafe for ProbeMipPolicy
impl Send for ProbeMipPolicy
impl Sync for ProbeMipPolicy
impl Unpin for ProbeMipPolicy
impl UnsafeUnpin for ProbeMipPolicy
impl UnwindSafe for ProbeMipPolicy
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