Scroll to navigation

SDL_GetTextureUserData(3) SDL3 FUNCTIONS SDL_GetTextureUserData(3)

NAME

SDL_GetTextureUserData - Get the user-specified pointer associated with a texture

SYNOPSIS

#include "SDL3/SDL.h"
void* SDL_GetTextureUserData(SDL_Texture *texture);

FUNCTION PARAMETERS

the texture to query.

RETURN VALUE

Returns the pointer associated with the texture, or NULL if the texture is not valid.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_SetTextureUserData(3)

SDL 3.0.0 SDL