[][src]Function fermium::renderer::SDL_GetTextureColorMod

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

Get the additional color value used in render copy operations.

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

Returns: 0 on success, or -1 if the texture is not valid.

See Also: SDL_SetTextureColorMod