PhysX SDK 3.2 API Reference: PxParticleReadDataFlag Struct Reference

PhysX SDK 3.2 API

PxParticleReadDataFlag Struct Reference
[Particles]

#include <PxParticleReadData.h>

List of all members.


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),
  eDENSITY_BUFFER = (1<<5)
}

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.
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
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-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com