3ds Max C++ API Reference
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. More...
 
static const unsigned int kMAX_TEXTURES = 8
 This is the maximum number of supported uvw mapping channels. More...
 

Enumeration Type Documentation

◆ PrimitiveType

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

Enumerator
kLineList 
kTriangleList 
29 { kLineList = 2, kTriangleList = 3};
@ kTriangleList
Definition: HWIndex.h:29
@ kLineList
Definition: HWIndex.h:29

◆ VertexType

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 };
@ kUVW5
Definition: HWVertex.h:40
@ kNormal
Normal of the vertex.
Definition: HWVertex.h:37
@ kPos
Position of the vertex.
Definition: HWVertex.h:36
@ kUVW0
Definition: HWVertex.h:39
@ kUVW3
UVW channels 0-7.
Definition: HWVertex.h:39
@ kVC0
Definition: HWVertex.h:38
@ kUVW4
Definition: HWVertex.h:40
@ kBinormal
Definition: HWVertex.h:41
@ kUVW2
Definition: HWVertex.h:39
@ kUVW7
Definition: HWVertex.h:40
@ kUVW6
Definition: HWVertex.h:40
@ kTangent
Binormal and tangent channels To Be Implemented.
Definition: HWVertex.h:41
@ kVC1
Vertex Color 0-1.
Definition: HWVertex.h:38
@ kUVW1
Definition: HWVertex.h:39

Variable Documentation

◆ kMAX_COLORS

const unsigned int kMAX_COLORS = 2
static

This is the maximum number of supported vertex color channels.

◆ kMAX_TEXTURES

const unsigned int kMAX_TEXTURES = 8
static

This is the maximum number of supported uvw mapping channels.