pub struct WindyTexture {
pub mapping: Box<TextureMapping3D>,
}
Fields
mapping: Box<TextureMapping3D>
Implementations
sourceimpl WindyTexture
impl WindyTexture
pub fn new(mapping: Box<TextureMapping3D>) -> Self
Trait Implementations
sourceimpl<T> Texture<T> for WindyTexture where
T: From<Float>,
impl<T> Texture<T> for WindyTexture where
T: From<Float>,
fn evaluate(&self, si: &SurfaceInteraction<'_>) -> T
Auto Trait Implementations
impl RefUnwindSafe for WindyTexture
impl Send for WindyTexture
impl Sync for WindyTexture
impl Unpin for WindyTexture
impl UnwindSafe for WindyTexture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more