ExtGpu::PxCreateAndPopulateParticleBuffer

Defined in include/extensions/PxParticleExt.h

PxParticleBuffer *ExtGpu::PxCreateAndPopulateParticleBuffer(const ExtGpu::PxParticleBufferDesc &desc, PxCudaContextManager *cudaContextManager)

Creates and populates a particle buffer.

Parameters
  • desc[in] The particle buffer descriptor

  • cudaContextManager[in] A cuda context manager

Returns

A fully populated particle buffer ready to use