Enum physx_sys::PxParticleBufferFlag
source · #[repr(i32)]pub enum PxParticleBufferFlag {
None,
UpdatePosition,
UpdateVelocity,
UpdatePhase,
UpdateRestposition,
UpdateCloth,
UpdateRigid,
UpdateDiffuseParam,
UpdateAttachments,
All,
}
Expand description
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.
Variants§
None
No data specified
UpdatePosition
Specifies the position (first 3 floats) and inverse mass (last float) data (array of PxVec4 * number of particles)
UpdateVelocity
Specifies the velocity (first 3 floats) data (array of PxVec4 * number of particles)
UpdatePhase
Specifies the per-particle phase flag data (array of PxU32 * number of particles)
UpdateRestposition
Specifies the rest position (first 3 floats) data for cloth buffers
UpdateCloth
Specifies the cloth buffer (see PxParticleClothBuffer)
UpdateRigid
Specifies the rigid buffer (see PxParticleRigidBuffer)
UpdateDiffuseParam
Specifies the diffuse particle parameter buffer (see PxDiffuseParticleParams)
UpdateAttachments
Specifies the attachments.
All
Trait Implementations§
source§impl Clone for PxParticleBufferFlag
impl Clone for PxParticleBufferFlag
source§fn clone(&self) -> PxParticleBufferFlag
fn clone(&self) -> PxParticleBufferFlag
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PxParticleBufferFlag
impl Debug for PxParticleBufferFlag
source§impl PartialEq<PxParticleBufferFlag> for PxParticleBufferFlag
impl PartialEq<PxParticleBufferFlag> for PxParticleBufferFlag
source§fn eq(&self, other: &PxParticleBufferFlag) -> bool
fn eq(&self, other: &PxParticleBufferFlag) -> bool
self
and other
values to be equal, and is used
by ==
.