Table of Contents

Struct WorkerPendingPairChanges

Namespace
BepuPhysics.CollisionDetection
Assembly
BepuPhysics.dll

Contains the pending pair cache changes created by a single worker during the last execution of narrow phase pair processing.

public struct WorkerPendingPairChanges
Inherited Members

Constructors

WorkerPendingPairChanges(BufferPool, int)

public WorkerPendingPairChanges(BufferPool pool, int pendingCapacity)

Parameters

pool BufferPool
pendingCapacity int

Fields

PendingAdds

The set of pair-pointer associations created by this worker that should be added to the pair mapping.

public QuickList<WorkerPendingPairChanges.PendingAdd> PendingAdds

Field Value

QuickList<WorkerPendingPairChanges.PendingAdd>

PendingRemoves

The set of pairs to remove from the pair cache generated by the worker.

public QuickList<CollidablePair> PendingRemoves

Field Value

QuickList<CollidablePair>

Methods

Add(BufferPool, CollidablePair, in ConstraintCache)

public int Add(BufferPool pool, CollidablePair pair, in ConstraintCache cache)

Parameters

pool BufferPool
pair CollidablePair
cache ConstraintCache

Returns

int

Dispose(BufferPool)

public void Dispose(BufferPool pool)

Parameters

pool BufferPool