Struct physx_sys::PxSceneDesc

source ·
#[repr(C)]
pub struct PxSceneDesc {
Show 51 fields pub staticStructure: PxPruningStructureType, pub dynamicStructure: PxPruningStructureType, pub dynamicTreeRebuildRateHint: u32, pub dynamicTreeSecondaryPruner: PxDynamicTreeSecondaryPruner, pub staticBVHBuildStrategy: PxBVHBuildStrategy, pub dynamicBVHBuildStrategy: PxBVHBuildStrategy, pub staticNbObjectsPerNode: u32, pub dynamicNbObjectsPerNode: u32, pub sceneQueryUpdateMode: PxSceneQueryUpdateMode, pub gravity: PxVec3, pub simulationEventCallback: *mut PxSimulationEventCallback, pub contactModifyCallback: *mut PxContactModifyCallback, pub ccdContactModifyCallback: *mut PxCCDContactModifyCallback, pub filterShaderData: *const c_void, pub filterShaderDataSize: u32, pub structgen_pad0: [u8; 4], pub filterShader: *mut c_void, pub filterCallback: *mut PxSimulationFilterCallback, pub kineKineFilteringMode: PxPairFilteringMode, pub staticKineFilteringMode: PxPairFilteringMode, pub broadPhaseType: PxBroadPhaseType, pub structgen_pad1: [u8; 4], pub broadPhaseCallback: *mut PxBroadPhaseCallback, pub limits: PxSceneLimits, pub frictionType: PxFrictionType, pub solverType: PxSolverType, pub bounceThresholdVelocity: f32, pub frictionOffsetThreshold: f32, pub frictionCorrelationDistance: f32, pub flags: PxSceneFlags, pub cpuDispatcher: *mut PxCpuDispatcher, pub structgen_pad2: [u8; 8], pub userData: *mut c_void, pub solverBatchSize: u32, pub solverArticulationBatchSize: u32, pub nbContactDataBlocks: u32, pub maxNbContactDataBlocks: u32, pub maxBiasCoefficient: f32, pub contactReportStreamBufferSize: u32, pub ccdMaxPasses: u32, pub ccdThreshold: f32, pub ccdMaxSeparation: f32, pub wakeCounterResetValue: f32, pub sanityBounds: PxBounds3, pub gpuDynamicsConfig: PxgDynamicsMemoryConfig, pub gpuMaxNumPartitions: u32, pub gpuMaxNumStaticPartitions: u32, pub gpuComputeVersion: u32, pub contactPairSlabSize: u32, pub sceneQuerySystem: *mut PxSceneQuerySystem, pub structgen_pad3: [u8; 8],
}

Fields§

§staticStructure: PxPruningStructureType§dynamicStructure: PxPruningStructureType§dynamicTreeRebuildRateHint: u32§dynamicTreeSecondaryPruner: PxDynamicTreeSecondaryPruner§staticBVHBuildStrategy: PxBVHBuildStrategy§dynamicBVHBuildStrategy: PxBVHBuildStrategy§staticNbObjectsPerNode: u32§dynamicNbObjectsPerNode: u32§sceneQueryUpdateMode: PxSceneQueryUpdateMode§gravity: PxVec3§simulationEventCallback: *mut PxSimulationEventCallback§contactModifyCallback: *mut PxContactModifyCallback§ccdContactModifyCallback: *mut PxCCDContactModifyCallback§filterShaderData: *const c_void§filterShaderDataSize: u32§structgen_pad0: [u8; 4]§filterShader: *mut c_void§filterCallback: *mut PxSimulationFilterCallback§kineKineFilteringMode: PxPairFilteringMode§staticKineFilteringMode: PxPairFilteringMode§broadPhaseType: PxBroadPhaseType§structgen_pad1: [u8; 4]§broadPhaseCallback: *mut PxBroadPhaseCallback§limits: PxSceneLimits§frictionType: PxFrictionType§solverType: PxSolverType§bounceThresholdVelocity: f32§frictionOffsetThreshold: f32§frictionCorrelationDistance: f32§flags: PxSceneFlags§cpuDispatcher: *mut PxCpuDispatcher§structgen_pad2: [u8; 8]§userData: *mut c_void§solverBatchSize: u32§solverArticulationBatchSize: u32§nbContactDataBlocks: u32§maxNbContactDataBlocks: u32§maxBiasCoefficient: f32§contactReportStreamBufferSize: u32§ccdMaxPasses: u32§ccdThreshold: f32§ccdMaxSeparation: f32§wakeCounterResetValue: f32§sanityBounds: PxBounds3§gpuDynamicsConfig: PxgDynamicsMemoryConfig§gpuMaxNumPartitions: u32§gpuMaxNumStaticPartitions: u32§gpuComputeVersion: u32§contactPairSlabSize: u32§sceneQuerySystem: *mut PxSceneQuerySystem§structgen_pad3: [u8; 8]

Trait Implementations§

source§

impl Clone for PxSceneDesc

source§

fn clone(&self) -> PxSceneDesc

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for PxSceneDesc

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.