Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::RuntimeFieldDesc Struct Referencefinal

User-authored runtime field descriptor. A count of 0 means scalar; positive values describe a fixed inline array. More...

#include <component_desc.h>

Public Attributes

util::str_view name {}
 Field symbol.
 
Entity type = EntityBad
 Entity describing the field type.
 
uint32_t offset = 0
 Byte offset from the start of the component payload.
 
uint32_t count = 0
 Inline array element count. 0 means scalar.
 

Detailed Description

User-authored runtime field descriptor. A count of 0 means scalar; positive values describe a fixed inline array.


The documentation for this struct was generated from the following file: