CHGame 0.3.0
Libraries for the CHGame handheld
Loading...
Searching...
No Matches
Mask Struct Reference

A 1 bpp shape being built in the chunk scratch. Made by maskBegin(). More...

#include <chgame/Mask.h>

Public Attributes

uint8_t * bits
 MSB-first rows, 1 px margin on every side.
 
uint8_t stride
 Bytes per row.
 
uint8_t h
 Usable size (excluding the margin).
 

Detailed Description

A 1 bpp shape being built in the chunk scratch. Made by maskBegin().

Member Data Documentation

◆ bits

uint8_t* Mask::bits

MSB-first rows, 1 px margin on every side.

◆ stride

uint8_t Mask::stride

Bytes per row.

◆ h

uint8_t Mask::h

Usable size (excluding the margin).


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