31 #ifndef PX_BVH_33_MIDPHASE_DESC_H 32 #define PX_BVH_33_MIDPHASE_DESC_H 51 eCOOKING_PERFORMANCE = 1
88 meshSizePerformanceTradeOff = 0.55f;
98 if(meshSizePerformanceTradeOff < 0.0f || meshSizePerformanceTradeOff > 1.0f)
110 #endif // PX_BVH_33_MIDPHASE_DESC_H Definition: GuContactBuffer.h:37
Default value. Favors higher quality hierarchy with higher runtime performance over cooking speed...
Definition: PxBVH33MidphaseDesc.h:50
float PxF32
Definition: PxSimpleTypes.h:76
PxMeshCookingHint::Enum meshCookingHint
Mesh cooking hint. Used to specify mesh hierarchy construction preference.
Definition: PxBVH33MidphaseDesc.h:81
Structure describing parameters affecting BVH33 midphase mesh structure.
Definition: PxBVH33MidphaseDesc.h:61
Enum
Definition: PxBVH33MidphaseDesc.h:48
void setToDefault()
Desc initialization to default value.
Definition: PxBVH33MidphaseDesc.h:86
bool isValid() const
Returns true if the descriptor is valid.
Definition: PxBVH33MidphaseDesc.h:96
Enumeration for mesh cooking hints.
Definition: PxBVH33MidphaseDesc.h:46
PxF32 meshSizePerformanceTradeOff
Controls the trade-off between mesh size and runtime performance.
Definition: PxBVH33MidphaseDesc.h:74