Scroll to navigation

SDL_GetWindowData(3) SDL3 FUNCTIONS SDL_GetWindowData(3)

NAME

SDL_GetWindowData - Retrieve the data pointer associated with a window.

SYNOPSIS

#include "SDL3/SDL.h"
void* SDL_GetWindowData(SDL_Window *window, const char *name);

FUNCTION PARAMETERS

the window to query
the name of the pointer

RETURN VALUE

Returns the value associated with name .

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_SetWindowData(3)

SDL 3.0.0 SDL