29#ifndef PX_MIDPHASE_DESC_H
30#define PX_MIDPHASE_DESC_H
35#include "geometry/PxTriangleMesh.h"
36#include "cooking/PxBVH33MidphaseDesc.h"
37#include "cooking/PxBVH34MidphaseDesc.h"
Structure describing parameters affecting midphase mesh structure.
Definition PxMidphaseDesc.h:51
void setToDefault(PxMeshMidPhase::Enum type)
Initialize the midphase mesh structure descriptor.
Definition PxMidphaseDesc.h:79
PX_FORCE_INLINE PxMidphaseDesc & operator=(PxMeshMidPhase::Enum descType)
Assignment operator.
Definition PxMidphaseDesc.h:105
bool isValid() const
Returns true if the descriptor is valid.
Definition PxMidphaseDesc.h:92
PX_FORCE_INLINE PxMeshMidPhase::Enum getType() const
Returns type of midphase mesh structure.
Definition PxMidphaseDesc.h:61
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Structure describing parameters affecting BVH33 midphase mesh structure.
Definition PxBVH33MidphaseDesc.h:64
bool isValid() const
Returns true if the descriptor is valid.
Definition PxBVH33MidphaseDesc.h:98
void setToDefault()
Desc initialization to default value.
Definition PxBVH33MidphaseDesc.h:88
Structure describing parameters affecting BVH34 midphase mesh structure.
Definition PxBVH34MidphaseDesc.h:66
bool isValid() const
Returns true if the descriptor is valid.
Definition PxBVH34MidphaseDesc.h:113
void setToDefault()
Desc initialization to default value.
Definition PxBVH34MidphaseDesc.h:102
Enum
Definition PxTriangleMesh.h:58
@ eBVH33
Default midphase mesh structure, as used up to PhysX 3.3 (deprecated)
Definition PxTriangleMesh.h:59
@ eBVH34
New midphase mesh structure, introduced in PhysX 3.4.
Definition PxTriangleMesh.h:60