ExtGpu::PxCreateParticleRigidBufferHelper

Defined in include/extensions/PxParticleExt.h

PxParticleRigidBufferHelper *ExtGpu::PxCreateParticleRigidBufferHelper(PxU32 maxRigids, PxU32 maxParticles, PxCudaContextManager *cudaContextManager)

Creates a PxParticleRigidBufferHelper.

Deprecated:

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

Parameters
  • maxRigids[in] The maximum number of rigids this PxParticleRigidsBuffers instance should hold.

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

  • cudaContextManager[in] A pointer to a PxCudaContextManager.

Returns

A pointer to the new PxParticleRigidBufferHelper.