[][src]Struct physx_sys::PxSceneDesc

#[repr(C)]
pub struct PxSceneDesc {
    pub gravity: PxVec3,
    pub structgen_pad0: [u8; 4],
    pub simulationEventCallback: *mut PxSimulationEventCallback,
    pub contactModifyCallback: *mut PxContactModifyCallback,
    pub ccdContactModifyCallback: *mut PxCCDContactModifyCallback,
    pub filterShaderData: *const c_void,
    pub filterShaderDataSize: u32,
    pub structgen_pad1: [u8; 4],
    pub filterShader: *mut c_void,
    pub filterCallback: *mut PxSimulationFilterCallback,
    pub kineKineFilteringMode: u32,
    pub staticKineFilteringMode: u32,
    pub broadPhaseType: u32,
    pub structgen_pad2: [u8; 4],
    pub broadPhaseCallback: *mut PxBroadPhaseCallback,
    pub limits: PxSceneLimits,
    pub frictionType: u32,
    pub solverType: u32,
    pub bounceThresholdVelocity: f32,
    pub frictionOffsetThreshold: f32,
    pub ccdMaxSeparation: f32,
    pub solverOffsetSlop: f32,
    pub flags: PxSceneFlags,
    pub structgen_pad3: [u8; 4],
    pub cpuDispatcher: *mut PxCpuDispatcher,
    pub cudaContextManager: *mut PxCudaContextManager,
    pub staticStructure: u32,
    pub dynamicStructure: u32,
    pub dynamicTreeRebuildRateHint: u32,
    pub sceneQueryUpdateMode: u32,
    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 wakeCounterResetValue: f32,
    pub sanityBounds: PxBounds3,
    pub gpuDynamicsConfig: PxgDynamicsMemoryConfig,
    pub gpuMaxNumPartitions: u32,
    pub gpuComputeVersion: u32,
    pub structgen_pad4: [u8; 12],
}

Fields

gravity: PxVec3structgen_pad0: [u8; 4]simulationEventCallback: *mut PxSimulationEventCallbackcontactModifyCallback: *mut PxContactModifyCallbackccdContactModifyCallback: *mut PxCCDContactModifyCallbackfilterShaderData: *const c_voidfilterShaderDataSize: u32structgen_pad1: [u8; 4]filterShader: *mut c_voidfilterCallback: *mut PxSimulationFilterCallbackkineKineFilteringMode: u32staticKineFilteringMode: u32broadPhaseType: u32structgen_pad2: [u8; 4]broadPhaseCallback: *mut PxBroadPhaseCallbacklimits: PxSceneLimitsfrictionType: u32solverType: u32bounceThresholdVelocity: f32frictionOffsetThreshold: f32ccdMaxSeparation: f32solverOffsetSlop: f32flags: PxSceneFlagsstructgen_pad3: [u8; 4]cpuDispatcher: *mut PxCpuDispatchercudaContextManager: *mut PxCudaContextManagerstaticStructure: u32dynamicStructure: u32dynamicTreeRebuildRateHint: u32sceneQueryUpdateMode: u32userData: *mut c_voidsolverBatchSize: u32solverArticulationBatchSize: u32nbContactDataBlocks: u32maxNbContactDataBlocks: u32maxBiasCoefficient: f32contactReportStreamBufferSize: u32ccdMaxPasses: u32ccdThreshold: f32wakeCounterResetValue: f32sanityBounds: PxBounds3gpuDynamicsConfig: PxgDynamicsMemoryConfiggpuMaxNumPartitions: u32gpuComputeVersion: u32structgen_pad4: [u8; 12]

Trait Implementations

impl Clone for PxSceneDesc[src]

impl Copy for PxSceneDesc[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]