libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Color_RGBA8 Struct Reference

8-bit RGBA colour (red, green, blue, alpha). More...

#include <color.h>

Public Attributes

uint8_t r
 Red channel.
 
uint8_t g
 Green channel.
 
uint8_t b
 Blue channel.
 
uint8_t a
 Alpha channel (0 = transparent, 255 = opaque).
 

Detailed Description

8-bit RGBA colour (red, green, blue, alpha).

Each component is an unsigned byte in the range [0, 255]. An alpha value of 0 is fully transparent; 255 is fully opaque.

Member Data Documentation

◆ a

uint8_t Color_RGBA8::a

Alpha channel (0 = transparent, 255 = opaque).

◆ b

uint8_t Color_RGBA8::b

Blue channel.

◆ g

uint8_t Color_RGBA8::g

Green channel.

◆ r

uint8_t Color_RGBA8::r

Red channel.


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