MeshData Class Reference
 
 
 
MeshData Class Reference

This reference page is linked to from the following overview topics: Retrieving Mesh Strip Data.


#include <ihardwareshader.h>

Inheritance diagram for MeshData:
MaxHeapOperators

Public Member Functions

  MeshData ()

Public Attributes

DWORD_PTR  id
int  numFaces
GWFace faces
int  numStrips
int  startStrip
int  endStrip
TriStripTab strips
DWORD  mapFlags
int  numXYZ
Point3 xyz
int  numNor
Point3 nor
DWTab norIndex
Point3 faceNor
int  numRGB [GFX_MAX_COLORS]
Point3 rgb [GFX_MAX_COLORS]
int  numUVW [GFX_MAX_TEXTURES]
Point3 uvw [GFX_MAX_TEXTURES]
int  numMtl
Material mtlArray
int  displayFlags
BitArray faceSel
BitArray edgeSel

Constructor & Destructor Documentation

MeshData ( ) [inline]
          : id(NULL),
                numFaces(0),
                faces(NULL),
                numStrips(0),
                startStrip(0),
                endStrip(0),
                strips(NULL),
                mapFlags(0),
                numXYZ(0),
                xyz(NULL),
                numNor(0),
                nor(NULL),
                norIndex(NULL),
                faceNor(NULL),
                numMtl(0),
                mtlArray(NULL),
                displayFlags(0),
                faceSel(NULL),
                edgeSel(NULL)
        {
                int kk;
                for (kk = 0; kk < GFX_MAX_COLORS; kk++) {
                        numRGB[kk] = 0;
                        rgb[kk] = NULL;
                }
                for (kk = 0; kk < GFX_MAX_TEXTURES; kk++) {
                        numUVW[kk] = 0;
                        uvw[kk] = NULL;
                }
        }

Member Data Documentation

int numRGB[GFX_MAX_COLORS]
int numUVW[GFX_MAX_TEXTURES]