draw
0.0.0
|
RGBA floating-point color. More...
#include <draw.h>
Public Member Functions | |
Color ()=default | |
construct from zero values More... | |
Color (float r, float g, float b, float a=1.0f) | |
construct from parameters More... | |
Public Attributes | |
float | r {0.0f} |
red component More... | |
float | g {0.0f} |
green component More... | |
float | b {0.0f} |
blue component More... | |
float | a {1.0f} |
alpha component More... | |
RGBA floating-point color.
|
default |
construct from zero values
|
inline |
construct from parameters
float draw::Color::a {1.0f} |
alpha component
float draw::Color::b {0.0f} |
blue component
float draw::Color::g {0.0f} |
green component
float draw::Color::r {0.0f} |
red component