ExtGpu::PxCreateAndPopulateParticleClothBuffer

Defined in include/extensions/PxParticleExt.h

PxParticleClothBuffer *ExtGpu::PxCreateAndPopulateParticleClothBuffer(const ExtGpu::PxParticleBufferDesc &desc, const PxParticleClothDesc &clothDesc, PxPartitionedParticleCloth &output, PxCudaContextManager *cudaContextManager)

Creates and populates a particle cloth buffer.

Deprecated:

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

Parameters
  • desc[in] The particle buffer descriptor

  • clothDesc[in] The cloth descriptor

  • output[out] A cloth output object to further configure the behavior of the cloth

  • cudaContextManager[in] A cuda context manager

Returns

A fully populated particle cloth buffer ready to use