pub unsafe extern "C" fn SDL_SetTextureScaleMode(
    texture: *mut SDL_Texture,
    scaleMode: SDL_ScaleMode
) -> c_int
Expand description

Set the scale mode used for texture scale operations.

If the scale mode is not supported, the closest supported mode is chosen.

\param texture The texture to update. \param scaleMode the SDL_ScaleMode to use for texture scaling. \returns 0 on success, or -1 if the texture is not valid.

\since This function is available since SDL 2.0.12.

\sa SDL_GetTextureScaleMode