Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Public Member Functions | Public Attributes | List of all members
Mesh::TexturedTriangleStruct Class Reference

#include <KMesh.h>

Inheritance diagram for Mesh::TexturedTriangleStruct:
Mesh::TexturedTriangleStructBase

Public Member Functions

unsigned int GetTextureCount ()
 get the texture count More...
 
virtual void CopyTo (TexturedTriangleStruct *T)
 copy to triangle More...
 
void Load (BufferedFile *currentfile)
 read Ta, Tb and Tc value in a file More...
 
- Public Member Functions inherited from Mesh::TexturedTriangleStructBase
virtual ~TexturedTriangleStructBase ()
 destructor
 

Public Attributes

unsigned int Ta [textureCount]
 index of TextCoord for the triangle's first vertex
 
unsigned int Tb [textureCount]
 index of TextCoord for the triangle's second vertex
 
unsigned int Tc [textureCount]
 index of TextCoord for the triangle's third vertex
 

Detailed Description

Textured triangle structure, with templated texture count parameter.

Member Function Documentation

◆ CopyTo()

void Mesh::TexturedTriangleStruct::CopyTo ( TexturedTriangleStruct T)
inlinevirtual

copy to triangle

Parameters
T: triangle to copy to

◆ GetTextureCount()

unsigned int Mesh::TexturedTriangleStruct::GetTextureCount ( )
inlinevirtual

get the texture count

Returns
the number of texture coordinate

Implements Mesh::TexturedTriangleStructBase.

◆ Load()

void Mesh::TexturedTriangleStruct::Load ( BufferedFile currentfile)
inline

read Ta, Tb and Tc value in a file

Parameters
currentfile: BufferedFile to read

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