pub unsafe extern "C" fn PxScene_setFilterShaderData_mut(
    self_: *mut PxScene,
    data: *const c_void,
    dataSize: u32
)
Expand description

Sets the shared global filter data which will get passed into the filter shader.

It is the user’s responsibility to ensure that changing the shared global filter data does not change the filter output value for existing pairs. If the filter output for existing pairs does change nonetheless then such a change will not take effect until the pair gets refiltered. resetFiltering() can be used to explicitly refilter the pairs of specific objects.

The provided data will get copied to internal buffers and this copy will be used for filtering calls.

Do not use this method while the simulation is running. Calls to this method while the simulation is running will be ignored.