vsg: vsg::Allocator::MemoryBlocks Struct Reference

vsg 1.1.3 VulkanSceneGraph library

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
vsg::Allocator::MemoryBlocks Struct Reference
Collaboration diagram for vsg::Allocator::MemoryBlocks:
[legend]

## 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
Allocator * | parent = nullptr
std::string | name
size_t | blockSize = 0
std::map< void *, std::shared_ptr< MemoryBlock > > | memoryBlocks
std::shared_ptr< MemoryBlock > | latestMemoryBlock

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

- include/vsg/core/Allocator.h