RendererInfo.this - multiple declarations
Function RendererInfo.this
Constructs a dsdl
from a vanilla SDL_RendererInfo
from bindbc-sdl
ref this
(
sdl .render .SDL_RendererInfo sdlRendererInfo
) @trusted;
Parameters
Name | Description |
---|---|
sdlRendererInfo | the SDL_RendererInfo struct |
Function RendererInfo.this
Constructs a dsdl
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
Name | Description |
---|---|
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 |