PxMeshMidPhase Struct Reference

Mesh midphase structure. This enum is used to select the desired acceleration structure for midphase queries (i.e. raycasts, overlaps, sweeps vs triangle meshes). More...

#include <PxTriangleMesh.h>

Public Types

enum  Enum { eBVH33 = 0, eBVH34 = 1, eLAST }
 

Detailed Description

Mesh midphase structure. This enum is used to select the desired acceleration structure for midphase queries (i.e. raycasts, overlaps, sweeps vs triangle meshes).

The PxMeshMidPhase::eBVH33 structure is the one used in recent PhysX versions (up to PhysX 3.3). It has great performance and is supported on all platforms.

The PxMeshMidPhase::eBVH34 structure is a revisited implementation introduced in PhysX 3.4. It can be significantly faster both in terms of cooking performance and runtime performance, but it is currently only available on platforms supporting the SSE2 instuction set.

Member Enumeration Documentation

◆ Enum

Enumerator
eBVH33 

Default midphase mesh structure, as used up to PhysX 3.3.

eBVH34 

New midphase mesh structure, introduced in PhysX 3.4.

eLAST 

The documentation for this struct was generated from the following file: