Class ArchetypeClusterInfoRecord
Inline cluster-layout descriptor for an archetype's SoA chunk format. Mirrors ArchetypeClusterInfo; serialised inline
with each ArchetypeDefinitionRecord when the archetype is cluster-eligible.
public sealed class ArchetypeClusterInfoRecord
- Inheritance
-
ArchetypeClusterInfoRecord
- Inherited Members
Constructors
ArchetypeClusterInfoRecord()
public ArchetypeClusterInfoRecord()
Properties
ClusterSize
Entities per cluster (8–64). Power of 2 in practice but not enforced at the wire level.
public ushort ClusterSize { get; init; }
Property Value
ClusterStride
Total bytes per cluster (header + per-component arrays + element-id tail).
public uint ClusterStride { get; init; }
Property Value
EntityIdsOffset
Byte offset of the entity-id array within the cluster.
public uint EntityIdsOffset { get; init; }
Property Value
HeaderSize
Bytes of header before the per-component arrays start (8 + 8 × ComponentCount in the engine).
public uint HeaderSize { get; init; }
Property Value
IndexElementIdsBaseOffset
Byte offset of the index-element-id base region within the cluster.
public uint IndexElementIdsBaseOffset { get; init; }
Property Value
MultipleIndexedFieldCount
Number of multi-valued indexed fields contributing element-id slots in the cluster tail.
public ushort MultipleIndexedFieldCount { get; init; }