Load Dollar Gesture templates from a file.
Defined in SDL_gesture.h
int SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src);
SDL_TouchID | touchId | a touch id. |
SDL_RWops * | src | a SDL_RWops to load from. |
(int) Returns the number of loaded templates on success or a negative error code (or 0) on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.