PxParticleBufferFlag#

Defined in include/PxParticleSystemFlag.h

struct PxParticleBufferFlag#

Identifies dirty particle buffers that need to be updated in the particle system.

This flag can be used mark the device user buffers that are dirty and need to be written to the particle system.

Public Types

enum Enum#

Values:

enumerator eNONE#

No data specified.

enumerator eUPDATE_POSITION#

Specifies the position (first 3 floats) and inverse mass (last float) data (array of PxVec4 * number of particles)

enumerator eUPDATE_VELOCITY#

Specifies the velocity (first 3 floats) data (array of PxVec4 * number of particles)

enumerator eUPDATE_PHASE#

Specifies the per-particle phase flag data (array of PxU32 * number of particles)

enumerator eUPDATE_RESTPOSITION#

Specifies the rest position (first 3 floats) data for cloth buffers.

enumerator eUPDATE_CLOTH#

Specifies the cloth buffer (see PxParticleClothBuffer)

enumerator eUPDATE_RIGID#

Specifies the rigid buffer (see PxParticleRigidBuffer)

enumerator eUPDATE_DIFFUSE_PARAM#

Specifies the diffuse particle parameter buffer (see PxDiffuseParticleParams)

enumerator eUPDATE_ATTACHMENTS#

Specifies the attachments.

enumerator eALL#