Class Tree.MultithreadedSelfTest<TOverlapHandler>
- Namespace
- BepuPhysics.Trees
- Assembly
- BepuPhysics.dll
public class Tree.MultithreadedSelfTest<TOverlapHandler> where TOverlapHandler : struct, IOverlapHandlerType Parameters
- TOverlapHandler
- Inheritance
- 
      
      Tree.MultithreadedSelfTest<TOverlapHandler>
- Inherited Members
Constructors
MultithreadedSelfTest(BufferPool)
public MultithreadedSelfTest(BufferPool pool)Parameters
- poolBufferPool
Fields
OverlapHandlers
public TOverlapHandler[] OverlapHandlersField Value
- TOverlapHandler[]
Pool
public BufferPool PoolField Value
- BufferPool
Tree
public Tree TreeField Value
Properties
JobCount
public int JobCount { get; }Property Value
Methods
CompleteSelfTest()
Cleans up after a multithreaded self test.
public void CompleteSelfTest()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
- workerIndexint
- Index of the worker executing this set of tests. 
PrepareJobs(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 tree, TOverlapHandler[] overlapHandlers, int threadCount)