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§
- Dirty
Region - A rectangular region of the screen that needs redrawing.
- Frame
Buffer - 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).