Texture.mod

Sets the color and alpha multipliers of the dsdl2.Texture that wraps SDL_SetTextureColorMod and SDL_SetTextureAlphaMod

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

Parameters

newMod Color

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

Meta