ChunkEntities.TaskIndex.md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.ChunkEntities

ChunkEntities.TaskIndex Field

if 0 - The entities are provided from the main (caller) thread using foreach(...) loop, Run() or RunParallel().
if >= 1 - The entities are provided from a worker thread using RunParallel().

public readonly byte TaskIndex;

Field Value

System.Byte

Contents

  1. 0.1Friflo.Engine.ECS.ChunkEntities
  2. 1ChunkEntities.TaskIndex Field