ExtGpu::PxCreateParticleClothBufferHelper

Defined in include/extensions/PxParticleExt.h

PxParticleClothBufferHelper *ExtGpu::PxCreateParticleClothBufferHelper(const PxU32 maxCloths, const PxU32 maxTriangles, const PxU32 maxSprings, const PxU32 maxParticles, PxCudaContextManager *cudaContextManager)

Creates a PxParticleClothBufferHelper helper.

Deprecated:

Particle-cloth, -rigids, -attachments and -volumes have been deprecated.

Parameters
  • maxCloths[in] The maximum number of cloths this PxParticleClothBufferHelper should hold.

  • maxTriangles[in] The maximum number of triangles this PxParticleClothBufferHelper should hold.

  • maxSprings[in] The maximum number of springs this PxParticleClothBufferHelper should hold.

  • maxParticles[in] The maximum number of particles this PxParticleClothBufferHelper should hold.

  • cudaContextManager[in] A pointer to a PxCudaContextManager.

Returns

A pointer to the PxParticleClothBufferHelper that was created.