Ashet OS

struct: ashet.VideoMemory

Fields

base: [*]align(4) Color

Pointer to the first pixel of the first scanline.

Each scanline is .stride elements separated from each other and contains width valid elements.

There are height total scanlines available.

stride: usize

Length of a scanline.

width: u16

Number of valid elements in a scanline

height: u16

Number of valid scanlines.