Diligent Engine  v.2.4.g
Public Types | Public Member Functions | Protected Member Functions | List of all members
Diligent::DynamicHeap::MasterBlockListBasedManager Class Reference

#include <DynamicHeap.hpp>

Inheritance diagram for Diligent::DynamicHeap::MasterBlockListBasedManager:
Diligent::VulkanDynamicMemoryManager

Public Types

using OffsetType = VariableSizeAllocationsManager::OffsetType
 
using MasterBlock = VariableSizeAllocationsManager::Allocation
 

Public Member Functions

 MasterBlockListBasedManager (IMemoryAllocator &Allocator, Uint32 Size)
 
 MasterBlockListBasedManager (const MasterBlockListBasedManager &)=delete
 
 MasterBlockListBasedManager (MasterBlockListBasedManager &&)=delete
 
MasterBlockListBasedManageroperator= (const MasterBlockListBasedManager &)=delete
 
MasterBlockListBasedManageroperator= (MasterBlockListBasedManager &&)=delete
 
 ~MasterBlockListBasedManager ()
 
template<typename RenderDeviceImplType >
void ReleaseMasterBlocks (std::vector< MasterBlock > &Blocks, RenderDeviceImplType &Device, Uint64 CmdQueueMask)
 
OffsetType GetSize () const
 
OffsetType GetUsedSize () const
 

Protected Member Functions

MasterBlock AllocateMasterBlock (OffsetType SizeInBytes, OffsetType Alignment)
 

Member Typedef Documentation

◆ MasterBlock

◆ OffsetType

Constructor & Destructor Documentation

◆ MasterBlockListBasedManager() [1/3]

Diligent::DynamicHeap::MasterBlockListBasedManager::MasterBlockListBasedManager ( IMemoryAllocator Allocator,
Uint32  Size 
)
inline

◆ MasterBlockListBasedManager() [2/3]

Diligent::DynamicHeap::MasterBlockListBasedManager::MasterBlockListBasedManager ( const MasterBlockListBasedManager )
delete

◆ MasterBlockListBasedManager() [3/3]

Diligent::DynamicHeap::MasterBlockListBasedManager::MasterBlockListBasedManager ( MasterBlockListBasedManager &&  )
delete

◆ ~MasterBlockListBasedManager()

Diligent::DynamicHeap::MasterBlockListBasedManager::~MasterBlockListBasedManager ( )
inline

Member Function Documentation

◆ AllocateMasterBlock()

MasterBlock Diligent::DynamicHeap::MasterBlockListBasedManager::AllocateMasterBlock ( OffsetType  SizeInBytes,
OffsetType  Alignment 
)
inlineprotected

◆ GetSize()

OffsetType Diligent::DynamicHeap::MasterBlockListBasedManager::GetSize ( ) const
inline

◆ GetUsedSize()

OffsetType Diligent::DynamicHeap::MasterBlockListBasedManager::GetUsedSize ( ) const
inline

◆ operator=() [1/2]

MasterBlockListBasedManager& Diligent::DynamicHeap::MasterBlockListBasedManager::operator= ( const MasterBlockListBasedManager )
delete

◆ operator=() [2/2]

MasterBlockListBasedManager& Diligent::DynamicHeap::MasterBlockListBasedManager::operator= ( MasterBlockListBasedManager &&  )
delete

◆ ReleaseMasterBlocks()

template<typename RenderDeviceImplType >
void Diligent::DynamicHeap::MasterBlockListBasedManager::ReleaseMasterBlocks ( std::vector< MasterBlock > &  Blocks,
RenderDeviceImplType &  Device,
Uint64  CmdQueueMask 
)
inline

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