Classes | |
struct | PxMeshCookingHint |
Enumeration for mesh cooking hints. More... | |
struct | PxBVH33MidphaseDesc |
Structure describing parameters affecting BVH33 midphase mesh structure. More... | |
struct | PxBVH34MidphaseDesc |
Structure describing parameters affecting BVH34 midphase mesh structure. More... | |
class | PxBVHStructureDesc |
Descriptor class for PxBVHStructure. More... | |
struct | PxConvexFlag |
Flags which describe the format and behavior of a convex mesh. More... | |
class | PxConvexMeshDesc |
Descriptor class for PxConvexMesh. More... | |
struct | PxConvexMeshCookingResult |
Result from convex cooking. More... | |
struct | PxConvexMeshCookingType |
Enumeration for convex mesh cooking algorithms. More... | |
struct | PxTriangleMeshCookingResult |
Result from triangle mesh cooking. More... | |
struct | PxMeshPreprocessingFlag |
Enum for the set of mesh pre-processing parameters. More... | |
struct | PxCookingParams |
Structure describing parameters affecting mesh cooking. More... | |
class | PxCooking |
class | PxMidphaseDesc |
Structure describing parameters affecting midphase mesh structure. More... | |
class | PxTriangleMeshDesc |
Descriptor class for PxTriangleMesh. More... | |
Typedefs | |
typedef PxFlags< PxConvexFlag::Enum, PxU16 > | PxConvexFlags |
collection of set bits defined in PxConvexFlag. More... | |
typedef PxFlags< PxMeshPreprocessingFlag::Enum, PxU32 > | PxMeshPreprocessingFlags |
Functions | |
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxCooking *PX_CALL_CONV | PxCreateCooking (physx::PxU32 version, physx::PxFoundation &foundation, const physx::PxCookingParams ¶ms) |
Create an instance of the cooking interface. More... | |
PX_INLINE | PxBVHStructureDesc::PxBVHStructureDesc () |
PX_INLINE void | PxBVHStructureDesc::setToDefault () |
Initialize the BVH structure descriptor. More... | |
PX_INLINE bool | PxBVHStructureDesc::isValid () const |
Returns true if the descriptor is valid. More... | |
PX_INLINE | PxConvexMeshDesc::PxConvexMeshDesc () |
constructor sets to default. More... | |
PX_INLINE void | PxConvexMeshDesc::setToDefault () |
(re)sets the structure to the default. More... | |
PX_INLINE bool | PxConvexMeshDesc::isValid () const |
Returns true if the descriptor is valid. More... | |
PX_INLINE | PxTriangleMeshDesc::PxTriangleMeshDesc () |
Constructor sets to default. More... | |
PX_INLINE void | PxTriangleMeshDesc::setToDefault () |
(re)sets the structure to the default. More... | |
PX_INLINE bool | PxTriangleMeshDesc::isValid () const |
Returns true if the descriptor is valid. More... | |
typedef PxFlags<PxConvexFlag::Enum,PxU16> PxConvexFlags |
collection of set bits defined in PxConvexFlag.
PX_INLINE bool PxBVHStructureDesc::isValid | ( | ) | const |
Returns true if the descriptor is valid.
PX_INLINE bool PxTriangleMeshDesc::isValid | ( | ) | const |
Returns true if the descriptor is valid.
References PxSimpleTriangleMesh::isValid().
PX_INLINE bool PxConvexMeshDesc::isValid | ( | ) | const |
Returns true if the descriptor is valid.
References PxBoundedData::count, PxStridedData::data, PxConvexFlag::e16_BIT_INDICES, PxConvexFlag::eCOMPUTE_CONVEX, PxConvexFlag::ePLANE_SHIFTING, PxConvexMeshDesc::flags, PxConvexMeshDesc::indices, PxConvexMeshDesc::points, PxConvexMeshDesc::polygons, PxConvexMeshDesc::quantizedCount, PxStridedData::stride, and PxConvexMeshDesc::vertexLimit.
PX_INLINE PxBVHStructureDesc::PxBVHStructureDesc | ( | ) |
PX_INLINE PxConvexMeshDesc::PxConvexMeshDesc | ( | ) |
constructor sets to default.
Referenced by PxConvexMeshDesc::setToDefault().
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxCooking* PX_CALL_CONV PxCreateCooking | ( | physx::PxU32 | version, |
physx::PxFoundation & | foundation, | ||
const physx::PxCookingParams & | params | ||
) |
Create an instance of the cooking interface.
Note that the foundation object is handled as an application-wide singleton in statically linked executables and a DLL-wide singleton in dynamically linked executables. Therefore, if you are using the runtime SDK in the same executable as cooking, you should pass the Physics's copy of foundation (acquired with PxPhysics::getFoundation()) to the cooker. This will also ensure correct handling of memory for objects passed from the cooker to the SDK.
To use cooking in standalone mode, create an instance of the Foundation object with PxCreateCookingFoundation. You should pass the same foundation object to all instances of the cooking interface.
[in] | version | the SDK version number |
[in] | foundation | the foundation object associated with this instance of the cooking interface. |
[in] | params | the parameters for this instance of the cooking interface |
PX_INLINE PxTriangleMeshDesc::PxTriangleMeshDesc | ( | ) |
Constructor sets to default.
References PxSimpleTriangleMesh::setToDefault().
PX_INLINE void PxBVHStructureDesc::setToDefault | ( | ) |
Initialize the BVH structure descriptor.
PX_INLINE void PxTriangleMeshDesc::setToDefault | ( | ) |
(re)sets the structure to the default.
PX_INLINE void PxConvexMeshDesc::setToDefault | ( | ) |
(re)sets the structure to the default.
References PxConvexMeshDesc::PxConvexMeshDesc().