Function sdl2_sys::SDL_GetTextureScaleMode
source ยท pub unsafe extern "C" fn SDL_GetTextureScaleMode(
texture: *mut SDL_Texture,
scaleMode: *mut SDL_ScaleMode,
) -> c_int
Expand description
Get the scale mode used for texture scale operations.
\param texture the texture to query. \param scaleMode a pointer filled in with the current scale mode. \return 0 on success, or -1 if the texture is not valid.
\since This function is available since SDL 2.0.12.
\sa SDL_SetTextureScaleMode