3ds Max C++ API Reference
Loading...
Searching...
No Matches
MeshData Class Reference

#include <C:/adskgit/3dsmax/3dsmax/3dswin/src/maxsdk/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
Point3 * xyz
int numNor
Point3 * nor
DWTabnorIndex
Point3 * faceNor
int numRGB [GFX_MAX_COLORS]
Point3 * rgb [GFX_MAX_COLORS]
int numUVW [GFX_MAX_TEXTURES]
Point3 * uvw [GFX_MAX_TEXTURES]
int numMtl
MaterialmtlArray
int displayFlags
BitArray * faceSel
BitArray * edgeSel

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.

Constructor & Destructor Documentation

◆ MeshData()

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),
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 }
#define NULL
Definition autoptr.h:18
DWORD mapFlags
Definition ihardwareshader.h:140
int numNor
Definition ihardwareshader.h:143
DWORD_PTR id
Definition ihardwareshader.h:133
int numRGB[GFX_MAX_COLORS]
Definition ihardwareshader.h:147
TriStripTab * strips
Definition ihardwareshader.h:139
int numStrips
Definition ihardwareshader.h:136
int numFaces
Definition ihardwareshader.h:134
BitArray * faceSel
Definition ihardwareshader.h:154
Point3 * faceNor
Definition ihardwareshader.h:146
Point3 * uvw[GFX_MAX_TEXTURES]
Definition ihardwareshader.h:150
BitArray * edgeSel
Definition ihardwareshader.h:155
int numUVW[GFX_MAX_TEXTURES]
Definition ihardwareshader.h:149
int numXYZ
Definition ihardwareshader.h:141
int displayFlags
Definition ihardwareshader.h:153
GWFace * faces
Definition ihardwareshader.h:135
int numMtl
Definition ihardwareshader.h:151
Material * mtlArray
Definition ihardwareshader.h:152
Point3 * xyz
Definition ihardwareshader.h:142
DWTab * norIndex
Definition ihardwareshader.h:145
Point3 * nor
Definition ihardwareshader.h:144
int endStrip
Definition ihardwareshader.h:138
Point3 * rgb[GFX_MAX_COLORS]
Definition ihardwareshader.h:148
int startStrip
Definition ihardwareshader.h:137
#define GFX_MAX_TEXTURES
Definition GraphicsConstants.h:174
#define GFX_MAX_COLORS
Definition ihardwareshader.h:33

Member Data Documentation

◆ id

DWORD_PTR id

◆ numFaces

int numFaces

◆ faces

GWFace* faces

◆ numStrips

int numStrips

◆ startStrip

int startStrip

◆ endStrip

int endStrip

◆ strips

TriStripTab* strips

◆ mapFlags

DWORD mapFlags

◆ numXYZ

int numXYZ

◆ xyz

Point3* xyz

◆ numNor

int numNor

◆ nor

Point3* nor

◆ norIndex

DWTab* norIndex

◆ faceNor

Point3* faceNor

◆ numRGB

◆ rgb

Point3* rgb[GFX_MAX_COLORS]

◆ numUVW

◆ uvw

Point3* uvw[GFX_MAX_TEXTURES]

◆ numMtl

int numMtl

◆ mtlArray

Material* mtlArray

◆ displayFlags

int displayFlags

◆ faceSel

BitArray* faceSel

◆ edgeSel

BitArray* edgeSel