const MAX_PIXELS
XuAPI
pub const MAX_PIXELS = 262144Purpose
Portable reference backend; no GPIO, controller, bus, timer or OS dependency.
#embedded/display/memoryStandard library package `#embedded/display/memory`.
const MAX_PIXELSpub const MAX_PIXELS = 262144Portable reference backend; no GPIO, controller, bus, timer or OS dependency.
struct Framebufferpub struct Framebuffer {
}Framebuffer context or state structure.
This type has no public fields.
createpub fn create(width int, height int) display.Surface#FramebufferCreate a new file, directory, or resource.
width intheight intdisplay.Surface#Framebuffer — a value of this type
pixelpub fn pixel(x int, y int, surface &display.Surface#Framebuffer) intExecute pixel.
x inty intsurface &display.Surface#Framebufferint — a value of this type
rgb565_bytespub fn rgb565_bytes(surface &display.Surface#Framebuffer) stringIndependent packed RGB565 copy for snapshots, high byte first.
surface &display.Surface#Framebufferstring — result string