diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
| commit | d1c812f1162e5fdb13c215792725b2591d7428f5 (patch) | |
| tree | 407056c45c7e9320c48fca6a3697d81a061c4ea0 /PhysX_3.4/Include/PxPhysics.h | |
| parent | PhysX 3.4, APEX 1.4 patch release @22121272 (diff) | |
| download | physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.tar.xz physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.zip | |
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
Diffstat (limited to 'PhysX_3.4/Include/PxPhysics.h')
| -rw-r--r-- | PhysX_3.4/Include/PxPhysics.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/PhysX_3.4/Include/PxPhysics.h b/PhysX_3.4/Include/PxPhysics.h index 7f7582b0..c2c8bc95 100644 --- a/PhysX_3.4/Include/PxPhysics.h +++ b/PhysX_3.4/Include/PxPhysics.h @@ -260,10 +260,12 @@ public: \param[in] stream The stream to load the cloth fabric from. \return The new cloth fabric. + + \deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 @see PxClothFabric PxClothFabric.release() PxInputStream PxCloth PxRegisterCloth */ - virtual PxClothFabric* createClothFabric(PxInputStream& stream) = 0; + PX_DEPRECATED virtual PxClothFabric* createClothFabric(PxInputStream& stream) = 0; /** \brief Creates a cloth fabric object from particle connectivity and restlength information. @@ -275,18 +277,22 @@ public: \param[in] desc Fabric descriptor, see #PxClothFabricDesc. \return The new cloth fabric. + \deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 + @see PxClothFabric PxClothFabric.release() PxCloth */ - virtual PxClothFabric* createClothFabric(const PxClothFabricDesc& desc) = 0; + PX_DEPRECATED virtual PxClothFabric* createClothFabric(const PxClothFabricDesc& desc) = 0; /** \brief Return the number of cloth fabrics that currently exist. \return Number of cloth fabrics. + + \deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 @see getClothFabrics() */ - virtual PxU32 getNbClothFabrics() const = 0; + PX_DEPRECATED virtual PxU32 getNbClothFabrics() const = 0; /** \brief Writes the array of cloth fabrics to a user buffer. @@ -299,9 +305,11 @@ public: \param[in] bufferSize The number of cloth fabric pointers which can be stored in the buffer. \return The number of cloth fabric pointers written to userBuffer, this should be less or equal to bufferSize. + \deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 + @see getNbClothFabrics() PxClothFabric */ - virtual PxU32 getClothFabrics(PxClothFabric** userBuffer, PxU32 bufferSize) const = 0; + PX_DEPRECATED virtual PxU32 getClothFabrics(PxClothFabric** userBuffer, PxU32 bufferSize) const = 0; #endif //@} @@ -416,9 +424,11 @@ public: \param flags Cloth flags. \return The new cloth. + \deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 + @see PxCloth PxClothFabric PxClothFlags PxRegisterCloth */ - virtual PxCloth* createCloth(const PxTransform& globalPose, PxClothFabric& fabric, const PxClothParticle* particles, PxClothFlags flags) = 0; + PX_DEPRECATED virtual PxCloth* createCloth(const PxTransform& globalPose, PxClothFabric& fabric, const PxClothParticle* particles, PxClothFlags flags) = 0; #endif /** @@ -739,8 +749,10 @@ On resource constrained platforms, it is possible to call PxCreateBasePhysics() to save on code memory if your application does not use cloth. In this case the linker should strip out the relevant implementation code from the library. If you need to use cloth but not some other optional component, you shoud call PxCreateBasePhysics() followed by this call. + +\deprecated The PhysX cloth feature has been deprecated in PhysX version 3.4.1 */ -PX_C_EXPORT PX_PHYSX_CORE_API void PX_CALL_CONV PxRegisterCloth(physx::PxPhysics& physics); +PX_DEPRECATED PX_C_EXPORT PX_PHYSX_CORE_API void PX_CALL_CONV PxRegisterCloth(physx::PxPhysics& physics); /** \brief Enables the usage of the particles feature. This function is called automatically inside PxCreatePhysics(). (deprecated) |