KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
KarmaSmriti.h
Go to the documentation of this file.
1
10
11#pragma once
12
13#include "krpch.h"
14
16
17namespace Karma
18{
24 {
25 public:
32
39
45 void StartUp();
46
52 void ShutDown();
53
59 void* GetMemBlock() const { return m_pMemBlock; }
60
61 private:
67 void* m_pMemBlock = nullptr;
68
74 size_t m_TotalBytes = 0;
75
76 };
77}
#define KARMA_API
Defining Karma's API macro for storage class information.
Definition Core.h:41
This file contains the class FUObjectAllocator along with the global variable declaration and several...
void ShutDown()
Releases memory & any other resources held by the memory system (KarmaSmriti) and allocators.
Definition KarmaSmriti.cpp:31
KarmaSmriti()
Constructor.
Definition KarmaSmriti.cpp:8
void StartUp()
Allocates the memory block and sets up the memory system for use.
Definition KarmaSmriti.cpp:16
void * GetMemBlock() const
Getter for the pointer to start of allocated memory address.
Definition KarmaSmriti.h:59