SDL_GetSurfaceColorMod

Get the additional color value multiplied into blit operations.

extern (C) nothrow @nogc extern
bool
SDL_GetSurfaceColorMod

Parameters

surface SDL_Surface*

the SDL_Surface structure to query.

r Uint8*

a pointer filled in with the current red color value.

g Uint8*

a pointer filled in with the current green color value.

b Uint8*

a pointer filled in with the current blue color value.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

See Also

Meta