SDL_DestroyHapticEffect3
Destroy a haptic effect on the device.
Usage
#include "SDL3/SDL.h"
void SDL_DestroyHapticEffect(SDL_Haptic *haptic, int effect);
Header file
Defined in SDL3/SDL_haptic.h
Overview
This will stop the effect if it's running. Effects are automatically destroyed when the device is closed.
Function parameters
haptic
|
the |
|---|---|
effect
|
the ID of the haptic effect to destroy. |