Class MeshReductionThunks<TMesh>
- Namespace
- BepuPhysics.CollisionDetection
- Assembly
- BepuPhysics.dll
Type-specialized thunks that bridge MeshReduction's type-erased function pointer fields back to a concrete mesh shape type.
The static fields here are populated once per closed TMesh by the runtime, and the JIT specializes the bodies so that
the calls into TMesh are devirtualized.
public static class MeshReductionThunks<TMesh> where TMesh : struct, IHomogeneousCompoundShape<Triangle, TriangleWide>
Type Parameters
TMeshConcrete homogeneous triangle compound shape type.
- Inheritance
-
MeshReductionThunks<TMesh>
- Inherited Members
Fields
FindLocalOverlaps
public static readonly delegate*<void*, Vector3, Vector3, BufferPool, Shapes, ref MeshReduction.ChildEnumerator, void> FindLocalOverlaps
Field Value
GetLocalChild
public static readonly delegate*<void*, int, out Triangle, void> GetLocalChild