Function SDL_GetTextureUserData
pub unsafe extern "C" fn SDL_GetTextureUserData(
texture: *mut SDL_Texture,
) -> *mut c_void
Available on crate feature
dep_sdl2
only.Expand description
Get the user-specified pointer associated with a texture
\param texture the texture to query. \return the pointer associated with the texture, or NULL if the texture is not valid.
\since This function is available since SDL 2.0.18.
\sa SDL_SetTextureUserData