pub struct DecodedHdrImage { /* private fields */ }Expand description
Decoded 32-bit floating-point linear HDR RGBA image for IBL environments and HDR textures.
Implementations§
Source§impl DecodedHdrImage
Tonemapping and pixel lookup helpers for DecodedHdrImage.
impl DecodedHdrImage
Tonemapping and pixel lookup helpers for DecodedHdrImage.
Sourcepub fn to_tonemapped_rgba8(&self, exposure: f32) -> DecodedRgbaImage
pub fn to_tonemapped_rgba8(&self, exposure: f32) -> DecodedRgbaImage
Source§impl DecodedHdrImage
impl DecodedHdrImage
pub fn get_width(&self) -> u32
pub fn get_mut_width(&mut self) -> &mut u32
pub fn set_width(&mut self, val: u32) -> &mut Self
pub fn get_height(&self) -> u32
pub fn get_mut_height(&mut self) -> &mut u32
pub fn set_height(&mut self, val: u32) -> &mut Self
pub fn get_pixels(&self) -> &Vec<f32>
pub fn get_mut_pixels(&mut self) -> &mut Vec<f32>
pub fn set_pixels(&mut self, val: Vec<f32>) -> &mut Self
pub fn get_format(&self) -> DecodedImageFormat
pub fn get_mut_format(&mut self) -> &mut DecodedImageFormat
pub fn set_format(&mut self, val: DecodedImageFormat) -> &mut Self
Trait Implementations§
Source§impl Clone for DecodedHdrImage
impl Clone for DecodedHdrImage
Source§impl Debug for DecodedHdrImage
impl Debug for DecodedHdrImage
Source§impl Default for DecodedHdrImage
impl Default for DecodedHdrImage
Source§impl PartialEq for DecodedHdrImage
impl PartialEq for DecodedHdrImage
impl StructuralPartialEq for DecodedHdrImage
Auto Trait Implementations§
impl Forget for DecodedHdrImage
impl Freeze for DecodedHdrImage
impl Move for DecodedHdrImage
impl RefUnwindSafe for DecodedHdrImage
impl Send for DecodedHdrImagewhere
RawVecInner: Send,
impl Sync for DecodedHdrImagewhere
RawVecInner: Sync,
impl Unpin for DecodedHdrImage
impl UnsafeUnpin for DecodedHdrImage
impl UnwindSafe for DecodedHdrImagewhere
RawVecInner: UnwindSafe,
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