Public Types | List of all members
PxMeshPreprocessingFlag Struct Reference

Enum for the set of mesh pre-processing parameters. More...

#include <PxCooking.h>

Public Types

enum  Enum {
  eWELD_VERTICES = 1 << 0,
  eREMOVE_UNREFERENCED_VERTICES = 1 << 1,
  eREMOVE_DUPLICATED_TRIANGLES = 1 << 2,
  eDISABLE_CLEAN_MESH = 1 << 3,
  eDISABLE_ACTIVE_EDGES_PRECOMPUTE = 1 << 4,
  eFORCE_32BIT_INDICES = 1 << 5
}
 

Detailed Description

Enum for the set of mesh pre-processing parameters.

Member Enumeration Documentation

Enumerator
eWELD_VERTICES 

When set, mesh welding is performed. See PxCookingParams::meshWeldTolerance. Clean mesh must be enabled.

eREMOVE_UNREFERENCED_VERTICES 

When set, unreferenced vertices are removed during clean mesh. Clean mesh must be enabledt.

eREMOVE_DUPLICATED_TRIANGLES 

When set, duplicit vertices are removed during clean mesh. 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.

Note
By default mesh will be created with 16-bit indices for triangle count <= 0xFFFF and 32-bit otherwise.

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


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