Torque3D Documentation / _generateds / MultiTypedChunker

MultiTypedChunker

Engine/source/core/dataChunker.h

This class is similar to the Chunker<> class above.

More...

Public Functions

T *

Use like so: MyType* t = chunker.alloc();.

Detailed Description

This class is similar to the Chunker<> class above.

But it allows for multiple types of structs to be stored.
CodeReview: This could potentially go into DataChunker directly, but I wasn't sure if CodeReview: That would be polluting it. BTR

Public Functions

MultiTypedChunker(S32 size)

alloc()

Use like so: MyType* t = chunker.alloc();.

clear()