Zephyr Scientific Library (zscilib)
Data Fields
zsl_clr_rgb8 Struct Reference

RGBA color using 8-bit values. More...

#include <colorimetry.h>

Data Fields

uint8_t r
 
uint8_t g
 
uint8_t b
 
uint8_t a
 
uint8_t r_invalid: 1
 
uint8_t g_invalid: 1
 
uint8_t b_invalid: 1
 
uint8_t a_invalid: 1
 

Detailed Description

RGBA color using 8-bit values.

Definition at line 360 of file colorimetry.h.

Field Documentation

◆ a

uint8_t zsl_clr_rgb8::a

The 8-bit alpha channel component.

Definition at line 368 of file colorimetry.h.

◆ a_invalid

uint8_t zsl_clr_rgb8::a_invalid

If non-zero, indicates that the a value is invalid.

Definition at line 376 of file colorimetry.h.

◆ b

uint8_t zsl_clr_rgb8::b

The 8-bit blue components of an RGBA color.

Definition at line 366 of file colorimetry.h.

◆ b_invalid

uint8_t zsl_clr_rgb8::b_invalid

If non-zero, indicates that the b value is invalid.

Definition at line 374 of file colorimetry.h.

◆ g

uint8_t zsl_clr_rgb8::g

The 8-bit green components of an RGBA color.

Definition at line 364 of file colorimetry.h.

◆ g_invalid

uint8_t zsl_clr_rgb8::g_invalid

If non-zero, indicates that the g value is invalid.

Definition at line 372 of file colorimetry.h.

◆ r

uint8_t zsl_clr_rgb8::r

The 8-bit red components of an RGBA color.

Definition at line 362 of file colorimetry.h.

◆ r_invalid

uint8_t zsl_clr_rgb8::r_invalid

If non-zero, indicates that the r value is invalid.

Definition at line 370 of file colorimetry.h.


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