+#include <PxCooking.h>
+
+ +
Public Types | |
| enum | Enum { + eWELD_VERTICES = 1 << 0, + + eDISABLE_CLEAN_MESH = 1 << 1, + + eDISABLE_ACTIVE_EDGES_PRECOMPUTE = 1 << 2, + + eFORCE_32BIT_INDICES = 1 << 3 + + } |
| enum PxMeshPreprocessingFlag::Enum | +
+
| eWELD_VERTICES | +When set, mesh welding is performed. See PxCookingParams::meshWeldTolerance. Clean mesh must be enabled. |
| eDISABLE_CLEAN_MESH |
+When set, mesh cleaning is disabled. This makes cooking faster.
+ +When clean mesh is not performed, mesh welding is also not performed. +It is recommended to use only meshes that passed during validateTriangleMesh. |
| eDISABLE_ACTIVE_EDGES_PRECOMPUTE | +When set, active edges are set for each triangle edge. This makes cooking faster but slow up contact generation. |
| eFORCE_32BIT_INDICES |
+When set, 32-bit indices will always be created regardless of triangle count.
+ +
|
+