Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lampda::modes::colors::ToRGB Struct Reference

Exposes (r, g, b) as uint8_t in struct from a single uint32_t color. More...

#include <utils.hpp>

Public Member Functions

constexpr LMBD_INLINE ToRGB (uint32_t color)
 convert color bytes to rgb struct
 

Public Attributes

uint8_t r
 red
 
uint8_t g
 green
 
uint8_t b
 blue
 

Detailed Description

Exposes (r, g, b) as uint8_t in struct from a single uint32_t color.


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