Stellarium 0.12.2
List of all members | Public Member Functions | Public Attributes
VertexP3T2C4 Struct Reference

Vertex with a 3D position, 2D texture coordinate and an RGBA color. More...

#include <GenericVertexTypes.hpp>

Public Member Functions

 VertexP3T2C4 (const Vec3f &position, const Vec2f texCoord, const Vec4f &color)
 Construct from a 3D position, a texture coordinate and a color,. More...
 
 VertexP3T2C4 (const Vec2f pos, const Vec2f texCoord, const Vec4f &color)
 Construct from a 2D position, setting the z coord to 0, a texture coordinate and a color. More...
 
 VERTEX_ATTRIBUTES (Vec3f Position, Vec2f TexCoord, Vec4f Color)
 

Public Attributes

Vec3f position
 
Vec2f texCoord
 
Vec4f color
 

Detailed Description

Vertex with a 3D position, 2D texture coordinate and an RGBA color.

Definition at line 57 of file GenericVertexTypes.hpp.

Constructor & Destructor Documentation

VertexP3T2C4::VertexP3T2C4 ( const Vec3f position,
const Vec2f  texCoord,
const Vec4f color 
)
inline

Construct from a 3D position, a texture coordinate and a color,.

Definition at line 64 of file GenericVertexTypes.hpp.

VertexP3T2C4::VertexP3T2C4 ( const Vec2f  pos,
const Vec2f  texCoord,
const Vec4f color 
)
inline

Construct from a 2D position, setting the z coord to 0, a texture coordinate and a color.

Definition at line 68 of file GenericVertexTypes.hpp.


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