Torque3D Documentation / _generateds / MemoryPoolAllocator::ChunkHeader

MemoryPoolAllocator::ChunkHeader

Engine/source/persistence/rapidjson/allocators.h

Chunk header for perpending to each chunk.

More...

Public Attributes

size_t

Capacity of the chunk in bytes (excluding the header itself).

ChunkHeader *

Next chunk in the linked list.

size_t

Current size of allocated memory in bytes.

Detailed Description

Chunk header for perpending to each chunk.

Chunks are stored as a singly linked list.

Public Attributes

size_t capacity 

Capacity of the chunk in bytes (excluding the header itself).

ChunkHeader * next 

Next chunk in the linked list.

size_t size 

Current size of allocated memory in bytes.