Renderer.integerScaling

Wraps SDL_RenderSetIntegerScale (from SDL 2.0.5) which sets whether integer scales should be forced

  1. bool integerScaling()
  2. void integerScaling(bool newScale)
    class Renderer
    @property @trusted
    static if(sdlSupport >= SDLSupport.v2_0_5)
    void
    integerScaling
    ()

Parameters

newScale bool

true to enable integer scaling, otherwise false

Throws

dsdl2.SDLException if failed to set integer scaling

Meta