sdlHideCursor function
Hide the cursor.
\returns true on success or false on failure; call SDL_GetError() for more information.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_CursorVisible \sa SDL_ShowCursor
extern SDL_DECLSPEC bool SDLCALL SDL_HideCursor(void)
Implementation
bool sdlHideCursor() {
final sdlHideCursorLookupFunction = libSdl3
.lookupFunction<Uint8 Function(), int Function()>('SDL_HideCursor');
return sdlHideCursorLookupFunction() == 1;
}