Doxygen Samurai Engine 0.0.1
Doxygen Samurai Engine Documentation
Loading...
Searching...
No Matches
runtimeContainer.h
Go to the documentation of this file.
1#pragma once
2#include <baseContainer.h>
4
6
7namespace samurai
8{
9
10
12{
13 //this is the base adress of the runtime container. here is the beginning of all the allocated memory
15
16 char baseContainerName[50] = {};
17 //std::string name = {};
18
19 //this is the pointer to the container virtual class
21
22 //this is the container memory arena. here we have all the static data of the container
24
25 //this is the allocator of the arena.
27 size_t totalSize = 0;
28
29 //bonus allocators
31
33
35
36 unsigned int frameCounter = 0;
37 float frameTimer = 0;
38 float currentMs = 0;
39
40};
41
42
43}
samurai::memory::CustomAllocator allocator
RequestedContainerInfo requestedContainerInfo
samurai::StaticVector< samurai::memory::CustomAllocator, MaxAllocatorsCount > bonusAllocators
samurai::memory::MemoryArena arena