libc8
CHIP-8 utility library
Loading...
Searching...
No Matches
C8_Display Struct Reference

Represents a graphics display. More...

#include <graphics.h>

Data Fields

uint8_t p [128 *64]
 Pixels (1D array)
 
uint8_t mode
 Display mode (C8_DISPLAYMODE_LOW or C8_DISPLAYMODE_HIGH)
 
uint8_t x
 Offset (for C8_DISPLAYMODE_LOW)
 
uint8_t y
 Offset (for C8_DISPLAYMODE_HIGH)
 

Detailed Description

Represents a graphics display.

Field Documentation

◆ mode

uint8_t mode

Display mode (C8_DISPLAYMODE_LOW or C8_DISPLAYMODE_HIGH)

◆ p

uint8_t p[128 * 64]

Pixels (1D array)

◆ x

uint8_t x

Offset (for C8_DISPLAYMODE_LOW)

◆ y

uint8_t y

Offset (for C8_DISPLAYMODE_HIGH)


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