Texture.colorMod

Wraps SDL_SetTextureColorMod which sets the color multipliers of the dsdl2.Texture

  1. ubyte[3] colorMod()
  2. void colorMod(ubyte[3] newColorMod)
    class Texture
    @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