Function fermium::renderer::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.
texture
The texture to query.scaleMode
A pointer filled in with the current scale mode.
Returns: 0 on success, or -1 if the texture is not valid.
See Also: SDL_SetTextureScaleMode