Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
CDataChunk Class Reference

Public Member Functions

unsigned int AddDataChunk (DataChunkID dataid, CElementMethods *methods, unsigned int flags)
 
void AppendDataChunks (const CDataChunk &srcdata, bool emptyData=true)
 
void InitDataChunks (const CDataChunk &src, unsigned int size=-1)
 
bool RemoveDataChunk (DataChunkID dataid)
 
bool HasDataChunk (DataChunkID dataid) const
 
int SetGrowFactor (int growFaceMode)
 
void PreAllocate (int estimatedSize, bool constructAllElementsOnce=false)
 
void SetDataSize (unsigned int size, bool growOnly=false, unsigned int growFaceMode=CElementArray::GROW_KEEP_MODE)
 
void ExpandDataSize (unsigned int addsize)
 
unsigned int GetDataSize () const
 
void FreeExtra ()
 
voidGetMainData (unsigned int index) const
 
voidGetData (DataChunkID id, unsigned int index) const
 
void DeleteAll ()
 
void RemoveAll ()
 
unsigned int GetChunksNbr () const
 
HashPos GetFirstChunk () const
 
void GetNextChunk (HashPos &pos, DataChunkID &id) const
 
const CElementArrayGetData (unsigned int dataChunkID) const
 
SIZET GetSizeOfDataChunk (DataChunkID dataid) const
 
unsigned int CopyData (unsigned int dstindex, unsigned int srcindex, const CDataChunk &srcdata)
 
unsigned int CopyData (const CDataChunk &refdata)
 
bool Reorder (const unsigned int *reforder, unsigned int size, bool moveToDestinationIndexes)
 
void Serialize (CXArchive &ar)
 

The documentation for this class was generated from the following file: