MeshData Class Reference

#include <ihardwareshader.h>

+ Inheritance diagram for MeshData:

Public Member Functions

 MeshData ()
 

Public Attributes

DWORD_PTR id
 
int numFaces
 
GWFacefaces
 
int numStrips
 
int startStrip
 
int endStrip
 
TriStripTabstrips
 
DWORD mapFlags
 
int numXYZ
 
Point3xyz
 
int numNor
 
Point3nor
 
DWTabnorIndex
 
Point3faceNor
 
int numRGB [GFX_MAX_COLORS]
 
Point3rgb [GFX_MAX_COLORS]
 
int numUVW [GFX_MAX_TEXTURES]
 
Point3uvw [GFX_MAX_TEXTURES]
 
int numMtl
 
MaterialmtlArray
 
int displayFlags
 
BitArrayfaceSel
 
BitArrayedgeSel
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 

Constructor & Destructor Documentation

MeshData ( )
inline
158  : id(NULL),
159  numFaces(0),
160  faces(NULL),
161  numStrips(0),
162  startStrip(0),
163  endStrip(0),
164  strips(NULL),
165  mapFlags(0),
166  numXYZ(0),
167  xyz(NULL),
168  numNor(0),
169  nor(NULL),
170  norIndex(NULL),
171  faceNor(NULL),
172  numMtl(0),
173  mtlArray(NULL),
174  displayFlags(0),
175  faceSel(NULL),
176  edgeSel(NULL)
177  {
178  int kk;
179  for (kk = 0; kk < GFX_MAX_COLORS; kk++) {
180  numRGB[kk] = 0;
181  rgb[kk] = NULL;
182  }
183  for (kk = 0; kk < GFX_MAX_TEXTURES; kk++) {
184  numUVW[kk] = 0;
185  uvw[kk] = NULL;
186  }
187  }
GWFace * faces
Definition: ihardwareshader.h:135
BitArray * faceSel
Definition: ihardwareshader.h:154
int numRGB[GFX_MAX_COLORS]
Definition: ihardwareshader.h:147
Point3 * uvw[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:150
int numFaces
Definition: ihardwareshader.h:134
int numXYZ
Definition: ihardwareshader.h:141
int numStrips
Definition: ihardwareshader.h:136
Material * mtlArray
Definition: ihardwareshader.h:152
int numNor
Definition: ihardwareshader.h:143
DWORD_PTR id
Definition: ihardwareshader.h:133
Point3 * xyz
Definition: ihardwareshader.h:142
#define NULL
Definition: autoptr.h:18
int displayFlags
Definition: ihardwareshader.h:153
int endStrip
Definition: ihardwareshader.h:138
Point3 * faceNor
Definition: ihardwareshader.h:146
#define GFX_MAX_COLORS
Definition: ihardwareshader.h:33
DWORD mapFlags
Definition: ihardwareshader.h:140
#define GFX_MAX_TEXTURES
Definition: GraphicsConstants.h:168
int numUVW[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:149
TriStripTab * strips
Definition: ihardwareshader.h:139
int numMtl
Definition: ihardwareshader.h:151
Point3 * nor
Definition: ihardwareshader.h:144
BitArray * edgeSel
Definition: ihardwareshader.h:155
Point3 * rgb[GFX_MAX_COLORS]
Definition: ihardwareshader.h:148
DWTab * norIndex
Definition: ihardwareshader.h:145
int startStrip
Definition: ihardwareshader.h:137

Member Data Documentation

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 numMtl
Material* mtlArray
int displayFlags
BitArray* faceSel
BitArray* edgeSel