41 void free(uint32_t index);
61 void reset(
int newSize);
uint32_t allocate()
Get an index where there is no data in the array.
void reset(int newSize)
Resets all values in the buffers and allocates with new size.
size_t getCapacity() const
std::stack< uint32_t > freeIndices
std::vector< uint32_t > usedIndices
DescriptorIndexAllocator()=delete
const std::vector< uint32_t > & getUsedIndices() const
Gets the indices of all allocated fields in the array.
void free(uint32_t index)
Frees a cell in the array where the memory is not used anymore.
Log category system implementation.