pub unsafe extern "C" fn SDL_GetRendererFromTexture(
texture: *mut SDL_Texture,
) -> *mut SDL_RendererExpand description
Get the renderer that created an SDL_Texture.
§Parameters
texture: the texture to query.
§Return value
Returns a pointer to the SDL_Renderer that created the texture, or NULL on
failure; call SDL_GetError() for more information.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.