Stellarium 0.12.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure

VertexP3T2C4 Struct Reference

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

#include <GenericVertexTypes.hpp>

List of all members.

Public Member Functions

 VertexP3T2C4 (const Vec3f &position, const Vec2f texCoord, const Vec4f &color)
 Construct from a 3D position, a texture coordinate and a color,.
 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.
 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:
Generated on Thu Jan 31 14:05:47 2013 for Stellarium by  doxygen 1.6.3