Function sdl2_sys::SDL_GetTextureColorMod
source ยท pub unsafe extern "C" fn SDL_GetTextureColorMod(
texture: *mut SDL_Texture,
r: *mut Uint8,
g: *mut Uint8,
b: *mut Uint8,
) -> c_int
Expand description
Get the additional color value multiplied into 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 \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetTextureAlphaMod \sa SDL_SetTextureColorMod