Function fermium::renderer::SDL_SetTextureColorMod
source · pub unsafe extern "C" fn SDL_SetTextureColorMod(
texture: *mut SDL_Texture,
r: u8,
g: u8,
b: u8
) -> c_int
Expand description
Set an additional color value used in render copy operations.
texture
The texture to update.r
The red color value multiplied into copy operations.g
The green color value multiplied into copy operations.b
The blue color value multiplied into copy operations.
Returns: 0 on success, or -1 if the texture is not valid or color modulation is not supported.
See Also: SDL_GetTextureColorMod