Color
Functions
Color |
|
Color |
|
bool | operator== |
bool | operator!= |
Detailed Description
-
struct
Color
An RGBA color, where each channel is in normalized [0, 1] space.
Public Functions
-
Color
() = default
Public Members
-
float
red
Red component of this color object, from 0.0 to 1.0.
-
float
green
Green component of this color object, from 0.0 to 1.0.
-
float
blue
Blue component of this color object, from 0.0 to 1.0.
-
float
alpha
Alpha component of this color object, from 0.0 to 1.0. Used to define transparency level.
-