Enum physx_sys::PxBVH34BuildStrategy
source · #[repr(i32)]
pub enum PxBVH34BuildStrategy {
Fast,
Default,
Sah,
Last,
}
Expand description
Desired build strategy for PxMeshMidPhase::eBVH34
Variants§
Fast
Fast build strategy. Fast build speed, good runtime performance in most cases. Recommended for runtime mesh cooking.
Default
Default build strategy. Medium build speed, good runtime performance in all cases.
Sah
SAH build strategy. Slower builds, slightly improved runtime performance in some cases.
Last
Trait Implementations§
source§impl Clone for PxBVH34BuildStrategy
impl Clone for PxBVH34BuildStrategy
source§fn clone(&self) -> PxBVH34BuildStrategy
fn clone(&self) -> PxBVH34BuildStrategy
Returns a copy 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 PxBVH34BuildStrategy
impl Debug for PxBVH34BuildStrategy
source§impl PartialEq<PxBVH34BuildStrategy> for PxBVH34BuildStrategy
impl PartialEq<PxBVH34BuildStrategy> for PxBVH34BuildStrategy
source§fn eq(&self, other: &PxBVH34BuildStrategy) -> bool
fn eq(&self, other: &PxBVH34BuildStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.