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
sourceimpl<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
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