![]() |
LibCarna Version 3.4.0
|
Defines vertex that consists of the two attributes position and color. More...
#include <Vertex.hpp>
Public Member Functions | |
VERTEX_NULL_COMPONENT (Normal) | |
![]() | |
VertexPosition () | |
template<typename VectorType > | |
void | setPosition (const VectorType &position) |
![]() | |
VertexColor () | |
template<typename VectorType > | |
void | setColor (const VectorType &color) |
Static Public Attributes | |
static const VertexAttributes | attributes |
Holds the declaration of the vertex format. | |
Additional Inherited Members | |
![]() | |
float | x |
Holds the positional x-component of this vertex. | |
float | y |
Holds the positional y-component of this vertex. | |
float | z |
Holds the positional z-component of this vertex. | |
float | w |
Holds the positional w-component of this vertex. This will be 1 usually. | |
![]() | |
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 that consists of the two attributes position and color.
Definition at line 326 of file Vertex.hpp.
LibCarna::base::PCVertex::VERTEX_NULL_COMPONENT | ( | Normal | ) |
Declares missing component.
|
static |
Holds the declaration of the vertex format.
Definition at line 333 of file Vertex.hpp.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen