Function sdl2_sys::SDL_SetTextureColorMod [] [src]

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

\brief Set an additional color value used in render copy operations.

\param texture The texture to update. \param r The red color value multiplied into copy operations. \param g The green color value multiplied into copy operations. \param b The blue color value multiplied into copy operations.

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

\sa SDL_GetTextureColorMod()