Skip to main content

SDL_CreateSystemCursor

Function SDL_CreateSystemCursor 

Source
pub unsafe extern "C" fn SDL_CreateSystemCursor(
    id: SDL_SystemCursor,
) -> *mut SDL_Cursor
Expand description

Create a system cursor.

Parameter: id an SDL_SystemCursor enum value. Returns: a cursor on success or NULL on failure; call SDL_GetError() for more information.

Thread Safety: This function should only be called on the main thread.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_DestroyCursor