M&B: Bannerlord 1.2.10
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.NativeParallelDriver Class Referencesealed

Inherits TaleWorlds.Library.IParallelDriver.

Public Member Functions

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

Member Function Documentation

◆ For() [1/2]

void TaleWorlds.Engine.NativeParallelDriver.For ( int fromInclusive,
int toExclusive,
TWParallel.ParallelForAuxPredicate loopBody,
int grainSize )

◆ For() [2/2]

void TaleWorlds.Engine.NativeParallelDriver.For ( int fromInclusive,
int toExclusive,
float deltaTime,
TWParallel.ParallelForWithDtAuxPredicate loopBody,
int grainSize )

◆ GetMainThreadId()

ulong TaleWorlds.Engine.NativeParallelDriver.GetMainThreadId ( )

◆ GetCurrentThreadId()

ulong TaleWorlds.Engine.NativeParallelDriver.GetCurrentThreadId ( )