ExtGpu::PxCreateAndPopulateParticleAndDiffuseBuffer

Defined in include/extensions/PxParticleExt.h

PxParticleAndDiffuseBuffer *ExtGpu::PxCreateAndPopulateParticleAndDiffuseBuffer(const ExtGpu::PxParticleAndDiffuseBufferDesc &desc, PxCudaContextManager *cudaContextManager)

Creates and populates a particle buffer that includes support for diffuse particles.

Parameters
  • desc[in] The particle buffer descriptor

  • cudaContextManager[in] A cuda context manager

Returns

A fully populated particle buffer ready to use