Function sdl2_sys::SDL_GetTextureScaleMode[][src]

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

\brief 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.

\sa SDL_SetTextureScaleMode()