Carna  Version 3.0.1
Static Public Attributes | List of all members
Carna::base::ColoredVertex Struct Reference

Defines vertex that consists of the two attributes position and color. More...

#include <Vertex.h>

+ Inheritance diagram for Carna::base::ColoredVertex:
+ Collaboration diagram for Carna::base::ColoredVertex:

Static Public Attributes

static const VertexAttributes attributes
 Holds the declaration of the vertex format.
 
- Static Public Attributes inherited from Carna::base::VertexBase
static const VertexAttributes attributes
 Holds the declaration of the vertex format.
 

Additional Inherited Members

- Public Member Functions inherited from Carna::base::VertexBase
 VertexBase ()
 Initializes position to \(\left(0, 0, 0, 1\right)\).
 
- Public Attributes inherited from Carna::base::VertexBase
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.
 
- Public Attributes inherited from Carna::base::VertexColor
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.
 

Detailed Description

Defines vertex that consists of the two attributes position and color.

Author
Leonid Kostrykin
Date
1.9.14 - 31.3.15

Definition at line 209 of file Vertex.h.


The documentation for this struct was generated from the following file: