class
RendererIdAllocator
Allocator for RendererId values.
Deallocated IDs may be re-used. Increments version on reuse.
Public
Methods
Allocate
RendererId Allocate()
Allocates a new RendererId: pops from free list (with bumped version) or creates a fresh ID at version 0.
Deallocate
void Deallocate(RendererId objectId)
Deallocates a RendererId, pushing it to the free list and increments the version.
Private
Fields
mNextIdentifier
u32 mNextIdentifier
mFreeList
TArray<RendererId> mFreeList