| SDL_GetCursor(3) | SDL3 FUNCTIONS | SDL_GetCursor(3) |
SDL_GetCursor - Get the active cursor.
Defined in SDL3/SDL_mouse.h
#include "SDL3/SDL.h"
SDL_Cursor * SDL_GetCursor(void);
This function returns a pointer to the current cursor which is owned by the library. It is not necessary to free the cursor with
SDL_DestroyCursor ().
( SDL_Cursor
*) Returns the active cursor or NULL if there is no mouse.
This function should only be called on the main thread.
This function is available since SDL 3.2.0.
•(3), SDL_SetCursor(3)
| SDL 3.2.10 | Simple Directmedia Layer |