Home -> PlatformBindings -> WindowSystemInfoSDL3

Declaration

class WindowSystemInfoSDL3;

Description

The WindowSystemInfoSDL3 class is an SDL3 helper that detects SDL's active video driver and builds the matching platform-specific IRenderer.WindowSystemInfoBase derived structure for renderer initialization.

Availability: Builds where COBALT_RENDERER_SDL3_SUPPORT is enabled.

ImportantImportant

On Linux with both Xlib and XCB support compiled in, the SDL helper selects Xlib for the SDL x11 video driver because the Xlib branch is tested first.

Members

Initialization methods

Name Description
Public member Initialize
Builds the platform-specific binding information from SDL state.

Data access methods

Name Description
Public member GetType
Returns the concrete platform binding type.
Public member Get
Returns a pointer to the concrete platform binding structure.

See also