Skip to main content

Module framebuffer

Module framebuffer 

Source
Expand description

Pixel framebuffer with incremental dirty-region tracking.

This module provides FrameBuffer, a configurable-resolution RGBA pixel buffer, and DirtyRegion, which tracks which screen areas need re-rendering for incremental update.

Structs§

DirtyRegion
A rectangular region of the screen that needs redrawing.
FrameBuffer
A pixel RGBA framebuffer with configurable dimensions.

Constants§

BYTES_PER_PIXEL
Bytes per pixel in the RGBA framebuffer.
TILE_SIZE
Game Boy tile size in pixels (8×8).