FFL
Loading...
Searching...
No Matches
FFLiAllocator Class Reference

#include <FFLiAllocator.h>

Public Member Functions

 FFLiAllocator ()
 ~FFLiAllocator ()
void Init (void *pBuffer, u32 size)
bool IsValid () const
void * Allocate (u32 size, u32 alignment=4)
void Free (void *ptr)

Private Attributes

MEMHeapHandle m_HeapHandle

Constructor & Destructor Documentation

◆ FFLiAllocator()

FFLiAllocator::FFLiAllocator ( )

◆ ~FFLiAllocator()

FFLiAllocator::~FFLiAllocator ( )

Member Function Documentation

◆ Init()

void FFLiAllocator::Init ( void * pBuffer,
u32 size )

◆ IsValid()

bool FFLiAllocator::IsValid ( ) const

◆ Allocate()

void * FFLiAllocator::Allocate ( u32 size,
u32 alignment = 4 )

◆ Free()

void FFLiAllocator::Free ( void * ptr)

Member Data Documentation

◆ m_HeapHandle

MEMHeapHandle FFLiAllocator::m_HeapHandle
private