GFX_MESH Namespace Reference

GFX_MESH Namespace Reference

Classes

class  HWIndex16Bit
 This class is used to help with managing 16 bit hardware index buffer. More...
 
class  HWIndex32Bit
 This class is used to help with managing 32 bit hardware index buffer. More...
 
class  HWIndexBuffer
 This class is our hw index buffer representation. 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  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  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. More...
 
static const unsigned int kMAX_TEXTURES = 8
 This is the maximum number of supported uvw mapping channels. More...
 

Enumeration Type Documentation

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

Enumerator
kLineList 
kTriangleList 
29 { kLineList = 2, kTriangleList = 3};
Definition: HWIndex.h:29
Definition: HWIndex.h:29
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.

35  {
36  kPos = 1,
37  kNormal = 2 ,
38  kVC0 = 4 ,kVC1 = 8 ,
39  kUVW0 = 16 ,kUVW1 = 32 ,kUVW2 = 64, kUVW3 = 128,
40  kUVW4 = 256, kUVW5 = 512, kUVW6 = 1024, kUVW7 = 2048,
41  kBinormal = 4096, kTangent = 8192
42 };
Definition: HWVertex.h:41
Definition: HWVertex.h:38
Definition: HWVertex.h:39
Normal of the vertex.
Definition: HWVertex.h:37
Vertex Color 0-1.
Definition: HWVertex.h:38
Definition: HWVertex.h:40
Binormal and tangent channels To Be Implemented.
Definition: HWVertex.h:41
UVW channels 0-7.
Definition: HWVertex.h:39
Position of the vertex.
Definition: HWVertex.h:36
Definition: HWVertex.h:39
Definition: HWVertex.h:40
Definition: HWVertex.h:40
Definition: HWVertex.h:39
Definition: HWVertex.h:40

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.