LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
LibCarna::base::PCVertex Struct Reference

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

#include <Vertex.hpp>

+ Inheritance diagram for LibCarna::base::PCVertex:
+ Collaboration diagram for LibCarna::base::PCVertex:

Public Member Functions

 VERTEX_NULL_COMPONENT (Normal)
 
- Public Member Functions inherited from LibCarna::base::VertexPosition
 VertexPosition ()
 
template<typename VectorType >
void setPosition (const VectorType &position)
 
- Public Member Functions inherited from LibCarna::base::VertexColor
 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

- Public Attributes inherited from LibCarna::base::VertexPosition
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 LibCarna::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

Definition at line 326 of file Vertex.hpp.

Member Function Documentation

◆ VERTEX_NULL_COMPONENT()

LibCarna::base::PCVertex::VERTEX_NULL_COMPONENT ( Normal  )

Declares missing component.

Member Data Documentation

◆ attributes

const VertexAttributes LibCarna::base::PCVertex::attributes
static

Holds the declaration of the vertex format.

Definition at line 333 of file Vertex.hpp.


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