[][src]Function sdl2_sys::SDL_GetTextureColorMod

pub unsafe extern "C" fn SDL_GetTextureColorMod(
    texture: *mut SDL_Texture,
    r: *mut Uint8,
    g: *mut Uint8,
    b: *mut Uint8
) -> c_int

\brief Get the additional color value used in render copy operations.

\param texture The texture to query. \param r A pointer filled in with the current red color value. \param g A pointer filled in with the current green color value. \param b A pointer filled in with the current blue color value.

\return 0 on success, or -1 if the texture is not valid.

\sa SDL_SetTextureColorMod()