Surface.mod

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

  1. Color mod()
  2. void mod(Color newMod)
    class Surface
    @property @trusted
    void
    mod

Parameters

newMod Color

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

Meta