[−][src]Function physx_sys::enable_custom_filter_shader
pub unsafe extern "C" fn enable_custom_filter_shader(
scene_desc: *mut PxSceneDesc,
shader: SimulationFilterShader,
call_default_filter_shader_first: u32
)
Override the default filter shader in the scene with a custom function. If call_default_filter_shader_first is set to true, this will first call the built-in PhysX filter (that matches Physx 2.8 behavior) before your callback.