Flecs v3.2
A fast entity component system (ECS) for C & C++
|
Unsafe wrapper class around a field. More...
#include <field.hpp>
Public Member Functions | |
untyped_field (void *array, size_t size, size_t count, bool is_shared=false) | |
void * | operator[] (size_t index) const |
Return element in component array. | |
Protected Attributes | |
void * | m_data |
size_t | m_size |
size_t | m_count |
bool | m_is_shared |
Unsafe wrapper class around a field.
This class can be used when a system does not know the type of a field at compile time.