![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
Runtime field metadata parameterized by its string representation. StringType selects borrowed registration text or cache-owned interned identifiers. More...
#include <component_desc.h>
Public Attributes | |
| StringType | name {} |
| Field symbol or its interned identifier. | |
| 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. | |
| Entity | semantic = EntityBad |
| Optional named entity identifying the authored semantic. | |
| RuntimeFieldFlagsType | flags = RuntimeFieldFlag_None |
| Presentation and validation flags. | |
| StringType | unit {} |
| Optional unit label or its interned identifier. | |
| double | minimum = 0.0 |
| Inclusive minimum when RuntimeFieldFlag_HasMinimum is set. | |
| double | maximum = 0.0 |
| Inclusive maximum when RuntimeFieldFlag_HasMaximum is set. | |
| double | step = 0.0 |
| Preferred input step when RuntimeFieldFlag_HasStep is set. | |
Static Public Attributes | |
| static constexpr uint32_t | MaxUnitLength = 32 |
| Maximum supported unit length including the null terminator. | |
Runtime field metadata parameterized by its string representation. StringType selects borrowed registration text or cache-owned interned identifiers.