Texture.mod - multiple declarations

Function Texture.mod

Gets the color and alpha multipliers of the dsdl.Texture that wraps SDL_GetTextureColorMod and SDL_GetTextureAlphaMod

Color mod() @property @trusted const;

Returns

color and alpha multipliers of the dsdl.Texture

Function Texture.mod

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

void mod (
  Color newMod
) @property @trusted;

Parameters

NameDescription
newMod dsdl.Color with .r, .g, .b as the color multipliers, and .a as the alpha multiplier