BEEP-8 SDK 1.0.0
|
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 |
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.
unsigned _b8PpuFlush::code |
Command code for the flush operation.
unsigned _b8PpuFlush::img |
Flag to flush image (VRAM) changes.
unsigned _b8PpuFlush::na0 |
Reserved, not used.
unsigned _b8PpuFlush::pal |
Flag to flush palette changes.