Surface.mod

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

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

Return Value

Type: Color

color and alpha multipliers of the dsdl2.Surface

Meta