SDL_GetRendererFromTexture

Get the renderer that created an SDL_Texture.

extern (C) nothrow @nogc extern
SDL_GetRendererFromTexture

Parameters

texture SDL_Texture*

The texture to query.

Return Value

A pointer to the SDL_Renderer that created the texture, or null on failure; call SDL_GetError for more information.

Threadsafety: It is safe to call this function from any thread.

Meta