Defines vertex component for colors. Usage is explained here.
More...
#include <Vertex.h>
|
float | r |
| Holds the red color component of this vertex.
|
|
float | g |
| Holds the green color component of this vertex.
|
|
float | b |
| Holds the blue color component of this vertex.
|
|
float | a |
| Holds the alpha color component of this vertex.
|
|
Defines vertex component for colors. Usage is explained here.
- Author
- Leonid Kostrykin
- Date
- 1.9.14 - 31.3.15
Definition at line 139 of file Vertex.h.
◆ VertexColor()
Carna::base::VertexColor::VertexColor |
( |
| ) |
|
Initializes to \( \left( 1, 1, 1, 1 \right) \).
◆ setColor()
Carna::base::VertexColor::a |
Holds the alpha color component of this vertex.
Definition at line 153 of file Vertex.h.
Carna::base::VertexColor::b |
Holds the blue color component of this vertex.
Definition at line 153 of file Vertex.h.
Carna::base::VertexColor::g |
Holds the green color component of this vertex.
Definition at line 153 of file Vertex.h.
Carna::base::VertexColor::r |
Holds the red color component of this vertex.
Definition at line 153 of file Vertex.h.
The documentation for this struct was generated from the following file: