#[repr(i32)]pub enum PxMeshMidPhase {
Bvh33 = 0,
Bvh34 = 1,
Last = 2,
}Expand description
Mesh midphase structure. This enum is used to select the desired acceleration structure for midphase queries (i.e. raycasts, overlaps, sweeps vs triangle meshes).
The PxMeshMidPhase::eBVH33 structure is the one used in recent PhysX versions (up to PhysX 3.3). It has great performance and is supported on all platforms. It is deprecated since PhysX 5.x.
The PxMeshMidPhase::eBVH34 structure is a revisited implementation introduced in PhysX 3.4. It can be significantly faster both in terms of cooking performance and runtime performance.
Variants§
Bvh33 = 0
Default midphase mesh structure, as used up to PhysX 3.3 (deprecated)
Bvh34 = 1
New midphase mesh structure, introduced in PhysX 3.4
Last = 2
Trait Implementations§
Source§impl Clone for PxMeshMidPhase
impl Clone for PxMeshMidPhase
Source§fn clone(&self) -> PxMeshMidPhase
fn clone(&self) -> PxMeshMidPhase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PxMeshMidPhase
impl Debug for PxMeshMidPhase
Source§impl PartialEq for PxMeshMidPhase
impl PartialEq for PxMeshMidPhase
impl Copy for PxMeshMidPhase
impl Eq for PxMeshMidPhase
impl StructuralPartialEq for PxMeshMidPhase
Auto Trait Implementations§
impl Freeze for PxMeshMidPhase
impl RefUnwindSafe for PxMeshMidPhase
impl Send for PxMeshMidPhase
impl Sync for PxMeshMidPhase
impl Unpin for PxMeshMidPhase
impl UnwindSafe for PxMeshMidPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more