public Chunk *GetCleanChunkNoMetaChunk(Archetype *archetype, SharedComponentValues sharedComponentValues) { var newChunk = AllocateChunk(); ChunkDataUtility.AddEmptyChunk(archetype, newChunk, sharedComponentValues); return(newChunk); }
public Chunk *GetCleanChunk(Archetype *archetype, SharedComponentValues sharedComponentValues) { var newChunk = AllocateChunk(); ChunkDataUtility.AddEmptyChunk(archetype, newChunk, sharedComponentValues); if (archetype->MetaChunkArchetype != null) { CreateMetaEntityForChunk(newChunk); } return(newChunk); }