pub struct HdrImage {
pub width: u32,
pub height: u32,
pub pixels: Vec<[f32; 3]>,
}Expand description
An equirectangular radiance image: linear RGB rows, top-down.
Fields§
§width: u32Width in pixels.
height: u32Height in pixels.
pixels: Vec<[f32; 3]>Row-major top-down linear RGB triples, width * height of them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HdrImage
impl RefUnwindSafe for HdrImage
impl Send for HdrImage
impl Sync for HdrImage
impl Unpin for HdrImage
impl UnsafeUnpin for HdrImage
impl UnwindSafe for HdrImage
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