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
sourceimpl MarbleTexture
impl MarbleTexture
Trait Implementations
sourceimpl 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
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