Home -> PlatformBindings -> WindowInfoSDL3
Declaration
class WindowInfoSDL3;Description
The WindowInfoSDL3 class is an SDL3 helper that detects the native window system used by an SDL_Window and builds the matching platform-specific IFrameBuffer.WindowInfoBase derived structure for framebuffer binding.
Availability: Builds where COBALT_RENDERER_SDL3_SUPPORT is enabled.
Important
On macOS, WindowInfoSDL3::Initialize must be called from a module compiled as Objective-C++, because SDL exposes the Cocoa window object and the helper must access its content view.
Important
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 | |
|---|---|---|
| Initialize |
Builds the platform-specific binding information from SDL state.
|