31 #ifndef PX_COLLISION_NXCONVEXMESHDESC 32 #define PX_COLLISION_NXCONVEXMESHDESC 59 e16_BIT_INDICES = (1<<0),
68 eCOMPUTE_CONVEX = (1<<1),
78 eCHECK_ZERO_AREA_TRIANGLES = (1<<2),
87 eQUANTIZE_INPUT = (1 << 3),
96 eDISABLE_MESH_VALIDATION = (1 << 4),
115 ePLANE_SHIFTING = (1 << 5),
121 eFAST_INERTIA_COMPUTATION = (1 << 6),
128 eGPU_COMPATIBLE = (1 << 7),
136 eSHIFT_VERTICES = (1 << 8)
238 : vertexLimit(255), quantizedCount(255)
Definition: GuContactBuffer.h:37
Enables plane shifting vertex limit algorithm.
Definition: PxConvexMeshDesc.h:115
Polygon data.
Definition: PxConvexMesh.h:51
Flags which describe the format and behavior of a convex mesh.
Definition: PxConvexMeshDesc.h:50
PxU16 vertexLimit
Limits the number of vertices of the result convex mesh. Hard maximum limit is 256 and minimum limit ...
Definition: PxConvexMeshDesc.h:208
PX_INLINE PxConvexMeshDesc()
constructor sets to default.
Definition: PxConvexMeshDesc.h:237
PxFlags< PxConvexFlag::Enum, PxU16 > PxConvexFlags
collection of set bits defined in PxConvexFlag.
Definition: PxConvexMeshDesc.h:145
Definition: PxConvexMeshDesc.h:68
PX_INLINE bool isValid() const
Returns true if the descriptor is valid.
Definition: PxConvexMeshDesc.h:247
PxBoundedData points
Vertex positions data in PxBoundedData format.
Definition: PxConvexMeshDesc.h:164
Definition: PxConvexMeshDesc.h:59
PxBoundedData indices
Polygon indices data in PxBoundedData format.
Definition: PxConvexMeshDesc.h:186
PxU32 stride
The offset in bytes between consecutive samples in the data.
Definition: PxCoreUtilityTypes.h:53
Enum
Definition: PxConvexMeshDesc.h:52
PxU32 count
Definition: PxCoreUtilityTypes.h:85
const void * data
Definition: PxCoreUtilityTypes.h:54
Descriptor class for PxConvexMesh.
Definition: PxConvexMeshDesc.h:155
PX_INLINE void setToDefault()
(re)sets the structure to the default.
Definition: PxConvexMeshDesc.h:242
PxU16 quantizedCount
Maximum number of vertices after quantization. The quantization is done during the vertex cleaning ph...
Definition: PxConvexMeshDesc.h:219
uint16_t PxU16
Definition: PxSimpleTypes.h:73
uint32_t PxU32
Definition: Px.h:48
#define PX_INLINE
Definition: PxPreprocessor.h:336
Definition: PxCoreUtilityTypes.h:83
PxConvexFlags flags
Flags bits, combined from values of the enum PxConvexFlag.
Definition: PxConvexMeshDesc.h:193
PxBoundedData polygons
Polygons data in PxBoundedData format.
Definition: PxConvexMeshDesc.h:174
3 Element vector class.
Definition: PxVec3.h:49