|
Size: 864
Comment: create page, add content (Rev 5321)
|
← Revision 4 as of 2016-07-15 20:09:43 ⇥
Size: 914
Comment: Removed old formatting.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 17: | Line 17: |
| ||'''haptic'''||^a pointer to the haptic^ device to destroy the effect on|| ||'''effect'''||^ID^ ,,identifier,, of the ^haptic^ effect to destroy|| |
||'''haptic'''||the SDL_Haptic device to destroy the effect on|| ||'''effect'''|| /* ID */ identifier of the haptic effect to destroy|| |
| Line 28: | Line 28: |
| == Version == This function is available since SDL 2.0.0. |
DRAFT |
SDL_HapticDestroyEffect
Use this function to destroy a haptic effect on the device.
Contents
Syntax
void SDL_HapticDestroyEffect(SDL_Haptic* haptic,
int effect)
Function Parameters
haptic |
the SDL_Haptic device to destroy the effect on |
effect |
identifier of the haptic effect to destroy |
Code Examples
You can add your code example here
Remarks
This will stop the effect if it's running. Effects are automatically destroyed when the device is closed.
Version
This function is available since SDL 2.0.0.
