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:

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 ()

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)

copy to triangle

T: triangle to copy to

◆ GetTextureCount()

unsigned int Mesh::TexturedTriangleStruct::GetTextureCount ( )

get the texture count

the number of texture coordinate

Implements Mesh::TexturedTriangleStructBase.

◆ Load()

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

read Ta, Tb and Tc value in a file

currentfile: BufferedFile to read

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