Surface.colorMod

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

  1. ubyte[3] colorMod()
  2. void colorMod(ubyte[3] newColorMod)
    class Surface
    @property @trusted
    void
    colorMod
    (
    ubyte[3] newColorMod
    )

Parameters

newColorMod ubyte[3]

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

Meta