Class Tree.MultithreadedIntertreeTest<TOverlapHandler>
- Namespace
- BepuPhysics.Trees
- Assembly
- BepuPhysics.dll
public class Tree.MultithreadedIntertreeTest<TOverlapHandler> where TOverlapHandler : struct, IOverlapHandler
Type Parameters
TOverlapHandler
- Inheritance
-
Tree.MultithreadedIntertreeTest<TOverlapHandler>
- Inherited Members
Constructors
MultithreadedIntertreeTest(BufferPool)
public MultithreadedIntertreeTest(BufferPool pool)
Parameters
pool
BufferPool
Fields
OverlapHandlers
public TOverlapHandler[] OverlapHandlers
Field Value
- TOverlapHandler[]
Pool
public BufferPool Pool
Field Value
- BufferPool
TreeA
public Tree TreeA
Field Value
TreeB
public Tree TreeB
Field Value
Properties
JobCount
public int JobCount { get; }
Property Value
Methods
CompleteTest()
Cleans up after a multithreaded self test.
public void CompleteTest()
ExecuteJob(int, int)
public void ExecuteJob(int jobIndex, int workerIndex)
Parameters
PairTest(int)
Executes a single worker of the multithreaded self test.
public void PairTest(int workerIndex)
Parameters
workerIndex
intIndex of the worker executing this set of tests.
PrepareJobs(ref Tree, ref Tree, TOverlapHandler[], int)
Prepares the jobs associated with a self test. Must be called before a dispatch over PairTest.
public void PrepareJobs(ref Tree treeA, ref Tree treeB, TOverlapHandler[] overlapHandlers, int threadCount)