Function setCursorVisibility

Wraps SDL_ShowCursor which sets the visibility of the cursor

void setCursorVisibility (
  bool visible
) @trusted;

Parameters

NameDescription
visible true to make cursor visible, otherwise false

Throws

dsdl2.SDLException if failed to set cursor visibility