Struct rs_pbrt::textures::checkerboard::Checkerboard2DTexture
source · [−]pub struct Checkerboard2DTexture<T> {
pub tex1: Arc<dyn Texture<T> + Send + Sync>,
pub tex2: Arc<dyn Texture<T> + Send + Sync>,
pub mapping: Box<TextureMapping2D>,
}
Fields
tex1: Arc<dyn Texture<T> + Send + Sync>
tex2: Arc<dyn Texture<T> + Send + Sync>
mapping: Box<TextureMapping2D>
Implementations
Trait Implementations
sourceimpl<T: Copy> Texture<T> for Checkerboard2DTexture<T>
impl<T: Copy> Texture<T> for Checkerboard2DTexture<T>
fn evaluate(&self, si: &SurfaceInteraction<'_>) -> T
Auto Trait Implementations
impl<T> !RefUnwindSafe for Checkerboard2DTexture<T>
impl<T> Send for Checkerboard2DTexture<T>
impl<T> Sync for Checkerboard2DTexture<T>
impl<T> Unpin for Checkerboard2DTexture<T>
impl<T> !UnwindSafe for Checkerboard2DTexture<T>
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