SDL_Cursor(3type)

πŸ’– SDL_Cursor πŸ’–

okay bestie, welcome to the 3type corner of the manual β€” that's the section where we just talk about types, no functions, no drama, just vibes and typedefs ✨

🌸 NAME 🌸

SDL_Cursor β€” the structure used to identify an SDL cursor. that's it, that's the whole job, and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

like, here's literally how you even get access to her:

#include <SDL3/SDL_mouse.h>

typedef struct SDL_Cursor SDL_Cursor;

copy it exactly, no notes 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so, the tea: this is opaque data. which means you don't get to peek inside. no snooping, no poking at her fields, no "but what's in there tho" 😭 she's giving mystery, she's giving main character, she's giving you'll never know me like that. you just hold the pointer and let SDL do the rest, periodt πŸ’œ


⭐ AVAILABILITY ⭐

this struct has been available since SDL 3.2.0. so if you're on anything older, bestie, it's not her, it's your version 🌈


and that's the whole page, you ate it, no crumbs πŸ“

this lil slice of the manual came from Simple Directmedia Layer, sitting pretty at SDL 3.4.18 β€” mwah, bye bye πŸ’–βœ¨

πŸ“¦ where this page comes from