SDL_GetTextureScaleMode

Get the scale mode used for texture scale operations.

extern (C) nothrow @nogc extern
bool
SDL_GetTextureScaleMode

Parameters

texture SDL_Texture*

The texture to query.

scaleMode SDL_ScaleMode*

A pointer filled in with the current scale mode.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta