pub struct Paper {
pub texture: Arc<ImageAsset>,
pub grain_scale: f64,
pub absorbency: f64,
}Expand description
Repeating immutable paper height map sampled in local design coordinates.
Fields§
§texture: Arc<ImageAsset>Already resolved image; no implicit file loading during rendering.
grain_scale: f64Local design units per texel.
absorbency: f64Coverage attenuation by the paper height, in 0..=1.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Paper
impl Freeze for Paper
impl RefUnwindSafe for Paper
impl Send for Paper
impl Sync for Paper
impl Unpin for Paper
impl UnsafeUnpin for Paper
impl UnwindSafe for Paper
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