ExtGpu::PxCreateParticleRigidBufferHelper

Defined in include/extensions/PxParticleExt.h

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

Creates a PxParticleRigidBufferHelper.

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.