Definition at line 8 of file color.h.
|
| Color3i (uint8_t r, uint8_t g, uint8_t b) |
|
| Color3i (const Color3i &other) |
|
void | Set (uint8_t r, uint8_t g, uint8_t b) |
|
void | Set (const Color3i &c) |
|
void | Mul (const Color3i &other_color) |
|
void | Mulf (float scale) |
|
void | Mul (uint8_t val) |
|
void | Sub (const Color3i &color) |
|
void | Add (const Color3i &color) |
|
uint8_t | Get (int rgb_index) const |
|
void | Set (int rgb_index, uint8_t val) |
|
void | Fill (uint8_t val) |
|
uint8_t | MaxRGB () const |
|
template<typename PrintStream > |
void | Print (PrintStream *stream) const |
|
void | Interpolate (const Color3i &other_color, float t) |
|
uint8_t * | At (int rgb_index) |
|
const uint8_t * | At (int rgb_index) const |
|
|
uint8_t | r_ |
|
uint8_t | g_ |
|
uint8_t | b_ |
|
◆ Color3i() [1/3]
Color3i::Color3i |
( |
uint8_t | r, |
|
|
uint8_t | g, |
|
|
uint8_t | b ) |
|
inline |
◆ Color3i() [2/3]
◆ Color3i() [3/3]
Color3i::Color3i |
( |
const Color3i & | other | ) |
|
|
inline |
◆ Add()
void Color3i::Add |
( |
const Color3i & | color | ) |
|
◆ At() [1/2]
uint8_t * Color3i::At |
( |
int | rgb_index | ) |
|
◆ At() [2/2]
const uint8_t * Color3i::At |
( |
int | rgb_index | ) |
const |
◆ Black()
◆ Blue()
◆ Cyan()
◆ Fill()
void Color3i::Fill |
( |
uint8_t | val | ) |
|
|
inline |
◆ Get()
uint8_t Color3i::Get |
( |
int | rgb_index | ) |
const |
◆ Green()
◆ Interpolate()
void Color3i::Interpolate |
( |
const Color3i & | other_color, |
|
|
float | t ) |
◆ MaxRGB()
uint8_t Color3i::MaxRGB |
( |
| ) |
const |
|
inline |
◆ Mul() [1/2]
void Color3i::Mul |
( |
const Color3i & | other_color | ) |
|
◆ Mul() [2/2]
void Color3i::Mul |
( |
uint8_t | val | ) |
|
|
inline |
◆ Mulf()
void Color3i::Mulf |
( |
float | scale | ) |
|
◆ Orange()
◆ Print()
template<typename PrintStream >
void Color3i::Print |
( |
PrintStream * | stream | ) |
const |
|
inline |
◆ Red()
◆ Set() [1/3]
void Color3i::Set |
( |
const Color3i & | c | ) |
|
|
inline |
◆ Set() [2/3]
void Color3i::Set |
( |
int | rgb_index, |
|
|
uint8_t | val ) |
◆ Set() [3/3]
void Color3i::Set |
( |
uint8_t | r, |
|
|
uint8_t | g, |
|
|
uint8_t | b ) |
|
inline |
◆ Sub()
void Color3i::Sub |
( |
const Color3i & | color | ) |
|
◆ White()
◆ Yellow()
◆ b_
◆ g_
◆ r_
The documentation for this struct was generated from the following files:
- /home/runner/work/FastLED/FastLED/examples/LuminescentGrand/shared/color.h
- /home/runner/work/FastLED/FastLED/examples/LuminescentGrand/shared/color.cpp