Surface.mod - multiple declarations

Function Surface.mod

Gets the color and alpha multipliers of the dsdl2.Surface that wraps SDL_GetSurfaceColorMod and SDL_GetSurfaceAlphaMod

Color mod() @property @trusted const;

Returns

color and alpha multipliers of the dsdl2.Surface

Function Surface.mod

Sets the color and alpha multipliers of the dsdl2.Surface that wraps SDL_SetSurfaceColorMod and SDL_SetSurfaceAlphaMod

void mod (
  Color newMod
) @property @trusted;

Parameters

NameDescription
newMod dsdl2.Color with .r, .g, .b as the color multipliers, and .a as the alpha multiplier