RendererInfo.this - multiple declarations

Function RendererInfo.this

Constructs a dsdl2.RendererInfo from a vanilla SDL_RendererInfo from bindbc-sdl

ref this (
  sdl.render.SDL_RendererInfo sdlRendererInfo
) @trusted;

Parameters

NameDescription
sdlRendererInfo the SDL_RendererInfo struct

Function RendererInfo.this

Constructs a dsdl2.RendererInfo by feeding it its attributes

ref this (
  string name,
  PixelFormat[] textureFormats,
  uint[2] maxTextureSize,
  bool software = false,
  bool accelerated = false,
  bool presentVSync = false,
  bool targetTexture = false
) @trusted;

Parameters

NameDescription
name name of the renderer
textureFormats available texture pixel format(s)
maxTextureSize maximum size a texture can be
software adds SDL_RENDERER_SOFTWARE flag
accelerated adds SDL_RENDERER_ACCELERATED flag
presentVSync adds SDL_RENDERER_PRESENTVSYNC flag
targetTexture adds SDL_RENDERER_TARGETTEXTURE flag