pub struct ImageTexture<T> {
pub mapping: Box<TextureMapping2D>,
pub mipmap: Arc<MipMap<T>>,
}
Fields
mapping: Box<TextureMapping2D>
mipmap: Arc<MipMap<T>>
Implementations
Trait Implementations
sourceimpl ImageTextureConvert<RGBSpectrum> for ImageTexture<Spectrum>
impl ImageTextureConvert<RGBSpectrum> for ImageTexture<Spectrum>
fn convert_out(from: &Spectrum, to: &mut Spectrum)
sourceimpl ImageTextureConvert<f32> for ImageTexture<Float>
impl ImageTextureConvert<f32> for ImageTexture<Float>
fn convert_out(from: &Float, to: &mut Float)
sourceimpl Texture<RGBSpectrum> for ImageTexture<Spectrum>
impl Texture<RGBSpectrum> for ImageTexture<Spectrum>
fn evaluate(&self, si: &SurfaceInteraction<'_>) -> Spectrum
sourceimpl Texture<f32> for ImageTexture<Float>
impl Texture<f32> for ImageTexture<Float>
fn evaluate(&self, si: &SurfaceInteraction<'_>) -> Float
Auto Trait Implementations
impl<T> RefUnwindSafe for ImageTexture<T> where
T: RefUnwindSafe,
impl<T> Send for ImageTexture<T> where
T: Send + Sync,
impl<T> Sync for ImageTexture<T> where
T: Send + Sync,
impl<T> Unpin for ImageTexture<T>
impl<T> UnwindSafe for ImageTexture<T> where
T: RefUnwindSafe,
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