Flecs v4.0
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 * | data_ |
size_t | size_ |
size_t | count_ |
bool | 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.
|
inline |
|
inline |