Texture.scaleMode - multiple declarations

Function Texture.scaleMode

Wraps SDL_GetTextureScaleMode (from SDL 2.0.12) which gets the texture's scaling mode

ScaleMode scaleMode() @property @trusted const;

Returns

dsdl2.ScaleMode of the texture

Function Texture.scaleMode

Wraps SDL_SetTextureScaleMode (from SDL 2.0.12) which sets the texture's scaling mode

void scaleMode (
  ScaleMode newMode
) @property @trusted;

Parameters

NameDescription
newMode new dsdl2.ScaleMode set