Texture.mod - multiple declarations

Function Texture.mod

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

Color mod() @property @trusted const;

Returns

color and alpha multipliers of the dsdl2.Texture

Function Texture.mod

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

void mod (
  Color newMod
) @property @trusted;

Parameters

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