sdl.video

SDL Video

Members

Aliases

SDL_DisplayID
alias SDL_DisplayID = Uint32

This is a unique ID for a display for the time it is connected to the system, and is never reused for the lifetime of the application.

SDL_EGLAttrib
alias SDL_EGLAttrib = ptrdiff_t

An EGL attribute, used when creating an EGL context.

SDL_EGLAttribArrayCallback
alias SDL_EGLAttribArrayCallback = SDL_EGLAttrib* function(void* userdata)

EGL platform attribute initialization callback.

SDL_EGLConfig
alias SDL_EGLConfig = void*

Opaque type for an EGL config.

SDL_EGLDisplay
alias SDL_EGLDisplay = void*

Opaque type for an EGL display.

SDL_EGLIntArrayCallback
alias SDL_EGLIntArrayCallback = SDL_EGLint* function(void* userdata, SDL_EGLDisplay display, SDL_EGLConfig config)

EGL surface/context attribute initialization callback types.

SDL_EGLSurface
alias SDL_EGLSurface = void*

Opaque type for an EGL surface.

SDL_EGLint
alias SDL_EGLint = int

An EGL integer attribute, used when creating an EGL surface.

SDL_GLContext
alias SDL_GLContext = SDL_GLContextState*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_HitTest
alias SDL_HitTest = SDL_HitTestResult function(SDL_Window* win, const(SDL_Point)* area, void* data)

Callback used for hit-testing.

SDL_WindowID
alias SDL_WindowID = Uint32

This is a unique ID for a window.

Enums

SDL_DisplayOrientation
enum SDL_DisplayOrientation

Display orientation values; the way a display is rotated.

SDL_FlashOperation
enum SDL_FlashOperation

Window flash operation.

SDL_GLAttr
enum SDL_GLAttr

An enumeration of OpenGL configuration attributes.

SDL_GLContextFlag
enum SDL_GLContextFlag

Possible flags to be set for the SDL_GL_CONTEXT_FLAGS attribute.

SDL_GLContextReleaseFlag
enum SDL_GLContextReleaseFlag

Possible values to be set for the SDL_GL_CONTEXT_RELEASE_BEHAVIOR attribute.

SDL_GLContextResetNotification
enum SDL_GLContextResetNotification

Possible values to be set SDL_GL_CONTEXT_RESET_NOTIFICATION attribute.

SDL_GLProfile
enum SDL_GLProfile

Possible values to be set for the SDL_GL_CONTEXT_PROFILE_MASK attribute.

SDL_HitTestResult
enum SDL_HitTestResult

Possible return values from the SDL_HitTest callback.

SDL_SystemTheme
enum SDL_SystemTheme

System theme.

SDL_WINDOWPOS_CENTERED_DISPLAY
eponymoustemplate SDL_WINDOWPOS_CENTERED_DISPLAY(alias X)

Used to indicate that the window position should be centered.

SDL_WINDOWPOS_ISCENTERED
eponymoustemplate SDL_WINDOWPOS_ISCENTERED(alias X)

A macro to test if the window position is marked as "centered."

SDL_WINDOWPOS_ISUNDEFINED
eponymoustemplate SDL_WINDOWPOS_ISUNDEFINED(alias X)

A macro to test if the window position is marked as "undefined."

SDL_WINDOWPOS_UNDEFINED_DISPLAY
eponymoustemplate SDL_WINDOWPOS_UNDEFINED_DISPLAY(alias X)

Used to indicate that you don't care what the window position is.

SDL_WindowFlags
enum SDL_WindowFlags

The flags on a window.

Functions

SDL_CreatePopupWindow
SDL_Window* SDL_CreatePopupWindow(SDL_Window* parent, int offset_x, int offset_y, int w, int h, SDL_WindowFlags flags)

Create a child popup window of the specified parent window.

SDL_CreateWindow
SDL_Window* SDL_CreateWindow(const(char)* title, int w, int h, SDL_WindowFlags flags)

Create a window with the specified dimensions and flags.

SDL_CreateWindowWithProperties
SDL_Window* SDL_CreateWindowWithProperties(SDL_PropertiesID props)

Create a window with the specified properties.

SDL_DestroyWindow
void SDL_DestroyWindow(SDL_Window* window)

Destroy a window.

SDL_DestroyWindowSurface
bool SDL_DestroyWindowSurface(SDL_Window* window)

Destroy the surface associated with the window.

SDL_DisableScreenSaver
bool SDL_DisableScreenSaver()

Prevent the screen from being blanked by a screen saver.

SDL_EGL_GetCurrentConfig
SDL_EGLConfig SDL_EGL_GetCurrentConfig()

Get the currently active EGL config.

SDL_EGL_GetCurrentDisplay
SDL_EGLDisplay SDL_EGL_GetCurrentDisplay()

Get the currently active EGL display.

SDL_EGL_GetProcAddress
SDL_FunctionPointer SDL_EGL_GetProcAddress(const(char)* proc)

Get an EGL library function by name.

SDL_EGL_GetWindowSurface
SDL_EGLSurface SDL_EGL_GetWindowSurface(SDL_Window* window)

Get the EGL surface associated with the window.

SDL_EGL_SetAttributeCallbacks
void SDL_EGL_SetAttributeCallbacks(SDL_EGLAttribArrayCallback platformAttribCallback, SDL_EGLIntArrayCallback surfaceAttribCallback, SDL_EGLIntArrayCallback contextAttribCallback, void* userdata)

Sets the callbacks for defining custom EGLAttrib arrays for EGL initialization.

SDL_EnableScreenSaver
bool SDL_EnableScreenSaver()

Allow the screen to be blanked by a screen saver.

SDL_FlashWindow
bool SDL_FlashWindow(SDL_Window* window, SDL_FlashOperation operation)

Request a window to demand attention from the user.

SDL_GL_CreateContext
SDL_GLContext SDL_GL_CreateContext(SDL_Window* window)

Create an OpenGL context for an OpenGL window, and make it current.

SDL_GL_DestroyContext
bool SDL_GL_DestroyContext(SDL_GLContext context)

Delete an OpenGL context.

SDL_GL_ExtensionSupported
bool SDL_GL_ExtensionSupported(const(char)* extension)

Check if an OpenGL extension is supported for the current context.

SDL_GL_GetAttribute
bool SDL_GL_GetAttribute(SDL_GLAttr attr, int* value)

Get the actual value for an attribute from the current context.

SDL_GL_GetCurrentContext
SDL_GLContext SDL_GL_GetCurrentContext()

Get the currently active OpenGL context.

SDL_GL_GetCurrentWindow
SDL_Window* SDL_GL_GetCurrentWindow()

Get the currently active OpenGL window.

SDL_GL_GetProcAddress
SDL_FunctionPointer SDL_GL_GetProcAddress(const(char)* proc)

Get an OpenGL function by name.

SDL_GL_GetSwapInterval
bool SDL_GL_GetSwapInterval(int* interval)

Get the swap interval for the current OpenGL context.

SDL_GL_LoadLibrary
bool SDL_GL_LoadLibrary(const(char)* path)

Dynamically load an OpenGL library.

SDL_GL_MakeCurrent
bool SDL_GL_MakeCurrent(SDL_Window* window, SDL_GLContext context)

Set up an OpenGL context for rendering into an OpenGL window.

SDL_GL_ResetAttributes
void SDL_GL_ResetAttributes()

Reset all previously set OpenGL context attributes to their default values.

SDL_GL_SetAttribute
bool SDL_GL_SetAttribute(SDL_GLAttr attr, int value)

Set an OpenGL window attribute before window creation.

SDL_GL_SetSwapInterval
bool SDL_GL_SetSwapInterval(int interval)

Set the swap interval for the current OpenGL context.

SDL_GL_SwapWindow
bool SDL_GL_SwapWindow(SDL_Window* window)

Update a window with OpenGL rendering.

SDL_GL_UnloadLibrary
void SDL_GL_UnloadLibrary()

Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().

SDL_GetClosestFullscreenDisplayMode
bool SDL_GetClosestFullscreenDisplayMode(SDL_DisplayID displayID, int w, int h, float refresh_rate, bool include_high_density_modes, SDL_DisplayMode* closest)

Get the closest match to the requested display mode.

SDL_GetCurrentDisplayMode
const(SDL_DisplayMode)* SDL_GetCurrentDisplayMode(SDL_DisplayID displayID)

Get information about the current display mode.

SDL_GetCurrentDisplayOrientation
SDL_DisplayOrientation SDL_GetCurrentDisplayOrientation(SDL_DisplayID displayID)

Get the orientation of a display.

SDL_GetCurrentVideoDriver
const(char)* SDL_GetCurrentVideoDriver()

Get the name of the currently initialized video driver.

SDL_GetDesktopDisplayMode
const(SDL_DisplayMode)* SDL_GetDesktopDisplayMode(SDL_DisplayID displayID)

Get information about the desktop's display mode.

SDL_GetDisplayBounds
bool SDL_GetDisplayBounds(SDL_DisplayID displayID, SDL_Rect* rect)

Get the desktop area represented by a display.

SDL_GetDisplayContentScale
float SDL_GetDisplayContentScale(SDL_DisplayID displayID)

Get the content scale of a display.

SDL_GetDisplayForPoint
SDL_DisplayID SDL_GetDisplayForPoint(const(SDL_Point)* point)

Get the display containing a point.

SDL_GetDisplayForRect
SDL_DisplayID SDL_GetDisplayForRect(const(SDL_Rect)* rect)

Get the display primarily containing a rect.

SDL_GetDisplayForWindow
SDL_DisplayID SDL_GetDisplayForWindow(SDL_Window* window)

Get the display associated with a window.

SDL_GetDisplayName
const(char)* SDL_GetDisplayName(SDL_DisplayID displayID)

Get the name of a display in UTF-8 encoding.

SDL_GetDisplayProperties
SDL_PropertiesID SDL_GetDisplayProperties(SDL_DisplayID displayID)

Get the properties associated with a display.

SDL_GetDisplayUsableBounds
bool SDL_GetDisplayUsableBounds(SDL_DisplayID displayID, SDL_Rect* rect)

Get the usable desktop area represented by a display, in screen coordinates.

SDL_GetDisplays
SDL_DisplayID* SDL_GetDisplays(int* count)

Get a list of currently connected displays.

SDL_GetFullscreenDisplayModes
SDL_DisplayMode** SDL_GetFullscreenDisplayModes(SDL_DisplayID displayID, int* count)

Get a list of fullscreen display modes available on a display.

SDL_GetGrabbedWindow
SDL_Window* SDL_GetGrabbedWindow()

Get the window that currently has an input grab enabled.

SDL_GetNaturalDisplayOrientation
SDL_DisplayOrientation SDL_GetNaturalDisplayOrientation(SDL_DisplayID displayID)

Get the orientation of a display when it is unrotated.

SDL_GetNumVideoDrivers
int SDL_GetNumVideoDrivers()

Get the number of video drivers compiled into SDL.

SDL_GetPrimaryDisplay
SDL_DisplayID SDL_GetPrimaryDisplay()

Return the primary display.

SDL_GetSystemTheme
SDL_SystemTheme SDL_GetSystemTheme()

Get the current system theme.

SDL_GetVideoDriver
const(char)* SDL_GetVideoDriver(int index)

Get the name of a built in video driver.

SDL_GetWindowAspectRatio
bool SDL_GetWindowAspectRatio(SDL_Window* window, float* min_aspect, float* max_aspect)

Get the size of a window's client area.

SDL_GetWindowBordersSize
bool SDL_GetWindowBordersSize(SDL_Window* window, int* top, int* left, int* bottom, int* right)

Get the size of a window's borders (decorations) around the client area.

SDL_GetWindowDisplayScale
float SDL_GetWindowDisplayScale(SDL_Window* window)

Get the content display scale relative to a window's pixel size.

SDL_GetWindowFlags
SDL_WindowFlags SDL_GetWindowFlags(SDL_Window* window)

Get the window flags.

SDL_GetWindowFromID
SDL_Window* SDL_GetWindowFromID(SDL_WindowID id)

Get a window from a stored ID.

SDL_GetWindowFullscreenMode
const(SDL_DisplayMode)* SDL_GetWindowFullscreenMode(SDL_Window* window)

Query the display mode to use when a window is visible at fullscreen.

SDL_GetWindowICCProfile
void* SDL_GetWindowICCProfile(SDL_Window* window, size_t* size)

Get the raw ICC profile data for the screen the window is currently on.

SDL_GetWindowID
SDL_WindowID SDL_GetWindowID(SDL_Window* window)

Get the numeric ID of a window.

SDL_GetWindowKeyboardGrab
bool SDL_GetWindowKeyboardGrab(SDL_Window* window)

Get a window's keyboard grab mode.

SDL_GetWindowMaximumSize
bool SDL_GetWindowMaximumSize(SDL_Window* window, int* w, int* h)

Get the maximum size of a window's client area.

SDL_GetWindowMinimumSize
bool SDL_GetWindowMinimumSize(SDL_Window* window, int* w, int* h)

Get the minimum size of a window's client area.

SDL_GetWindowMouseGrab
bool SDL_GetWindowMouseGrab(SDL_Window* window)

Get a window's mouse grab mode.

SDL_GetWindowMouseRect
const(SDL_Rect)* SDL_GetWindowMouseRect(SDL_Window* window)

Get the mouse confinement rectangle of a window.

SDL_GetWindowOpacity
float SDL_GetWindowOpacity(SDL_Window* window)

Get the opacity of a window.

SDL_GetWindowParent
SDL_Window* SDL_GetWindowParent(SDL_Window* window)

Get parent of a window.

SDL_GetWindowPixelDensity
float SDL_GetWindowPixelDensity(SDL_Window* window)

Get the pixel density of a window.

SDL_GetWindowPixelFormat
SDL_PixelFormat SDL_GetWindowPixelFormat(SDL_Window* window)

Get the pixel format associated with the window.

SDL_GetWindowPosition
bool SDL_GetWindowPosition(SDL_Window* window, int* x, int* y)

Get the position of a window.

SDL_GetWindowProperties
SDL_PropertiesID SDL_GetWindowProperties(SDL_Window* window)

Get the properties associated with a window.

SDL_GetWindowSafeArea
bool SDL_GetWindowSafeArea(SDL_Window* window, SDL_Rect* rect)

Get the safe area for this window.

SDL_GetWindowSize
bool SDL_GetWindowSize(SDL_Window* window, int* w, int* h)

Get the size of a window's client area.

SDL_GetWindowSizeInPixels
bool SDL_GetWindowSizeInPixels(SDL_Window* window, int* w, int* h)

Get the size of a window's client area, in pixels.

SDL_GetWindowSurface
SDL_Surface* SDL_GetWindowSurface(SDL_Window* window)

Get the SDL surface associated with the window.

SDL_GetWindowSurfaceVSync
bool SDL_GetWindowSurfaceVSync(SDL_Window* window, int* vsync)

Get VSync for the window surface.

SDL_GetWindowTitle
const(char)* SDL_GetWindowTitle(SDL_Window* window)

Get the title of a window.

SDL_GetWindows
SDL_Window** SDL_GetWindows(int* count)

Get a list of valid windows.

SDL_HideWindow
bool SDL_HideWindow(SDL_Window* window)

Hide a window.

SDL_MaximizeWindow
bool SDL_MaximizeWindow(SDL_Window* window)

Request that the window be made as large as possible.

SDL_MinimizeWindow
bool SDL_MinimizeWindow(SDL_Window* window)

Request that the window be minimized to an iconic representation.

SDL_RaiseWindow
bool SDL_RaiseWindow(SDL_Window* window)

Request that a window be raised above other windows and gain the input focus.

SDL_RestoreWindow
bool SDL_RestoreWindow(SDL_Window* window)

Request that the size and position of a minimized or maximized window be restored.

SDL_ScreenSaverEnabled
bool SDL_ScreenSaverEnabled()

Check whether the screensaver is currently enabled.

SDL_SetWindowAlwaysOnTop
bool SDL_SetWindowAlwaysOnTop(SDL_Window* window, bool on_top)

Set the window to always be above the others.

SDL_SetWindowAspectRatio
bool SDL_SetWindowAspectRatio(SDL_Window* window, float min_aspect, float max_aspect)

Request that the aspect ratio of a window's client area be set.

SDL_SetWindowBordered
bool SDL_SetWindowBordered(SDL_Window* window, bool bordered)

Set the border state of a window.

SDL_SetWindowFocusable
bool SDL_SetWindowFocusable(SDL_Window* window, bool focusable)

Set whether the window may have input focus.

SDL_SetWindowFullscreen
bool SDL_SetWindowFullscreen(SDL_Window* window, bool fullscreen)

Request that the window's fullscreen state be changed.

SDL_SetWindowFullscreenMode
bool SDL_SetWindowFullscreenMode(SDL_Window* window, const(SDL_DisplayMode)* mode)

Set the display mode to use when a window is visible and fullscreen.

SDL_SetWindowHitTest
bool SDL_SetWindowHitTest(SDL_Window* window, SDL_HitTest callback, void* callback_data)

Provide a callback that decides if a window region has special properties.

SDL_SetWindowIcon
bool SDL_SetWindowIcon(SDL_Window* window, SDL_Surface* icon)

Set the icon for a window.

SDL_SetWindowKeyboardGrab
bool SDL_SetWindowKeyboardGrab(SDL_Window* window, bool grabbed)

Set a window's keyboard grab mode.

SDL_SetWindowMaximumSize
bool SDL_SetWindowMaximumSize(SDL_Window* window, int max_w, int max_h)

Set the maximum size of a window's client area.

SDL_SetWindowMinimumSize
bool SDL_SetWindowMinimumSize(SDL_Window* window, int min_w, int min_h)

Set the minimum size of a window's client area.

SDL_SetWindowModal
bool SDL_SetWindowModal(SDL_Window* window, bool modal)

Toggle the state of the window as modal.

SDL_SetWindowMouseGrab
bool SDL_SetWindowMouseGrab(SDL_Window* window, bool grabbed)

Set a window's mouse grab mode.

SDL_SetWindowMouseRect
bool SDL_SetWindowMouseRect(SDL_Window* window, const(SDL_Rect)* rect)

Confines the cursor to the specified area of a window.

SDL_SetWindowOpacity
bool SDL_SetWindowOpacity(SDL_Window* window, float opacity)

Set the opacity for a window.

SDL_SetWindowParent
bool SDL_SetWindowParent(SDL_Window* window, SDL_Window* parent)

Set the window as a child of a parent window.

SDL_SetWindowPosition
bool SDL_SetWindowPosition(SDL_Window* window, int x, int y)

Request that the window's position be set.

SDL_SetWindowResizable
bool SDL_SetWindowResizable(SDL_Window* window, bool resizable)

Set the user-resizable state of a window.

SDL_SetWindowShape
bool SDL_SetWindowShape(SDL_Window* window, SDL_Surface* shape)

Set the shape of a transparent window.

SDL_SetWindowSize
bool SDL_SetWindowSize(SDL_Window* window, int w, int h)

Request that the size of a window's client area be set.

SDL_SetWindowSurfaceVSync
bool SDL_SetWindowSurfaceVSync(SDL_Window* window, int vsync)

Toggle VSync for the window surface.

SDL_SetWindowTitle
bool SDL_SetWindowTitle(SDL_Window* window, const(char)* title)

Set the title of a window.

SDL_ShowWindow
bool SDL_ShowWindow(SDL_Window* window)

Show a window.

SDL_ShowWindowSystemMenu
bool SDL_ShowWindowSystemMenu(SDL_Window* window, int x, int y)

Display the system-level window menu.

SDL_SyncWindow
bool SDL_SyncWindow(SDL_Window* window)

Block until any pending window state is finalized.

SDL_UpdateWindowSurface
bool SDL_UpdateWindowSurface(SDL_Window* window)

Copy the window surface to the screen.

SDL_UpdateWindowSurfaceRects
bool SDL_UpdateWindowSurfaceRects(SDL_Window* window, const(SDL_Rect)* rects, int numrects)

Copy areas of the window surface to the screen.

SDL_WindowHasSurface
bool SDL_WindowHasSurface(SDL_Window* window)

Return whether the window has a surface associated with it.

Manifest constants

SDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN
enum SDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER
enum SDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER
enum SDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER;

The pointer to the global wl_display object used by the Wayland video backend.

SDL_PROP_WINDOW_ANDROID_SURFACE_POINTER
enum SDL_PROP_WINDOW_ANDROID_SURFACE_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_ANDROID_WINDOW_POINTER
enum SDL_PROP_WINDOW_ANDROID_WINDOW_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER
enum SDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_COCOA_WINDOW_POINTER
enum SDL_PROP_WINDOW_COCOA_WINDOW_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER
enum SDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER
enum SDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_FLAGS_NUMBER
enum SDL_PROP_WINDOW_CREATE_FLAGS_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER
enum SDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_MENU_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_MENU_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_METAL_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_METAL_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_PARENT_POINTER
enum SDL_PROP_WINDOW_CREATE_PARENT_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_TITLE_STRING
enum SDL_PROP_WINDOW_CREATE_TITLE_STRING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN
enum SDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER
enum SDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_WIDTH_NUMBER
enum SDL_PROP_WINDOW_CREATE_WIDTH_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER
enum SDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER
enum SDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER
enum SDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_X_NUMBER
enum SDL_PROP_WINDOW_CREATE_X_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_CREATE_Y_NUMBER
enum SDL_PROP_WINDOW_CREATE_Y_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN
enum SDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_HDR_HEADROOM_FLOAT
enum SDL_PROP_WINDOW_HDR_HEADROOM_FLOAT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER
enum SDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER
enum SDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER
enum SDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_OPENVR_OVERLAY_ID
enum SDL_PROP_WINDOW_OPENVR_OVERLAY_ID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT
enum SDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_SHAPE_POINTER
enum SDL_PROP_WINDOW_SHAPE_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER
enum SDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER
enum SDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER
enum SDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER
enum SDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_UIKIT_WINDOW_POINTER
enum SDL_PROP_WINDOW_UIKIT_WINDOW_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER
enum SDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER
enum SDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER
enum SDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER
enum SDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER
enum SDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER
enum SDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER
enum SDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER
enum SDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER
enum SDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER
enum SDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING
enum SDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER
enum SDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WIN32_HDC_POINTER
enum SDL_PROP_WINDOW_WIN32_HDC_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WIN32_HWND_POINTER
enum SDL_PROP_WINDOW_WIN32_HWND_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_WIN32_INSTANCE_POINTER
enum SDL_PROP_WINDOW_WIN32_INSTANCE_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_X11_DISPLAY_POINTER
enum SDL_PROP_WINDOW_X11_DISPLAY_POINTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_X11_SCREEN_NUMBER
enum SDL_PROP_WINDOW_X11_SCREEN_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_PROP_WINDOW_X11_WINDOW_NUMBER
enum SDL_PROP_WINDOW_X11_WINDOW_NUMBER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_WINDOWPOS_CENTERED
enum SDL_WINDOWPOS_CENTERED;

Used to indicate that the window position should be centered.

SDL_WINDOWPOS_CENTERED_MASK
enum SDL_WINDOWPOS_CENTERED_MASK;

A magic value used with SDL_WINDOWPOS_CENTERED.

SDL_WINDOWPOS_UNDEFINED
enum SDL_WINDOWPOS_UNDEFINED;

Used to indicate that you don't care what the window position/display is.

SDL_WINDOWPOS_UNDEFINED_MASK
enum SDL_WINDOWPOS_UNDEFINED_MASK;

A magic value used with SDL_WINDOWPOS_UNDEFINED.

SDL_WINDOW_SURFACE_VSYNC_ADAPTIVE
enum SDL_WINDOW_SURFACE_VSYNC_ADAPTIVE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SDL_WINDOW_SURFACE_VSYNC_DISABLED
enum SDL_WINDOW_SURFACE_VSYNC_DISABLED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

SDL_DisplayMode
struct SDL_DisplayMode

The structure that defines a display mode.

SDL_DisplayModeData
struct SDL_DisplayModeData

Internal display mode data.

SDL_GLContextState
struct SDL_GLContextState

An opaque handle to an OpenGL context.

SDL_Window
struct SDL_Window

The struct used as an opaque handle to a window.

See Also

Meta

License

Subject to the terms of the Zlib License, as written in the LICENSE file.

Authors

Luna Nielsen