table of contents
SDL_DestroyHapticEffect(3) | SDL3 FUNCTIONS | SDL_DestroyHapticEffect(3) |
NAME¶
SDL_DestroyHapticEffect - Destroy a haptic effect on the device.
HEADER FILE¶
Defined in SDL3/SDL_haptic.h
SYNOPSIS¶
#include "SDL3/SDL.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¶
AVAILABILITY¶
This function is available since SDL 3.1.3.
SEE ALSO¶
SDL 3.1.6 | Simple Directmedia Layer |