|
Public Types | |
typedef StubType::ChunkType | ChunkType |
Bring the chunk type in as a local typedef to save indirection. | |
Public Member Functions | |
AtlasBaseTOC () | |
~AtlasBaseTOC () | |
StubType * | getStub (const U32 level, const Point2I pos) |
Get the stub for a given position in the quadtree. | |
U32 | getStubCount () |
StubType * | getStub (U32 idx) |
Protected Member Functions | |
void | helpInitializeTOC (U32 depth) |
Helper function to allocate the right number of stubs for a quadtree of the specified depth, as well as construct them, set their positions and so forth. | |
Protected Attributes | |
StubType * | mStubs |
U32 | mStubCount |
typedef StubType::ChunkType AtlasBaseTOC< StubType >::ChunkType |
Bring the chunk type in as a local typedef to save indirection.
Reimplemented in AtlasResourceTOC< StubTypeT >, AtlasResourceTOC< AtlasResourceGeomStub >, AtlasResourceTOC< AtlasResourceConfigStub >, and AtlasResourceTOC< AtlasResourceTexStub >.
AtlasBaseTOC< StubType >::AtlasBaseTOC | ( | ) | [inline] |
AtlasBaseTOC< StubType >::~AtlasBaseTOC | ( | ) | [inline] |
void AtlasBaseTOC< StubType >::helpInitializeTOC | ( | U32 | depth | ) | [inline, protected] |
Helper function to allocate the right number of stubs for a quadtree of the specified depth, as well as construct them, set their positions and so forth.
StubType* AtlasBaseTOC< StubType >::getStub | ( | const U32 | level, | |
const Point2I | pos | |||
) | [inline] |
Get the stub for a given position in the quadtree.
U32 AtlasBaseTOC< StubType >::getStubCount | ( | ) | [inline] |
StubType* AtlasBaseTOC< StubType >::getStub | ( | U32 | idx | ) | [inline] |
StubType* AtlasBaseTOC< StubType >::mStubs [protected] |
U32 AtlasBaseTOC< StubType >::mStubCount [protected] |