Struct rs_pbrt::textures::dots::DotsTexture
source · pub struct DotsTexture<T> {
pub mapping: Box<TextureMapping2D>,
pub outside_dot: Arc<dyn Texture<T> + Send + Sync>,
pub inside_dot: Arc<dyn Texture<T> + Send + Sync>,
}
Fields§
§mapping: Box<TextureMapping2D>
§outside_dot: Arc<dyn Texture<T> + Send + Sync>
§inside_dot: Arc<dyn Texture<T> + Send + Sync>
Implementations§
Trait Implementations§
source§impl<T: Copy> Texture<T> for DotsTexture<T>
impl<T: Copy> Texture<T> for DotsTexture<T>
fn evaluate(&self, si: &SurfaceInteraction<'_>) -> T
Auto Trait Implementations§
impl<T> !RefUnwindSafe for DotsTexture<T>
impl<T> Send for DotsTexture<T>
impl<T> Sync for DotsTexture<T>
impl<T> Unpin for DotsTexture<T>
impl<T> !UnwindSafe for DotsTexture<T>
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