News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

TNL::DataChunker::DataBlock struct Reference

TNL::DataChunker::DataBlock Struct Reference


Detailed Description

DataBlock representation for each page of the DataChunker.


Public Member Functions

 DataBlock (S32 size)
 ~DataBlock ()

Data Fields

DataBlock * next
 linked list pointer to the next DataBlock for this chunker

U8 * data
 allocated pointer for the base of this page

S32 curIndex
 current allocation point within this DataBlock


Constructor & Destructor Documentation

TNL::DataChunker::DataBlock::DataBlock (  S32  size  ) 
 

TNL::DataChunker::DataBlock::~DataBlock (   ) 
 


Field Documentation

DataBlock* TNL::DataChunker::DataBlock::next
 

linked list pointer to the next DataBlock for this chunker

U8* TNL::DataChunker::DataBlock::data
 

allocated pointer for the base of this page

S32 TNL::DataChunker::DataBlock::curIndex
 

current allocation point within this DataBlock