v2026.5.3
All Bundles
Bundle SDL2 multimedia library for 2D graphics, input handling, audio playback, and window management. Core types: Window, Renderer, Texture, Surface, Event, and Mixer. Compile with -lib sdl2.

RendererInfo

Contains information on the capabilities of a render driver or the current render context

Operations

GetFlags #

Get a mask of supported renderer flags

method : public : GetFlags() ~ Int

Return

TypeDescription
Intrenderer flags

GetMaxTextureHeight #

Get the the maximum texture height

method : public : GetMaxTextureHeight() ~ Int

Return

TypeDescription
Intmaximum texture height

GetMaxTextureWidth #

Get the the maximum texture width

method : public : GetMaxTextureWidth() ~ Int

Return

TypeDescription
Intmaximum texture width

GetName #

Get the name of the renderer

method : public : GetName() ~ String

Return

TypeDescription
Stringrenderer name

GetNumTextureFormats #

Get the number of available texture formats

method : public : GetNumTextureFormats() ~ Int

Return

TypeDescription
Inttexture format number

GetTextureFormats #

Get the available texture formats

method : public : GetTextureFormats() ~ Int[]

Return

TypeDescription
Inttexture formats