pub struct WindLayers {
pub direction: WindLayer,
pub intensity: WindLayer,
}Expand description
The two layers grass_gen.slang samples the wind through.
Fields§
§direction: WindLayerThe coarse direction layer: a deflection per texel in red and green.
intensity: WindLayerThe fine intensity layer: a speed multiplier per texel in red.
Trait Implementations§
Source§impl Clone for WindLayers
impl Clone for WindLayers
Source§impl Debug for WindLayers
impl Debug for WindLayers
impl Eq for WindLayers
Source§impl PartialEq for WindLayers
impl PartialEq for WindLayers
impl StructuralPartialEq for WindLayers
Auto Trait Implementations§
impl Forget for WindLayers
impl Freeze for WindLayers
impl Move for WindLayers
impl RefUnwindSafe for WindLayers
impl Send for WindLayers
impl Sync for WindLayers
impl Unpin for WindLayers
impl UnsafeUnpin for WindLayers
impl UnwindSafe for WindLayers
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