RavEngine
Loading...
Searching...
No Matches
Cooking
Collaboration diagram for Cooking:

Namespaces

namespace  physx
 Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
 

Functions

PX_C_EXPORT PX_PHYSX_COOKING_API PX_DEPRECATED physx::PxCooking *PX_CALL_CONV PxCreateCooking (physx::PxU32 version, physx::PxFoundation &foundation, const physx::PxCookingParams &params)
 Create an instance of the cooking interface.
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxInsertionCallback * PxGetStandaloneInsertionCallback ()
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxCookBVH (const physx::PxBVHDesc &desc, physx::PxOutputStream &stream)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxBVH * PxCreateBVH (const physx::PxBVHDesc &desc, physx::PxInsertionCallback &insertionCallback)
 
PX_FORCE_INLINE physx::PxBVH * PxCreateBVH (const physx::PxBVHDesc &desc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxCookHeightField (const physx::PxHeightFieldDesc &desc, physx::PxOutputStream &stream)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxHeightField * PxCreateHeightField (const physx::PxHeightFieldDesc &desc, physx::PxInsertionCallback &insertionCallback)
 
PX_FORCE_INLINE physx::PxHeightField * PxCreateHeightField (const physx::PxHeightFieldDesc &desc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxCookConvexMesh (const physx::PxCookingParams &params, const physx::PxConvexMeshDesc &desc, physx::PxOutputStream &stream, physx::PxConvexMeshCookingResult::Enum *condition=NULL)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxConvexMesh * PxCreateConvexMesh (const physx::PxCookingParams &params, const physx::PxConvexMeshDesc &desc, physx::PxInsertionCallback &insertionCallback, physx::PxConvexMeshCookingResult::Enum *condition=NULL)
 
PX_FORCE_INLINE physx::PxConvexMesh * PxCreateConvexMesh (const physx::PxCookingParams &params, const physx::PxConvexMeshDesc &desc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxValidateConvexMesh (const physx::PxCookingParams &params, const physx::PxConvexMeshDesc &desc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxComputeHullPolygons (const physx::PxCookingParams &params, const physx::PxSimpleTriangleMesh &mesh, physx::PxAllocatorCallback &inCallback, physx::PxU32 &nbVerts, physx::PxVec3 *&vertices, physx::PxU32 &nbIndices, physx::PxU32 *&indices, physx::PxU32 &nbPolygons, physx::PxHullPolygon *&hullPolygons)
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxValidateTriangleMesh (const physx::PxCookingParams &params, const physx::PxTriangleMeshDesc &desc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxTriangleMesh * PxCreateTriangleMesh (const physx::PxCookingParams &params, const physx::PxTriangleMeshDesc &desc, physx::PxInsertionCallback &insertionCallback, physx::PxTriangleMeshCookingResult::Enum *condition=NULL)
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxCookTriangleMesh (const physx::PxCookingParams &params, const physx::PxTriangleMeshDesc &desc, physx::PxOutputStream &stream, physx::PxTriangleMeshCookingResult::Enum *condition=NULL)
 
PX_FORCE_INLINE physx::PxTriangleMesh * PxCreateTriangleMesh (const physx::PxCookingParams &params, const physx::PxTriangleMeshDesc &desc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxCookTetrahedronMesh (const physx::PxCookingParams &params, const physx::PxTetrahedronMeshDesc &meshDesc, physx::PxOutputStream &stream)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxTetrahedronMesh * PxCreateTetrahedronMesh (const physx::PxCookingParams &params, const physx::PxTetrahedronMeshDesc &meshDesc, physx::PxInsertionCallback &insertionCallback)
 
PX_FORCE_INLINE physx::PxTetrahedronMesh * PxCreateTetrahedronMesh (const physx::PxCookingParams &params, const physx::PxTetrahedronMeshDesc &meshDesc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API bool PxCookSoftBodyMesh (const physx::PxCookingParams &params, const physx::PxTetrahedronMeshDesc &simulationMeshDesc, const physx::PxTetrahedronMeshDesc &collisionMeshDesc, const physx::PxSoftBodySimulationDataDesc &softbodyDataDesc, physx::PxOutputStream &stream)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxSoftBodyMesh * PxCreateSoftBodyMesh (const physx::PxCookingParams &params, const physx::PxTetrahedronMeshDesc &simulationMeshDesc, const physx::PxTetrahedronMeshDesc &collisionMeshDesc, const physx::PxSoftBodySimulationDataDesc &softbodyDataDesc, physx::PxInsertionCallback &insertionCallback)
 
PX_FORCE_INLINE physx::PxSoftBodyMesh * PxCreateSoftBodyMesh (const physx::PxCookingParams &params, const physx::PxTetrahedronMeshDesc &simulationMeshDesc, const physx::PxTetrahedronMeshDesc &collisionMeshDesc, const physx::PxSoftBodySimulationDataDesc &softbodyDataDesc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxCollisionMeshMappingData * PxComputeModelsMapping (const physx::PxCookingParams &params, physx::PxTetrahedronMeshData &simulationMesh, const physx::PxTetrahedronMeshData &collisionMesh, const physx::PxSoftBodyCollisionData &collisionData, const physx::PxBoundedData *vertexToTet=NULL)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxCollisionTetrahedronMeshData * PxComputeCollisionData (const physx::PxCookingParams &params, const physx::PxTetrahedronMeshDesc &collisionMeshDesc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxSimulationTetrahedronMeshData * PxComputeSimulationData (const physx::PxCookingParams &params, const physx::PxTetrahedronMeshDesc &simulationMeshDesc)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxSoftBodyMesh * PxAssembleSoftBodyMesh (physx::PxTetrahedronMeshData &simulationMesh, physx::PxSoftBodySimulationData &simulationData, physx::PxTetrahedronMeshData &collisionMesh, physx::PxSoftBodyCollisionData &collisionData, physx::PxCollisionMeshMappingData &mappingData, physx::PxInsertionCallback &insertionCallback)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxSoftBodyMesh * PxAssembleSoftBodyMesh_Sim (physx::PxSimulationTetrahedronMeshData &simulationMesh, physx::PxCollisionTetrahedronMeshData &collisionMesh, physx::PxCollisionMeshMappingData &mappingData, physx::PxInsertionCallback &insertionCallback)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxTriangleMesh *PX_CALL_CONV PxCreateTriangleMeshInternal (const physx::PxTriangleMeshInternalData &data, const physx::PxCooking &cooking)
 
PX_C_EXPORT PX_PHYSX_COOKING_API physx::PxBVH *PX_CALL_CONV PxCreateBVHInternal (const physx::PxBVHInternalData &data, const physx::PxCooking &cooking)
 

Detailed Description

Function Documentation

◆ PxCreateCooking()

PX_C_EXPORT PX_PHYSX_COOKING_API PX_DEPRECATED 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 PxCreateFoundation. You should pass the same foundation object to all instances of the cooking interface.

Parameters
[in]versionThe SDK version number
[in]foundationThe foundation object associated with this instance of the cooking interface.
[in]paramsThe parameters for this instance of the cooking interface
Returns
true on success.
Deprecated: