table of contents
other versions
SDL_HapticDestroyEffect(3) | SDL3 FUNCTIONS | SDL_HapticDestroyEffect(3) |
NAME¶
SDL_HapticDestroyEffect - Destroy a haptic effect on the device.
SYNOPSIS¶
#include "SDL3/SDL.h"
void SDL_HapticDestroyEffect(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.0.0.
SEE ALSO¶
SDL_HapticNewEffect(3)
SDL 3.0.0 | SDL |