Struct rs_pbrt::textures::windy::WindyTexture
source · pub struct WindyTexture {
pub mapping: Box<TextureMapping3D>,
}
Fields§
§mapping: Box<TextureMapping3D>
Implementations§
source§impl WindyTexture
impl WindyTexture
pub fn new(mapping: Box<TextureMapping3D>) -> Self
Trait Implementations§
source§impl<T> Texture<T> for WindyTexturewhere
T: From<Float>,
impl<T> Texture<T> for WindyTexturewhere 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§
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