NSMeshes Namespace Reference

This namespace contains all required for working with meshes. More...


Classes

struct  TDeclarationHeader
 Header of file with vertex declaration. More...
struct  TDeclarationElement
 One vertex element from file with vertex declaration. More...
class  TDeclarationLoader
 This class contains static methods to load declaration from file. More...
class  TDeclaration
 This class defines declaration loaded from declaration file. More...
class  TDeclarationManager
 This class manages vertex declarations loaded from files (TDeclaration type). More...
struct  TMeshHeader
 This structure defines header of file with MESH. More...
struct  TMeshRenderInfo
 This structure contains information about rendering mesh. More...
class  TMeshLoader
 This class contains static methods to load mesh. More...
class  TMeshManager
 This class serves as manager for TMesh objects. More...
class  TMesh
 This class defines mesh loaded from mesh file. More...
class  TMeshCreator
 This class ensures simplest models creaiting and also helps create basic vertex declarations. More...

Enumerations

enum  EnumGraphicVertexDeclaration {
  GRAPH_VERTEXDECL_XYZ, GRAPH_VERTEXDECL_XYZW, GRAPH_VERTEXDECL_XYZ_NXNYNZ, GRAPH_VERTEXDECL_XYZ_TUTV,
  GRAPH_VERTEXDECL_XYZW_NXNYNZ, GRAPH_VERTEXDECL_XYZW_TUTV, GRAPH_VERTEXDECL_XYZ_NXNYNZ_TUTV, GRAPH_VERTEXDECL_XYZ_DIFF,
  GRAPH_VERTEXDECL_XYZ_DIFF_SPEC, GRAPH_VERTEXDECL_FORCED32 = 0x7fffffff
}
 This enumeration defines basic vertex declarations which can be created via TModelCreator class. More...


Detailed Description

This namespace contains all required for working with meshes.

Enumeration Type Documentation

enum NSMeshes::EnumGraphicVertexDeclaration
 

This enumeration defines basic vertex declarations which can be created via TModelCreator class.

If you add new enumaration to this, you must also re-implement it in TModelCreator::CreateDeclarationArray method.

Enumerator:
GRAPH_VERTEXDECL_XYZ  vertex with position only (12 bytes - 3xFLOAT)
GRAPH_VERTEXDECL_XYZW  vertex with position and W component (16 bytes - 4xFLOAT)
GRAPH_VERTEXDECL_XYZ_NXNYNZ  vertex with position and normal (24 bytes - 6xFLOAT)
GRAPH_VERTEXDECL_XYZ_TUTV  vertex with position and two texture coordinates (20 bytes - 5xFLOAT)
GRAPH_VERTEXDECL_XYZW_NXNYNZ  vertex with position, W and normal (28 bytes - 7xFLOAT)
GRAPH_VERTEXDECL_XYZW_TUTV  vertex with position, W and two texture coordinates (24 bytes - 6xFLOAT)
GRAPH_VERTEXDECL_XYZ_NXNYNZ_TUTV  vertex with position, normal and two texture coordinates (32 bytes - 8xFLOAT)
GRAPH_VERTEXDECL_XYZ_DIFF  vertex with position and diffuse color (16 bytes - 3xFLOAT + 1xCOLOR)
GRAPH_VERTEXDECL_XYZ_DIFF_SPEC  vertex with position, diffuse and specular color (20 bytes - 3xFLOAT + 2xCOLOR)
GRAPH_VERTEXDECL_FORCED32  this ensures to compile this enumeration to 32bits

Definition at line 26 of file MeshCreator.h.


Generated on Wed Nov 28 23:08:12 2007 for Joy4D by  doxygen 1.4.6-NO