![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
Callback table for adapter-owned dynamic sequence values. More...
#include <component_desc.h>
Public Attributes | |
| void * | ctx = nullptr |
| User context passed to all callbacks. | |
| bool(* | count )(void *, const RuntimeSequenceScope &, uint32_t &) = nullptr |
| Reads the dynamic element count. Required for traversal. | |
| bool(* | element )(void *, const RuntimeSequenceScope &, uint32_t, RuntimeSequenceElement &) = nullptr |
| Selects one element by index. Required for traversal. | |
| bool(* | resize )(void *, RuntimeSequenceScope &, uint32_t) = nullptr |
| Resizes the sequence. Optional. Required for JSON load into dynamic sequences. | |
| bool(* | commitElement )(void *, RuntimeSequenceScope &, RuntimeSequenceElement &) = nullptr |
| Commits a projected element after cursor writes. Optional for direct element pointers. Returning false must not publish external side effects. | |
Callback table for adapter-owned dynamic sequence values.