KarmaEngine
Game Engine for practical learning and research purposes
|
Karma's memory management. Heavily influenced from https://github.com/ravimohan1991/cppGameMemorySystem and Unreal Engine. More...
#include <KarmaSmriti.h>
Public Member Functions | |
KarmaSmriti () | |
Constructor. | |
~KarmaSmriti () | |
Destructor. | |
void | StartUp () |
Allocates the memory block and sets up the memory system for use. | |
void | ShutDown () |
Releases memory & any other resources held by the memory system (KarmaSmriti) and allocators. | |
void * | GetMemBlock () const |
Getter for the pointer to start of allocated memory address. | |
Karma's memory management. Heavily influenced from https://github.com/ravimohan1991/cppGameMemorySystem and Unreal Engine.
Karma::KarmaSmriti::KarmaSmriti | ( | ) |
Constructor.
Karma::KarmaSmriti::~KarmaSmriti | ( | ) |
Destructor.
|
inline |
Getter for the pointer to start of allocated memory address.
void Karma::KarmaSmriti::ShutDown | ( | ) |
Releases memory & any other resources held by the memory system (KarmaSmriti) and allocators.
void Karma::KarmaSmriti::StartUp | ( | ) |
Allocates the memory block and sets up the memory system for use.