SDL_DestroyHapticEffect - Man Page
Destroy a haptic effect on the device.
Synopsis
#include <SDL3/SDL_haptic.h> void SDL_DestroyHapticEffect(SDL_Haptic *haptic, int effect);
Description
This will stop the effect if it's running. Effects are automatically destroyed when the device is closed.
Function Parameters
- haptic
the SDL_Haptic device to destroy the effect on.
- effect
the ID of the haptic effect to destroy.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS