#include <rendering_device.h>
|
| | Color (float r=1.0f, float g=1.0f, float b=1.0f, float a=1.0f) |
| |
| glm::vec4 | to_vec4 () const |
| |
|
| float | r |
| |
| float | g |
| |
| float | b |
| |
| float | a |
| |
|
| static const Color | WHITE = Color(1, 1, 1, 1) |
| |
| static const Color | BLACK = Color(0, 0, 0, 1) |
| |
| static const Color | RED = Color(1, 0, 0, 1) |
| |
| static const Color | GREEN = Color(0, 1, 0, 1) |
| |
| static const Color | BLUE = Color(0, 0, 1, 1) |
| |
| static const Color | YELLOW = Color(1, 1, 0, 1) |
| |
| static const Color | CYAN = Color(0, 1, 1, 1) |
| |
| static const Color | MAGENTA = Color(1, 0, 1, 1) |
| |
◆ Color()
| Color::Color |
( |
float |
r = 1.0f, |
|
|
float |
g = 1.0f, |
|
|
float |
b = 1.0f, |
|
|
float |
a = 1.0f |
|
) |
| |
|
inline |
◆ to_vec4()
| glm::vec4 Color::to_vec4 |
( |
| ) |
const |
|
inline |
◆ BLACK
◆ BLUE
◆ CYAN
◆ GREEN
◆ MAGENTA
◆ RED
◆ WHITE
◆ YELLOW
The documentation for this struct was generated from the following files: