Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::RuntimeTypeDesc Struct Referencefinal

Runtime reflection metadata embedded in a component descriptor or supplied to typed registration. Storage, lifecycle callbacks, symbol, size, alignment, and lookup hash remain component properties. More...

#include <component_desc.h>

Public Attributes

RuntimeTypeKind typeKind = RuntimeTypeKind::Struct
 Runtime reflection type kind.
 
Entity semantic = EntityBad
 Optional named entity identifying the authored semantic.
 
Entity underlyingType = EntityBad
 Primitive storage type for enum/bitmask metadata. EntityBad otherwise.
 
const RuntimeFieldInitfields = nullptr
 Runtime field initializers copied during registration.
 
uint32_t fieldCount = 0
 Number of field initializers.
 
const RuntimeConstantInitconstants = nullptr
 Runtime constant initializers copied during registration.
 
uint32_t constantCount = 0
 Number of constant initializers.
 
Entity elementType = EntityBad
 Element type for fixed array or dynamic vector metadata.
 
uint32_t elementCount = 0
 Fixed element count for array metadata. 0 otherwise.
 
Entity opaqueAsType = EntityBad
 Semantic runtime type exposed by opaque metadata. EntityBad otherwise.
 
const RuntimeSequenceAdaptersequenceAdapter = nullptr
 Optional adapter for dynamic sequence metadata. The callback table must outlive the registration.
 
const RuntimeOpaqueAdapteropaqueAdapter = nullptr
 Optional adapter for opaque semantic projections. The callback table must outlive the registration.
 

Detailed Description

Runtime reflection metadata embedded in a component descriptor or supplied to typed registration. Storage, lifecycle callbacks, symbol, size, alignment, and lookup hash remain component properties.


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