PxMeshMidPhase Struct Reference
[Geomutils]

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>

List of all members.

Public Types

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


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

Enumerator:
eBVH33  Default midphase mesh structure, as used up to PhysX 3.3.
eBVH34  New midphase mesh structure, introduced in PhysX 3.4.
eINVALID  Invalid mesh midphase.
eLAST 


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


Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com