1.1.0
Public Attributes | List of all members
fc_color Struct Reference

Represents a 4-byte-per-pixel color with red, green, blue and alpha components. More...

#include <color.h>

Public Attributes

uint8_t r
 
uint8_t g
 
uint8_t b
 
uint8_t a
 

Detailed Description

Represents a 4-byte-per-pixel color with red, green, blue and alpha components.

Member Data Documentation

◆ r

uint8_t fc_color::r

The red component (0 to 255)

◆ g

uint8_t fc_color::g

The green component (0 to 255)

◆ b

uint8_t fc_color::b

The blue component (0 to 255)

◆ a

uint8_t fc_color::a

The alpha component (0 to 255). 0 means transparent, 255 means fully opaque


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