Texture.scaleMode

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

  1. ScaleMode scaleMode()
  2. void scaleMode(ScaleMode newMode)
    class Texture
    @property @trusted
    static if(sdlSupport >= SDLSupport.v2_0_12)
    void
    scaleMode

Parameters

newMode ScaleMode

new dsdl2.ScaleMode set

Meta