Struct RendererInfo
D struct that wraps SDL_RendererInfo
containing renderer information
Constructors
Name | Description |
this
(sdlRendererInfo)
|
Constructs a dsdl2.RendererInfo from a vanilla SDL_RendererInfo from bindbc-sdl
|
this
(name, textureFormats, maxTextureSize, software, accelerated, presentVSync, targetTexture)
|
Constructs a dsdl2.RendererInfo by feeding it its attributes
|
Properties
Name | Type | Description |
accelerated [get]
|
bool | Gets whether the dsdl2.RendererInfo has SDL_RENDERER_ACCELERATED flag
|
accelerated [set]
|
bool | Sets whether the dsdl2.RendererInfo has SDL_RENDERER_ACCELERATED flag
|
maxTextureHeight [get]
|
inout(uint) | Proxy to the maximum texture height of the dsdl2.RendererInfo
|
maxTextureWidth [get]
|
inout(uint) | Proxy to the maximum texture width of the dsdl2.RendererInfo
|
presentVSync [get]
|
bool | Gets whether the dsdl2.RendererInfo has SDL_RENDERER_PRESENTVSYNC flag
|
presentVSync [set]
|
bool | Sets whether the dsdl2.RendererInfo has SDL_RENDERER_PRESENTVSYNC flag
|
sdlRendererInfo [get]
|
inout(sdl.render.SDL_RendererInfo) | Gets the internal SDL_RendererInfo representation
|
software [get]
|
bool | Gets whether the dsdl2.RendererInfo has SDL_RENDERER_SOFTWARE flag
|
software [set]
|
bool | Sets whether the dsdl2.RendererInfo has SDL_RENDERER_SOFTWARE flag
|
targetTexture [get]
|
bool | Gets whether the dsdl2.RendererInfo has SDL_RENDERER_TARGETTEXTURE flag
|
targetTexture [set]
|
bool | Sets whether the dsdl2.RendererInfo has SDL_RENDERER_TARGETTEXTURE flag
|
Methods
Name | Description |
toString
()
|
Formats the dsdl2.RendererInfo into its construction representation:
"dsdl2.RendererInfo(<name>, <textureFormats>, <maxTextureSize>, <flag> : <value> ...)"
|