#include <PxParticleReadData.h>
Public Types | |
enum | Enum { ePOSITION_BUFFER = (1<<0), eVELOCITY_BUFFER = (1<<1), eREST_OFFSET_BUFFER = (1<<2), eFLAGS_BUFFER = (1<<3), eCOLLISION_NORMAL_BUFFER = (1<<4), eCOLLISION_VELOCITY_BUFFER = (1<<5), eDENSITY_BUFFER = (1<<6) } |
Flags to configure PxParticleBase simulation output that can be read by the application. Disabling unneeded buffers saves memory and improves performance.
Enumerator | |
---|---|
ePOSITION_BUFFER |
Enables reading particle positions from the SDK. |
eVELOCITY_BUFFER |
Enables reading particle velocities from the SDK. |
eREST_OFFSET_BUFFER |
Enables reading per particle rest offsets from the SDK. Per particle rest offsets are never changed by the simulation. This option may only be used on particle systems that have PxParticleBaseFlag.ePER_PARTICLE_REST_OFFSET enabled. |
eFLAGS_BUFFER |
Enables reading particle flags from the SDK.
|
eCOLLISION_NORMAL_BUFFER |
Enables reading particle collision normals from the SDK. |
eCOLLISION_VELOCITY_BUFFER |
Enables reading particle collision velocities from the SDK.
|
eDENSITY_BUFFER |
Enables reading particle densities from the SDK. (PxParticleFluid only) |