Constant shard_ecs::MAX_ARCHETYPE_POOL_COUNT[][src]

pub const MAX_ARCHETYPE_POOL_COUNT: usize = 65536;
Expand description

Max amount of pools per archetype that can exist. Is defined to be 65536: 2^16. As at most all entities can have 1 component of a given type. Therefore, pool_count * components_per_pool == entity_count must hold.