|
RavEngine
|
Public Member Functions | |
| ParticleRigidBuffersImpl (PxU32 maxRigids, PxU32 maxParticles, PxCudaContextManager *cudaContextManager) | |
| void | release () |
| virtual PxU32 | getMaxRigids () const |
| virtual PxU32 | getNumRigids () const |
| virtual PxU32 | getMaxParticles () const |
| virtual PxU32 | getNumParticles () const |
| void | addRigid (const PxVec3 &translation, const PxQuat &rotation, const PxReal coefficient, const PxVec4 *localPositions, const PxVec4 *localNormals, PxU32 numParticles) |
| Adds a rigid. | |
| PxParticleRigidDesc & | getParticleRigidDesc () |
| Get the PxParticleRigidDesc for this buffer. | |
| ParticleRigidBuffersImpl (PxU32 maxRigids, PxU32 maxParticles, PxCudaContextManager *cudaContextManager) | |
| void | release () |
| virtual PxU32 | getMaxRigids () const |
| virtual PxU32 | getNumRigids () const |
| virtual PxU32 | getMaxParticles () const |
| virtual PxU32 | getNumParticles () const |
| void | addRigid (const PxVec3 &translation, const PxQuat &rotation, const PxReal coefficient, const PxVec4 *localPositions, const PxVec4 *localNormals, PxU32 numParticles) |
| Adds a rigid. | |
| PxParticleRigidDesc & | getParticleRigidDesc () |
| Get the PxParticleRigidDesc for this buffer. | |
Public Member Functions inherited from physx::PxUserAllocated | |
| PX_INLINE void * | operator new (size_t, void *address) |
| PX_INLINE void | operator delete (void *, void *) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete (void *ptr, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line) |
| PX_INLINE void | operator delete (void *ptr) |
| PX_INLINE void | operator delete[] (void *ptr) |
Public Attributes | |
| PxU32 | mMaxParticles |
| PxU32 | mNumParticles |
| PxParticleRigidDesc | mRigidDesc |
| PxCudaContextManager * | mCudaContextManager |
|
inlinevirtual |
Adds a rigid.
| [in] | translation | The world-space location of the rigid. |
| [in] | rotation | The world-space rotation of the rigid. |
| [in] | coefficient | The stiffness of the rigid. |
| [in] | localPositions | The particle positions in local space. |
| [in] | localNormals | The surface normal for all the particles in local space. Each PxVec4 has the normal in the first 3 components and the SDF in the last component. |
| [in] | numParticles | The number of particles in this rigid. |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Adds a rigid.
| [in] | translation | The world-space location of the rigid. |
| [in] | rotation | The world-space rotation of the rigid. |
| [in] | coefficient | The stiffness of the rigid. |
| [in] | localPositions | The particle positions in local space. |
| [in] | localNormals | The surface normal for all the particles in local space. Each PxVec4 has the normal in the first 3 components and the SDF in the last component. |
| [in] | numParticles | The number of particles in this rigid. |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Get the PxParticleRigidDesc for this buffer.
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Get the PxParticleRigidDesc for this buffer.
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.
|
inlinevirtual |
Implements physx::ExtGpu::PxParticleRigidBufferHelper.