|
vsg
1.0.4
VulkanSceneGraph library
|

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::list< std::unique_ptr< MemoryBlock > > | memoryBlocks |