Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Classes | Public Types | Protected Member Functions | Protected Attributes | List of all members
BinMeshLoaderBase Class Reference

#include <BinMeshLoaderBase.h>

Inheritance diagram for BinMeshLoaderBase:
BinMeshLoader

Classes

class  GroupDesc
 contain the group description of the binMesh file More...
 
class  Header
 contain the header of the binMesh file More...
 
class  MaterialDesc
 contain the material description of the binMesh file More...
 
class  OtherDataStruct
 contain other data information of the binMesh file More...
 
class  StageDesc
 contain the stage description of the binMesh file More...
 

Public Types

enum  TexEnvType
 type of environment
 
enum  BlendFuncSource
 type of blend source
 
enum  BlendFuncDest
 type of blend destination
 

Protected Member Functions

kstl::string ReadString (BufferedFile *)
 read a szString in myFile from the current read position More...
 
void ReadFloatArray (kfloat *dst, unsigned int count, BufferedFile *file)
 read a kFloat array in a buffered file from the current read position More...
 

Protected Attributes

BufferedFilemFile
 link to the readed file which contain the binMesh
 

Detailed Description

Utility class to load mesh files.

Member Function Documentation

◆ ReadFloatArray()

void BinMeshLoaderBase::ReadFloatArray ( kfloat *  dst,
unsigned int  count,
BufferedFile file 
)
protected

read a kFloat array in a buffered file from the current read position

Parameters
dst: array of kFloat readed (in/out param)
count: number of kFloat readed
file: link to the file to read

◆ ReadString()

kstl::string BinMeshLoaderBase::ReadString ( BufferedFile )
protected

read a szString in myFile from the current read position

Parameters
BufferedFile: not used (read from the member BufferedFile)
Returns
the next szString in myFile, "" if no string

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