Diligent Engine  v.2.4.g
Public Member Functions | List of all members
Diligent::SRBMemoryAllocator Class Reference

#include <SRBMemoryAllocator.hpp>

Public Member Functions

 SRBMemoryAllocator (IMemoryAllocator &RawMemAllocator)
 
 ~SRBMemoryAllocator ()
 
void Initialize (Uint32 SRBAllocationGranularity, Uint32 ShaderVariableDataAllocatorCount, const size_t *const ShaderVariableDataSizes, Uint32 ResourceCacheDataAllocatorCount, const size_t *const ResourceCacheDataSizes)
 
IMemoryAllocatorGetShaderVariableDataAllocator (Uint32 Ind)
 
IMemoryAllocatorGetResourceCacheDataAllocator (Uint32 Ind)
 

Constructor & Destructor Documentation

◆ SRBMemoryAllocator()

Diligent::SRBMemoryAllocator::SRBMemoryAllocator ( IMemoryAllocator RawMemAllocator)
inline

◆ ~SRBMemoryAllocator()

Diligent::SRBMemoryAllocator::~SRBMemoryAllocator ( )

Member Function Documentation

◆ GetResourceCacheDataAllocator()

IMemoryAllocator& Diligent::SRBMemoryAllocator::GetResourceCacheDataAllocator ( Uint32  Ind)
inline

◆ GetShaderVariableDataAllocator()

IMemoryAllocator& Diligent::SRBMemoryAllocator::GetShaderVariableDataAllocator ( Uint32  Ind)
inline

◆ Initialize()

void Diligent::SRBMemoryAllocator::Initialize ( Uint32  SRBAllocationGranularity,
Uint32  ShaderVariableDataAllocatorCount,
const size_t *const  ShaderVariableDataSizes,
Uint32  ResourceCacheDataAllocatorCount,
const size_t *const  ResourceCacheDataSizes 
)

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