RendererInfo.this

Constructs a dsdl2.RendererInfo by feeding it its attributes

  1. this()
  2. this(SDL_RendererInfo sdlRendererInfo)
  3. this(string name, PixelFormat[] textureFormats, uint[2] maxTextureSize, bool software, bool accelerated, bool presentVSync, bool targetTexture)
    struct RendererInfo
    @trusted
    this
    (
    string name
    ,,,
    bool software = false
    ,
    bool accelerated = false
    ,
    bool presentVSync = false
    ,
    bool targetTexture = false
    )

Parameters

name string

name of the renderer

textureFormats PixelFormat[]

available texture pixel format(s)

maxTextureSize uint[2]

maximum size a texture can be

software bool

adds SDL_RENDERER_SOFTWARE flag

accelerated bool

adds SDL_RENDERER_ACCELERATED flag

presentVSync bool

adds SDL_RENDERER_PRESENTVSYNC flag

targetTexture bool

adds SDL_RENDERER_TARGETTEXTURE flag

Meta