Texture.colorMod - multiple declarations

Function Texture.colorMod

Wraps SDL_GetTextureColorMod which gets the color multipliers of the dsdl2.Texture

ubyte[3] colorMod() @property @trusted const;

Returns

color multipliers of the dsdl2.Texture

Function Texture.colorMod

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

void colorMod (
  ubyte[3] newColorMod
) @property @trusted;

Parameters

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