- All Implemented Interfaces:
Serializable,Comparable<PxParticleBufferFlagEnum>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo data specifiedSpecifies the attachments.Specifies the cloth buffer (see PxParticleClothBuffer)Specifies the diffuse particle parameter buffer (see PxDiffuseParticleParams)Specifies the per-particle phase flag data (array of PxU32 * number of particles)Specifies the position (first 3 floats) and inverse mass (last float) data (array of PxVec4 * number of particles)Specifies the rest position (first 3 floats) data for cloth buffersSpecifies the rigid buffer (see PxParticleRigidBuffer)Specifies the velocity (first 3 floats) data (array of PxVec4 * number of particles) -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PxParticleBufferFlagEnumforValue(int value) static PxParticleBufferFlagEnumReturns the enum constant of this class with the specified name.static PxParticleBufferFlagEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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. -
eALL
-
-
Field Details
-
value
public final int value
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
forValue
-