FastLED
3.1
|
Representation of an HSV pixel (hue, saturation, value (aka brightness)). More...
#include <pixeltypes.h>
Public Member Functions | |
CHSV () __attribute__((always_inline)) | |
default values are UNITIALIZED | |
CHSV (uint8_t ih, uint8_t is, uint8_t iv) __attribute__((always_inline)) | |
allow construction from H, S, V | |
CHSV (const CHSV &rhs) __attribute__((always_inline)) | |
allow copy construction | |
CHSV & | operator= (const CHSV &rhs) __attribute__((always_inline)) |
CHSV & | setHSV (uint8_t ih, uint8_t is, uint8_t iv) __attribute__((always_inline)) |
Public Attributes | |
union { | |
struct { | |
union { | |
uint8_t hue | |
uint8_t h | |
} | |
union { | |
uint8_t saturation | |
uint8_t sat | |
uint8_t s | |
} | |
union { | |
uint8_t value | |
uint8_t val | |
uint8_t v | |
} | |
} | |
uint8_t raw [3] | |
}; | |
Representation of an HSV pixel (hue, saturation, value (aka brightness)).
Definition at line 23 of file pixeltypes.h.