Surface.colorMod - multiple declarations

Function Surface.colorMod

Wraps SDL_GetSurfaceColorMod which gets the color multipliers of the dsdl2.Surface

ubyte[3] colorMod() @property @trusted const;

Returns

color multipliers of the dsdl2.Surface

Function Surface.colorMod

Wraps SDL_SetSurfaceColorMod which sets the color multipliers of the dsdl2.Surface

void colorMod (
  ubyte[3] newColorMod
) @property @trusted;

Parameters

NameDescription
newColorMod an array of ubytes representing red, green, and blue multipliers (each 0-255)