Enum physx_sys::PxParticleBufferFlag
source · #[repr(i32)]pub enum PxParticleBufferFlag {
None = 0,
UpdatePosition = 1,
UpdateVelocity = 2,
UpdatePhase = 4,
UpdateRestposition = 8,
UpdateCloth = 32,
UpdateRigid = 64,
UpdateDiffuseParam = 128,
UpdateAttachments = 256,
All = 495,
}
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 = 0
No data specified
UpdatePosition = 1
Specifies the position (first 3 floats) and inverse mass (last float) data (array of PxVec4 * number of particles)
UpdateVelocity = 2
Specifies the velocity (first 3 floats) data (array of PxVec4 * number of particles)
UpdatePhase = 4
Specifies the per-particle phase flag data (array of PxU32 * number of particles)
UpdateRestposition = 8
Specifies the rest position (first 3 floats) data for cloth buffers
UpdateCloth = 32
Specifies the cloth buffer (see PxParticleClothBuffer)
UpdateRigid = 64
Specifies the rigid buffer (see PxParticleRigidBuffer)
UpdateDiffuseParam = 128
Specifies the diffuse particle parameter buffer (see PxDiffuseParticleParams)
UpdateAttachments = 256
Specifies the attachments.
All = 495
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 for PxParticleBufferFlag
impl PartialEq 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 ==
.