BEEP-8 SDK 1.0.0
Loading...
Searching...
No Matches
_b8PpuFlush Struct Reference

Structure representing a flush command for the PPU (Pixel Processing Unit). More...

#include <ppu.h>

Public Attributes

unsigned pal: 1
 
unsigned img: 1
 
unsigned na0: 22
 
unsigned code: 8
 

Detailed Description

Structure representing a flush command for the PPU (Pixel Processing Unit).

The Flush command ensures that any changes made to VRAM or the palette through drawing commands are fully committed from the cache to the actual VRAM. This operation is known as cache flushing.

Note: Frequent use of the flush command can introduce performance overhead due to the cost of cache flushing. It is recommended to minimize the number of flush operations by grouping drawing commands efficiently. Only flush when necessary, especially when working with palette or VRAM updates.

Member Data Documentation

◆ code

unsigned _b8PpuFlush::code

Command code for the flush operation.

◆ img

unsigned _b8PpuFlush::img

Flag to flush image (VRAM) changes.

◆ na0

unsigned _b8PpuFlush::na0

Reserved, not used.

◆ pal

unsigned _b8PpuFlush::pal

Flag to flush palette changes.


The documentation for this struct was generated from the following file: