Struct rs_pbrt::textures::fbm::FBmTexture
source · pub struct FBmTexture {
pub mapping: Box<TextureMapping3D>,
pub omega: Float,
pub octaves: i32,
}
Fields§
§mapping: Box<TextureMapping3D>
§omega: Float
§octaves: i32
Implementations§
source§impl FBmTexture
impl FBmTexture
Trait Implementations§
source§impl<T> Texture<T> for FBmTexturewhere
T: From<Float>,
impl<T> Texture<T> for FBmTexturewhere T: From<Float>,
fn evaluate(&self, si: &SurfaceInteraction<'_>) -> T
Auto Trait Implementations§
impl RefUnwindSafe for FBmTexture
impl Send for FBmTexture
impl Sync for FBmTexture
impl Unpin for FBmTexture
impl UnwindSafe for FBmTexture
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