Classes | Enumerations | Variables

GFX_MESH Namespace Reference

Classes

class   HWIndex32Bit
  This class is used to help with managing 32 bit hardware index buffer. More...
class   HWIndex16Bit
  This class is used to help with managing 16 bit hardware index buffer. More...
class   HWIndexBuffer
  This class is our hw index buffer representation. More...
class   IHWDrawMesh
  This is a wrapper around our low level HW mesh. More...
class   IHWSubMesh
  This is a wrapper class around our HW Mesh. More...
class   HWTupleMesh
  This class is a container for vertex and index buffers. More...
class   HWTupleMeshContainer
  This is a container class of our sub meshes. More...
class   HWVertex
  This class is used to help with managing hardware(hw) vertex buffer. More...
class   HWVertexBuffer
  This is a class that lets you create a hw vertex buffer. More...
class   MeshVertex
  this is a class used to track mesh vertices to hw vertices. More...

Enumerations

enum   PrimitiveType { kLineList = 2, kTriangleList = 3 }
 

These are our current supported primitive mesh types which we uses with the HWIndexBuffer class.

More...
enum   VertexType {
  kPos = 1, kNormal = 2, kVC0 = 4, kVC1 = 8,
  kUVW0 = 16, kUVW1 = 32, kUVW2 = 64, kUVW3 = 128,
  kUVW4 = 256, kUVW5 = 512, kUVW6 = 1024, kUVW7 = 2048,
  kBinormal = 4096, kTangent = 8192
}
 

This enums list all our possible vertex components for our vertex vbuffer.

More...

Variables

static const unsigned int  kMAX_COLORS = 2
  This is the maximum number of supported vertex color channels.
static const unsigned int  kMAX_TEXTURES = 8
  This is the maximum number of supported uvw mapping channels.

Enumeration Type Documentation

These are our current supported primitive mesh types which we uses with the HWIndexBuffer class.

Enumerator:
kLineList 
kTriangleList 
{ kLineList = 2, kTriangleList = 3};
enum VertexType

This enums list all our possible vertex components for our vertex vbuffer.

Enumerator:
kPos 

Position of the vertex.

kNormal 

Normal of the vertex.

kVC0 
kVC1 

Vertex Color 0-1.

kUVW0 
kUVW1 
kUVW2 
kUVW3 

UVW channels 0-7.

kUVW4 
kUVW5 
kUVW6 
kUVW7 
kBinormal 
kTangent 

Binormal and tangent channels To Be Implemented.

                { 
    kPos = 1,                                               
    kNormal = 2 ,                                           
    kVC0  = 4 ,kVC1 = 8 ,                                   
    kUVW0 = 16 ,kUVW1 = 32 ,kUVW2 = 64, kUVW3 = 128,        
    kUVW4 = 256, kUVW5 = 512, kUVW6 = 1024, kUVW7 = 2048,
    kBinormal = 4096, kTangent = 8192                       
};

Variable Documentation

const unsigned int kMAX_COLORS = 2 [static]

This is the maximum number of supported vertex color channels.

const unsigned int kMAX_TEXTURES = 8 [static]

This is the maximum number of supported uvw mapping channels.