table of contents
other versions
- experimental 3~git20231011~321fc18+ds-1
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¶
- texture
- 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 3.0.0 | SDL |