persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
RGBA Struct Reference

Data structure to store RGBA values as 8-bit signed integers. More...

#include <RenderTypes.hpp>

Public Member Functions

 RGBA (int8_t r, int8_t g, int8_t b, int8_t a)
 Constructor to initialize RGBA data structure .

Public Attributes

int8_t red
int8_t green
int8_t blue
int8_t alpha

Detailed Description

Data structure to store RGBA values as 8-bit signed integers.

Definition at line 12 of file RenderTypes.hpp.

Constructor & Destructor Documentation

◆ RGBA()

RGBA::RGBA ( int8_t r,
int8_t g,
int8_t b,
int8_t a )
inline

Constructor to initialize RGBA data structure .

Parameters
rRed component (0-31)
gGreen component (0-31)
bBlue component (0-31)
aAlpha component (0-31)

Definition at line 27 of file RenderTypes.hpp.

Member Data Documentation

◆ alpha

int8_t RGBA::alpha

Definition at line 17 of file RenderTypes.hpp.

◆ blue

int8_t RGBA::blue

Definition at line 16 of file RenderTypes.hpp.

◆ green

int8_t RGBA::green

Definition at line 15 of file RenderTypes.hpp.

◆ red

int8_t RGBA::red

Definition at line 14 of file RenderTypes.hpp.


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