Interface IParallelWork ​
Namespace: ValveResourceFormat.Renderer.Utils
Assembly: Renderer.dll
A body of work split by index across ParallelDispatch. Implemented by a long lived object, so that running it allocates nothing.
csharp
public interface IParallelWorkMethods ​
Execute(int) ​
Runs one item, alongside other indices. Must not touch state shared with other indices.
csharp
void Execute(int index)Parameters ​
index int
Item to run, within the count passed to ParallelDispatch.Run(IParallelWork, int).

