ExtGpu::PxCreateParticleVolumeBufferHelper

Defined in include/extensions/PxParticleExt.h

PxParticleVolumeBufferHelper *ExtGpu::PxCreateParticleVolumeBufferHelper(PxU32 maxVolumes, PxU32 maxTriangles, PxCudaContextManager *cudaContextManager)

Creates a PxParticleVolumeBufferHelper.

Parameters
  • maxVolumes[in] The maximum number of PxParticleVolume s this PxParticleVolumeBufferHelper instance should hold.

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

  • cudaContextManager[in] A pointer to a PxCudaContextManager.

Returns

A pointer to the new PxParticleVolumeBufferHelper.