Function SDL_HapticDestroyEffect
pub unsafe extern "C" fn SDL_HapticDestroyEffect(
haptic: *mut _SDL_Haptic,
effect: i32,
)
Available on crate feature
dep_sdl2
only.Expand description
Destroy a haptic effect on the device.
This will stop the effect if it’s running. Effects are automatically destroyed when the device is closed.
\param haptic the SDL_Haptic device to destroy the effect on \param effect the ID of the haptic effect to destroy
\since This function is available since SDL 2.0.0.
\sa SDL_HapticNewEffect