Scripting API

Scripting API

ParallelChunkBody

Delegate in Abyss.Core, from Abyss.Core.

What SystemContext.ForEachChunkParallel runs for each slice of the system's chunks: a part of one chunk, on whichever thread took it.

public delegate void ParallelChunkBody(Chunk chunk, in SystemContext context);

Parameters

  • chunk: The slice, a chunk of its own: its spans start at the slice's first row.
  • context: The system's context as a slice sees it: the delta time, the frame, the resources it reads and the editor's selection. Nothing that changes the world — see SystemContext.ForEachChunkParallel.