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

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

#include <ppu.h>

Public Attributes

unsigned na0: 24
 
unsigned code: 8
 
signed y: 16
 
signed x: 16
 

Detailed Description

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

The ViewOffset command adds an offset to all drawing coordinates, effectively shifting the entire rendered view. If this command is not set, the offset defaults to (0,0), meaning no offset is applied.

Member Data Documentation

◆ code

unsigned _b8PpuViewoffset::code

Command code for the view offset operation.

◆ na0

unsigned _b8PpuViewoffset::na0

Reserved, not used.

◆ x

signed _b8PpuViewoffset::x

X-coordinate offset applied to all drawing commands.

◆ y

signed _b8PpuViewoffset::y

Y-coordinate offset applied to all drawing commands.


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