FastLED  3.1
CHSV Struct Reference

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
 
CHSVoperator= (const CHSV &rhs) __attribute__((always_inline))
 
CHSVsetHSV (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]
 
}; 
 

Detailed Description

Representation of an HSV pixel (hue, saturation, value (aka brightness)).

Definition at line 23 of file pixeltypes.h.


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