pub struct Raw {
pub pixels: Vec<Vec<([u32; 4], u8)>>,
pub discarded: Vec<bool>,
pub instructions: u64,
pub samples: u64,
}Expand description
Every requested output of every pixel, as the program wrote it.
Fields§
§pixels: Vec<Vec<([u32; 4], u8)>>Per requested target, size * size pixels in row-major order: the output register’s bits and the lanes the program wrote of it (within the target’s mask).
discarded: Vec<bool>Per pixel, in the same order, whether the program discarded it (its outputs are then those written before).
instructions: u64Instructions executed, summed over the pixels.
samples: u64Samples requested, summed over the pixels.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Raw
impl Freeze for Raw
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnsafeUnpin for Raw
impl UnwindSafe for Raw
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