Struct forma_render::cpu::buffer::layout::LinearLayout
source · pub struct LinearLayout { /* private fields */ }Expand description
A linear buffer layout where each optionally strided pixel row of an image is saved sequentially into the buffer.
Implementations§
Trait Implementations§
source§impl Debug for LinearLayout
impl Debug for LinearLayout
source§impl Layout for LinearLayout
impl Layout for LinearLayout
source§fn slices_per_tile(&self) -> usize
fn slices_per_tile(&self) -> usize
Number of buffer sub-slices that will be passes to
Layout::write. Read moresource§fn width_in_tiles(&self) -> usize
fn width_in_tiles(&self) -> usize
Width in tiles. Read more
source§fn height_in_tiles(&self) -> usize
fn height_in_tiles(&self) -> usize
Height in tiles. Read more