vsg 1.1.8
VulkanSceneGraph library
Loading...
Searching...
No Matches
vsg::IntrusiveAllocator::MemoryBlocks Class Reference
Collaboration diagram for vsg::IntrusiveAllocator::MemoryBlocks:

Public Member Functions

 MemoryBlocks (IntrusiveAllocator *in_parent, const std::string &in_name, size_t in_blockSize, size_t in_alignment)
 
void * allocate (std::size_t size)
 
void report (std::ostream &out) const
 
bool validate () const
 
size_t deleteEmptyMemoryBlocks ()
 
size_t totalAvailableSize () const
 
size_t totalReservedSize () const
 
size_t totalMemorySize () const
 

Public Attributes

IntrusiveAllocatorparent = nullptr
 
std::string name
 
size_t alignment = 4
 
size_t blockSize = 0
 
size_t maximumAllocationSize = 0
 
std::vector< std::shared_ptr< MemoryBlock > > memoryBlocks
 
std::shared_ptr< MemoryBlockmemoryBlockWithSpace
 

The documentation for this class was generated from the following file: