pub struct ImageRgbaF32 {
pub width: u32,
pub height: u32,
pub depth: u32,
pub pixels: Vec<f32>,
}Expand description
Tightly packed RGBA f32 pixels (HDR decode output).
For volumes (depth > 1), slices are stacked in order z = 0 .. depth-1,
each width * height * 4 floats. BC6H carries no alpha; A is 1.0.
Fields§
§width: u32§height: u32§depth: u32Always ≥ 1. 1 for 2D / cubemap faces / array layers.
pixels: Vec<f32>Trait Implementations§
Source§impl Clone for ImageRgbaF32
impl Clone for ImageRgbaF32
Source§fn clone(&self) -> ImageRgbaF32
fn clone(&self) -> ImageRgbaF32
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageRgbaF32
impl Debug for ImageRgbaF32
Source§impl PartialEq for ImageRgbaF32
impl PartialEq for ImageRgbaF32
impl StructuralPartialEq for ImageRgbaF32
Auto Trait Implementations§
impl Freeze for ImageRgbaF32
impl RefUnwindSafe for ImageRgbaF32
impl Send for ImageRgbaF32
impl Sync for ImageRgbaF32
impl Unpin for ImageRgbaF32
impl UnsafeUnpin for ImageRgbaF32
impl UnwindSafe for ImageRgbaF32
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