Enum Class PxParticleBufferFlagEnum

java.lang.Object
java.lang.Enum<PxParticleBufferFlagEnum>
physx.particles.PxParticleBufferFlagEnum
All Implemented Interfaces:
Serializable, Comparable<PxParticleBufferFlagEnum>, Constable

public enum PxParticleBufferFlagEnum extends Enum<PxParticleBufferFlagEnum>
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.

  • Enum Constant Details

    • eNONE

      public static final PxParticleBufferFlagEnum eNONE
      No data specified
    • eUPDATE_POSITION

      public static final PxParticleBufferFlagEnum eUPDATE_POSITION
      Specifies the position (first 3 floats) and inverse mass (last float) data (array of PxVec4 * number of particles)
    • eUPDATE_VELOCITY

      public static final PxParticleBufferFlagEnum eUPDATE_VELOCITY
      Specifies the velocity (first 3 floats) data (array of PxVec4 * number of particles)
    • eUPDATE_PHASE

      public static final PxParticleBufferFlagEnum eUPDATE_PHASE
      Specifies the per-particle phase flag data (array of PxU32 * number of particles)
    • eUPDATE_RESTPOSITION

      public static final PxParticleBufferFlagEnum eUPDATE_RESTPOSITION
      Specifies the rest position (first 3 floats) data for cloth buffers
    • eUPDATE_CLOTH

      public static final PxParticleBufferFlagEnum eUPDATE_CLOTH
      Specifies the cloth buffer (see PxParticleClothBuffer)
    • eUPDATE_RIGID

      public static final PxParticleBufferFlagEnum eUPDATE_RIGID
      Specifies the rigid buffer (see PxParticleRigidBuffer)
    • eUPDATE_DIFFUSE_PARAM

      public static final PxParticleBufferFlagEnum eUPDATE_DIFFUSE_PARAM
      Specifies the diffuse particle parameter buffer (see PxDiffuseParticleParams)
    • eUPDATE_ATTACHMENTS

      public static final PxParticleBufferFlagEnum eUPDATE_ATTACHMENTS
      Specifies the attachments.
    • eALL

      public static final PxParticleBufferFlagEnum eALL
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static PxParticleBufferFlagEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PxParticleBufferFlagEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forValue

      public static PxParticleBufferFlagEnum forValue(int value)