Function sdl2_sys::SDL_HapticDestroyEffect [] [src]

pub unsafe extern "C" fn SDL_HapticDestroyEffect(
    haptic: *mut SDL_Haptic,
    effect: c_int
)

\brief Destroys 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 Device to destroy the effect on. \param effect Identifier of the effect to destroy.

\sa SDL_HapticNewEffect