LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
Vertex.hpp File Reference

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

#include <LibCarna/LibCarna.hpp>
#include <LibCarna/base/VertexAttributes.hpp>
+ Include dependency graph for Vertex.hpp:

Go to the source code of this file.

Classes

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

Namespaces

namespace  LibCarna::base
 Contains the core framework components.
 

Macros

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

Detailed Description

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

Definition in file Vertex.hpp.

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

Definition at line 188 of file Vertex.hpp.