vsg  1.0.4
VulkanSceneGraph library
Public Member Functions | Public Attributes | List of all members
vsg::Allocator::MemoryBlocks Struct Reference
Collaboration diagram for vsg::Allocator::MemoryBlocks:
Collaboration graph

Public Member Functions

 MemoryBlocks (Allocator *in_parent, const std::string &in_name, size_t in_blockSize)
void * allocate (std::size_t size)
bool deallocate (void *ptr, std::size_t size)
size_t deleteEmptyMemoryBlocks ()
size_t totalAvailableSize () const
size_t totalReservedSize () const
size_t totalMemorySize () const

Public Attributes

Allocatorparent = nullptr
std::string name
size_t blockSize = 0
std::list< std::unique_ptr< MemoryBlock > > memoryBlocks

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