Struct rs_pbrt::textures::imagemap::ImageTexture
source · pub struct ImageTexture<T> {
pub mapping: Box<TextureMapping2D>,
pub mipmap: Arc<MipMap<T>>,
}
Fields§
§mapping: Box<TextureMapping2D>
§mipmap: Arc<MipMap<T>>
Implementations§
Trait Implementations§
source§impl ImageTextureConvert<RGBSpectrum> for ImageTexture<Spectrum>
impl ImageTextureConvert<RGBSpectrum> for ImageTexture<Spectrum>
fn convert_out(from: &Spectrum, to: &mut Spectrum)
source§impl ImageTextureConvert<f32> for ImageTexture<Float>
impl ImageTextureConvert<f32> for ImageTexture<Float>
fn convert_out(from: &Float, to: &mut Float)
source§impl Texture<RGBSpectrum> for ImageTexture<Spectrum>
impl Texture<RGBSpectrum> for ImageTexture<Spectrum>
fn evaluate(&self, si: &SurfaceInteraction<'_>) -> Spectrum
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§
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