M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.IParallelDriver Interface Reference

Inherited by TaleWorlds.Engine.NativeParallelDriver, and TaleWorlds.Library.DefaultParallelDriver.

Public Member Functions

void For (int fromInclusive, int toExclusive, TWParallel.ParallelForAuxPredicate body, int grainSize)
 
void For (int fromInclusive, int toExclusive, float deltaTime, TWParallel.ParallelForWithDtAuxPredicate body, int grainSize)
 
ulong GetMainThreadId ()
 
ulong GetCurrentThreadId ()
 

Member Function Documentation

◆ For() [1/2]

void TaleWorlds.Library.IParallelDriver.For ( int  fromInclusive,
int  toExclusive,
TWParallel.ParallelForAuxPredicate  body,
int  grainSize 
)

◆ For() [2/2]

void TaleWorlds.Library.IParallelDriver.For ( int  fromInclusive,
int  toExclusive,
float  deltaTime,
TWParallel.ParallelForWithDtAuxPredicate  body,
int  grainSize 
)

◆ GetMainThreadId()

ulong TaleWorlds.Library.IParallelDriver.GetMainThreadId ( )

◆ GetCurrentThreadId()

ulong TaleWorlds.Library.IParallelDriver.GetCurrentThreadId ( )