Graphics.this

Creates a new wrapped SDL_Renderer

  1. this(Window w, SDL_RendererFlags flags, int index)
    class Graphics
    this
    (,
    SDL_RendererFlags flags = cast(SDL_RendererFlags)0
    ,
    int index = -1
    )
  2. this(Surface s)

Parameters

w Window

The window to create the renderer for

flags SDL_RendererFlags

The flags to look for when initialising a renderer

index int

The index of the renderer to initialise, leave blank (-1) for the first matching the specified flags

Meta