|
RavEngine
|
Identifies dirty particle buffers that need to be updated in the particle system. More...
#include <PxParticleSystemFlag.h>
Public Types | |
| enum | Enum { eNONE = 0 , eUPDATE_POSITION = 1 << 0 , eUPDATE_VELOCITY = 1 << 1 , eUPDATE_PHASE = 1 << 2 , eUPDATE_RESTPOSITION = 1 << 3 , eUPDATE_CLOTH = 1 << 5 , eUPDATE_RIGID = 1 << 6 , eUPDATE_DIFFUSE_PARAM = 1 << 7 , eUPDATE_ATTACHMENTS = 1 << 8 , eALL } |
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.
| Enumerator | |
|---|---|
| eNONE | No data specified. |
| eUPDATE_POSITION | Specifies the position (first 3 floats) and inverse mass (last float) data (array of PxVec4 * number of particles) |
| eUPDATE_VELOCITY | Specifies the velocity (first 3 floats) data (array of PxVec4 * number of particles) |
| eUPDATE_PHASE | Specifies the per-particle phase flag data (array of PxU32 * number of particles) |
| eUPDATE_RESTPOSITION | Specifies the rest position (first 3 floats) data for cloth buffers. |
| eUPDATE_CLOTH | Specifies the cloth buffer (see PxParticleClothBuffer) |
| eUPDATE_RIGID | Specifies the rigid buffer (see PxParticleRigidBuffer) |
| eUPDATE_DIFFUSE_PARAM | Specifies the diffuse particle parameter buffer (see PxDiffuseParticleParams) |
| eUPDATE_ATTACHMENTS | Specifies the attachments. |