Public Types | List of all members
PxParticleReadDataFlag Struct Reference

#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)
}
 

Detailed Description

Flags to configure PxParticleBase simulation output that can be read by the application. Disabling unneeded buffers saves memory and improves performance.

Member Enumeration Documentation

Enumerator
ePOSITION_BUFFER 

Enables reading particle positions from the SDK.

See Also
PxParticleReadData.positionBuffer
eVELOCITY_BUFFER 

Enables reading particle velocities from the SDK.

See Also
PxParticleReadData.velocityBuffer
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.

See Also
PxParticleBaseFlag.ePER_PARTICLE_REST_OFFSET
eFLAGS_BUFFER 

Enables reading particle flags from the SDK.

See Also
PxParticleReadData.flagsBuffer
eCOLLISION_NORMAL_BUFFER 

Enables reading particle collision normals from the SDK.

See Also
PxParticleReadData.collisionNormalBuffer
eCOLLISION_VELOCITY_BUFFER 

Enables reading particle collision velocities from the SDK.

See Also
PxParticleReadData.collisionVelocity
eDENSITY_BUFFER 

Enables reading particle densities from the SDK. (PxParticleFluid only)

See Also
PxParticleFluidReadData.densityBuffer

The documentation for this struct was generated from the following file:


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com