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