Struct vulkano_framing::Writer
[−]
[src]
pub struct Writer<'a, T: 'a> { /* fields omitted */ }
A mutable frame.
Trait Implementations
impl<'a, T: 'a> Image for Writer<'a, T> where
T: Clone,
[src]
T: Clone,
type Pixel = T
The kind of pixel that the frame is made of.
fn width(&self) -> usize
The width of the frame in pixels.
fn height(&self) -> usize
The height of the frame in pixels.
unsafe fn pixel(&self, x: usize, y: usize) -> Self::Pixel
Gets the pixel at the specified zero-indexed coordinates. Read more