Bitmask storage for each entities components.
More...
#include <Scene.hpp>
|
| ComponentPool (size_t elementsize) |
| Construct a new Component Pool object based on Component size.
|
|
| ~ComponentPool () |
| Destroy the Component Pool object.
|
|
void * | get (size_t index) |
| Get the component value at the desired index.
|
|
Bitmask storage for each entities components.
◆ ComponentPool()
ComponentPool::ComponentPool |
( |
size_t | elementsize | ) |
|
|
inline |
Construct a new Component Pool object based on Component size.
- Parameters
-
◆ ~ComponentPool()
ComponentPool::~ComponentPool |
( |
| ) |
|
|
inline |
Destroy the Component Pool object.
◆ get()
void * ComponentPool::get |
( |
size_t | index | ) |
|
|
inline |
Get the component value at the desired index.
- Parameters
-
- Returns
- void*
◆ elementSize
size_t ComponentPool::elementSize {0} |
◆ pData
char* ComponentPool::pData {nullptr} |
The documentation for this struct was generated from the following file: