Carna  Version 3.3.2
Classes | Namespaces | Macros
Vertex.h File Reference

Defines Carna::base::PVertex, Carna::base::PNVertex, Carna::base::VertexPosition, Carna::base::VertexNormal. More...

#include <Carna/Carna.h>
#include <Carna/base/VertexAttributes.h>
+ Include dependency graph for Vertex.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Carna::base::VertexPosition
 Defines vertex component for position vectors. Usage is explained here. More...
 
struct  Carna::base::VertexNormal
 Defines vertex component for normal vectors. Usage is explained here. More...
 
struct  Carna::base::VertexColor
 Defines vertex component for colors. Usage is explained here. More...
 
struct  Carna::base::PVertex
 Defines simple-most vertex that only consists of a positional attribute. More...
 
struct  Carna::base::PNVertex
 Defines vertex that consists of the two attributes position and normal vector. More...
 
struct  Carna::base::PCVertex
 Defines vertex that consists of the two attributes position and color. More...
 

Namespaces

 Carna::base
 Contains the core framework components.
 

Macros

#define VERTEX_NULL_COMPONENT(name)
 Adds null implementation for setter corresponding the the given vertex component. More...
 

Detailed Description

Defines Carna::base::PVertex, Carna::base::PNVertex, Carna::base::VertexPosition, Carna::base::VertexNormal.

Definition in file Vertex.h.

Macro Definition Documentation

◆ VERTEX_NULL_COMPONENT

#define VERTEX_NULL_COMPONENT (   name)
Value:
template< typename VectorType > \
void set ## name( const VectorType& ) \
{ \
}

Adds null implementation for setter corresponding the the given vertex component.

Author
Leonid Kostrykin
Date
9.6.21
Since
API Version 3.2.0

Definition at line 190 of file Vertex.h.