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