Texture.scaleMode

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

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

Return Value

Type: ScaleMode

dsdl2.ScaleMode of the texture

Meta