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

#include <DefaultRawMemoryAllocator.hpp>

Inheritance diagram for Diligent::DefaultRawMemoryAllocator:
Diligent::IMemoryAllocator

Public Member Functions

 DefaultRawMemoryAllocator ()
 
virtual void * Allocate (size_t Size, const Char *dbgDescription, const char *dbgFileName, const Int32 dbgLineNumber) override
 Allocates block of memory. More...
 
virtual void Free (void *Ptr) override
 Releases memory. More...
 

Static Public Member Functions

static DefaultRawMemoryAllocatorGetAllocator ()
 

Constructor & Destructor Documentation

◆ DefaultRawMemoryAllocator()

Diligent::DefaultRawMemoryAllocator::DefaultRawMemoryAllocator ( )

Member Function Documentation

◆ Allocate()

void * Diligent::DefaultRawMemoryAllocator::Allocate ( size_t  Size,
const Char dbgDescription,
const char *  dbgFileName,
const Int32  dbgLineNumber 
)
overridevirtual

Allocates block of memory.

Implements Diligent::IMemoryAllocator.

◆ Free()

void Diligent::DefaultRawMemoryAllocator::Free ( void *  Ptr)
overridevirtual

Releases memory.

Implements Diligent::IMemoryAllocator.

◆ GetAllocator()

DefaultRawMemoryAllocator & Diligent::DefaultRawMemoryAllocator::GetAllocator ( )
static

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