Crate sdl2_sys

Source
Expand description

This crate was mainly generated by bindgen. It should be enough in most cases, but if you ever find discrepancies between what bindgen generated and your OS, you can always generate your own sdl2-sys.

Structs§

Depth
SDL_AssertData
SDL_AudioCVT
SDL_AudioDeviceEvent
\brief Audio device event structure (event.adevice.*)
SDL_AudioSpec
The calculated values in this structure are calculated by SDL_OpenAudio().
SDL_BlitMap
SDL_Color
The bits of this structure can be directly reinterpreted as an integer-packed color which uses the SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little-endian systems and SDL_PIXELFORMAT_RGBA8888 on big-endian systems).
SDL_CommonEvent
\brief Fields shared by every event
SDL_ControllerAxisEvent
\brief Game controller axis motion event structure (event.caxis.*)
SDL_ControllerButtonEvent
\brief Game controller button event structure (event.cbutton.*)
SDL_ControllerDeviceEvent
\brief Controller device event structure (event.cdevice.*)
SDL_ControllerSensorEvent
\brief Game controller sensor event structure (event.csensor.*)
SDL_ControllerTouchpadEvent
\brief Game controller touchpad event structure (event.ctouchpad.*)
SDL_Cursor
SDL_DisplayEvent
\brief Display state change event data (event.display.*)
SDL_DisplayMode
\brief The structure that defines a display mode
SDL_DollarGestureEvent
\brief Dollar Gesture Event (event.dgesture.*)
SDL_DropEvent
\brief An event used to request a file open by the system (event.drop.*) This event is enabled by default, you can disable it with SDL_EventState(). \note If this event is enabled, you must free the filename in the event.
SDL_FPoint
The structure that defines a point (floating point)
SDL_FRect
A rectangle, with the origin at the upper left (floating point).
SDL_Finger
SDL_GUID
An SDL_GUID is a 128-bit identifier for an input device that identifies that device across runs of SDL programs on the same platform. If the device is detached and then re-attached to a different port, or if the base system is rebooted, the device should still report the same GUID.
SDL_GameControllerButtonBind
Get the SDL joystick layer binding for this controller button/axis mapping
SDL_GameControllerButtonBind__bindgen_ty_1__bindgen_ty_1
SDL_HapticCondition
\brief A structure containing a template for a Condition effect.
SDL_HapticConstant
\brief A structure containing a template for a Constant effect.
SDL_HapticCustom
\brief A structure containing a template for the ::SDL_HAPTIC_CUSTOM effect.
SDL_HapticDirection
\brief Structure that represents a haptic direction.
SDL_HapticLeftRight
\brief A structure containing a template for a Left/Right effect.
SDL_HapticPeriodic
\brief A structure containing a template for a Periodic effect.
SDL_HapticRamp
\brief A structure containing a template for a Ramp effect.
SDL_JoyAxisEvent
\brief Joystick axis motion event structure (event.jaxis.*)
SDL_JoyBallEvent
\brief Joystick trackball motion event structure (event.jball.*)
SDL_JoyBatteryEvent
\brief Joysick battery level change event structure (event.jbattery.*)
SDL_JoyButtonEvent
\brief Joystick button event structure (event.jbutton.*)
SDL_JoyDeviceEvent
\brief Joystick device event structure (event.jdevice.*)
SDL_JoyHatEvent
\brief Joystick hat position change event structure (event.jhat.*)
SDL_KeyboardEvent
\brief Keyboard button event structure (event.key.*)
SDL_Keysym
\brief The SDL keysym structure, used in key events.
SDL_Locale
SDL_MessageBoxButtonData
Individual button data.
SDL_MessageBoxColor
RGB value used in a message box color scheme
SDL_MessageBoxColorScheme
A set of colors to use for message box dialogs
SDL_MessageBoxData
MessageBox structure containing title, text, window, etc.
SDL_MouseButtonEvent
\brief Mouse button event structure (event.button.*)
SDL_MouseMotionEvent
\brief Mouse motion event structure (event.motion.*)
SDL_MouseWheelEvent
\brief Mouse wheel event structure (event.wheel.*)
SDL_MultiGestureEvent
\brief Multiple Finger Gesture Event (event.mgesture.*)
SDL_OSEvent
\brief OS Specific event
SDL_Palette
SDL_PixelFormat
\note Everything in the pixel format structure is read-only.
SDL_Point
The structure that defines a point (integer)
SDL_QuitEvent
\brief The “quit requested” event
SDL_RWops
This is the read/write operation structure – very basic.
SDL_RWops__bindgen_ty_1__bindgen_ty_1
SDL_RWops__bindgen_ty_1__bindgen_ty_2
SDL_Rect
A rectangle, with the origin at the upper left (integer).
SDL_Renderer
A structure representing rendering state
SDL_RendererInfo
Information on the capabilities of a render driver or context.
SDL_SensorEvent
\brief Sensor event structure (event.sensor.*)
SDL_Surface
\brief A collection of pixels used in software blitting.
SDL_SysWMEvent
\brief A video driver dependent system event (event.syswm.*) This event is disabled by default, you can enable it with SDL_EventState()
SDL_SysWMinfo
\brief SDL_syswm.h
SDL_SysWMinfo__bindgen_ty_1__bindgen_ty_1
SDL_SysWMinfo__bindgen_ty_1__bindgen_ty_2
SDL_SysWMmsg
The custom event structure.
SDL_SysWMmsg__bindgen_ty_1__bindgen_ty_1
SDL_TextEditingEvent
\brief Keyboard text editing event structure (event.edit.*)
SDL_TextEditingExtEvent
\brief Extended keyboard text editing event structure (event.editExt.*) when text would be truncated if stored in the text buffer SDL_TextEditingEvent
SDL_TextInputEvent
\brief Keyboard text input event structure (event.text.*)
SDL_Texture
An efficient driver-specific representation of pixel data
SDL_Thread
SDL_TouchFingerEvent
\brief Touch finger event structure (event.tfinger.*)
SDL_UserEvent
\brief A user-defined event type (event.user.*)
SDL_Vertex
Vertex structure
SDL_VirtualJoystickDesc
The structure that defines an extended virtual joystick description
SDL_Window
SDL_WindowEvent
\brief Window state change event data (event.window.*)
SDL_WindowShapeMode
\brief A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents.
SDL_atomic_t
\brief A type representing an atomic integer value. It is a struct so people don’t accidentally use numeric operations on it.
SDL_cond
SDL_hid_device_
\brief A handle representing an open HID device
SDL_hid_device_info
hidapi info structure / /* \brief Information about a connected HID device
SDL_mutex
SDL_semaphore
SDL_version
Information about the version of SDL in use.
Screen
ScreenFormat
Visual
VkInstance_T
VkSurfaceKHR_T
XAnyEvent
XArc
XButtonEvent
XChar2b
XCharStruct
XCirculateEvent
XCirculateRequestEvent
XClientMessageEvent
XColor
XColormapEvent
XConfigureEvent
XConfigureRequestEvent
XCreateWindowEvent
XCrossingEvent
XDestroyWindowEvent
XErrorEvent
XExposeEvent
XExtCodes
XFocusChangeEvent
XFontProp
XFontSetExtents
XFontStruct
XGCValues
XGenericEvent
XGenericEventCookie
XGraphicsExposeEvent
XGravityEvent
XHostAddress
XICCallback
XIMCallback
XIMStyles
XIMValuesList
XKeyEvent
XKeyboardControl
XKeyboardState
XKeymapEvent
XMapEvent
XMapRequestEvent
XMappingEvent
XModifierKeymap
XMotionEvent
XNoExposeEvent
XOMCharSetList
XOMFontInfo
XOMOrientation
XPixmapFormatValues
XPoint
XPropertyEvent
XRectangle
XReparentEvent
XResizeRequestEvent
XSegment
XSelectionClearEvent
XSelectionEvent
XSelectionRequestEvent
XServerInterpretedAddress
XSetWindowAttributes
XTextItem
XTextItem16
XTimeCoord
XUnmapEvent
XVisibilityEvent
XWindowAttributes
XWindowChanges
XmbTextItem
XwcTextItem
_SDL_AudioStream
_SDL_GameController
The gamecontroller structure used to identify an SDL game controller
_SDL_Haptic
\typedef SDL_Haptic
_SDL_Joystick
The joystick structure used to identify an SDL joystick
_SDL_Sensor
\brief SDL_sensor.h
_SDL_iconv_t
_XDisplay
_XExtData
_XGC
_XIC
_XIM
_XIMHotKeyTrigger
_XIMHotKeyTriggers
_XIMPreeditCaretCallbackStruct
_XIMPreeditDrawCallbackStruct
_XIMPreeditStateNotifyCallbackStruct
_XIMStatusDrawCallbackStruct
_XIMStringConversionCallbackStruct
_XIMStringConversionText
_XIMText
_XImage
_XImage_funcs
_XOC
_XOM
_XPrivate
_XrmHashBucketRec
__BindgenFloat16
__atomic_wide_counter__bindgen_ty_1
__fsid_t
__once_flag
__pthread_cond_s
__pthread_internal_list
__pthread_internal_slist
__pthread_mutex_s
__pthread_rwlock_arch_t
__sigset_t
__va_list_tag
_bindgen_ty_1
div_t
drand48_data
fd_set
ldiv_t
lldiv_t
max_align_t
random_data
timespec
timeval
wl_display
< Wayland display
wl_egl_window
< Wayland EGL window (native window)
wl_surface
< Wayland surface
xdg_popup
< Wayland xdg popup role
xdg_positioner
< Wayland xdg positioner, for popup
xdg_surface
< Wayland xdg surface (window manager handle)
xdg_toplevel
< Wayland xdg toplevel role

Enums§

SDL_ArrayOrder
Array component order, low byte -> high byte.
SDL_AssertState
SDL_AudioStatus
SDL_BitmapOrder
Bitmap pixel order, high bit -> low bit.
SDL_BlendFactor
\brief The normalized factor used to multiply pixel components
SDL_BlendMode
\brief The blend mode used in SDL_RenderCopy() and drawing operations.
SDL_BlendOperation
\brief The blend operation used when combining source and destination pixel components
SDL_DUMMY_ENUM
SDL_DisplayEventID
\brief Event subtype for display events
SDL_DisplayOrientation
\brief Display orientation
SDL_EventType
The types of events that can be delivered.
SDL_FlashOperation
\brief Window flash operation
SDL_GLContextResetNotification
SDL_GLattr
\brief OpenGL configuration attributes
SDL_GLcontextFlag
SDL_GLcontextReleaseFlag
SDL_GLprofile
SDL_GameControllerAxis
The list of axes available from a controller
SDL_GameControllerBindType
SDL_GameControllerButton
The list of buttons available from a controller
SDL_GameControllerType
SDL_HintPriority
\brief An enumeration of hint priorities
SDL_HitTestResult
Possible return values from the SDL_HitTest callback.
SDL_JoystickPowerLevel
SDL_JoystickType
SDL_KeyCode
SDL_Keymod
\brief Enumeration of valid key mods (possibly OR’d together).
SDL_LogCategory
\brief The predefined log categories
SDL_LogPriority
\brief The predefined log priorities
SDL_MessageBoxButtonFlags
Flags for SDL_MessageBoxButtonData.
SDL_MessageBoxColorType
SDL_MessageBoxFlags
SDL_MessageBox flags. If supported will display warning icon, etc.
SDL_MouseWheelDirection
\brief Scroll direction types for the Scroll event
SDL_PackedLayout
Packed component layout.
SDL_PackedOrder
Packed component order, high bit -> low bit.
SDL_PixelFormatEnum
SDL_PixelType
Pixel type.
SDL_PowerState
The basic state for the system’s power supply.
SDL_RendererFlags
Flags used when creating a rendering context
SDL_RendererFlip
Flip constants for SDL_RenderCopyEx
SDL_SYSWM_TYPE
These are the various supported windowing subsystems
SDL_ScaleMode
The scaling mode for a texture.
SDL_Scancode
\brief The SDL keyboard scancode representation.
SDL_SensorType
SDL_SystemCursor
\brief Cursor types for SDL_CreateSystemCursor().
SDL_TextureAccess
The access pattern allowed for a texture.
SDL_TextureModulate
The texture channel modulation used in SDL_RenderCopy().
SDL_ThreadPriority
The SDL thread priority.
SDL_TouchDeviceType
SDL_WindowEventID
\brief Event subtype for window events
SDL_WindowFlags
\brief The flags on a window
SDL_YUV_CONVERSION_MODE
\brief The formula used for converting between YUV and RGB
SDL_bool
SDL_errorcode
SDL_eventaction
WindowShapeMode
\brief An enum denoting the specific type of contents present in an SDL_WindowShapeParams union.
XIMCaretDirection
XIMCaretStyle
XIMStatusDataType
XOrientation

Constants§

AUDIO_F32
AUDIO_F32LSB
AUDIO_F32MSB
AUDIO_F32SYS
AUDIO_S8
AUDIO_S16
AUDIO_S32
AUDIO_S16LSB
AUDIO_S16MSB
AUDIO_S16SYS
AUDIO_S32LSB
AUDIO_S32MSB
AUDIO_S32SYS
AUDIO_U8
AUDIO_U16
AUDIO_U16LSB
AUDIO_U16MSB
AUDIO_U16SYS
Above
AllTemporary
AllocAll
AllocNone
AllowExposures
AlreadyGrabbed
Always
AnyButton
AnyKey
AnyModifier
AnyPropertyType
ArcChord
ArcPieSlice
AsyncBoth
AsyncKeyboard
AsyncPointer
AutoRepeatModeDefault
AutoRepeatModeOff
AutoRepeatModeOn
BIG_ENDIAN
BYTE_ORDER
BadAccess
BadAlloc
BadAtom
BadColor
BadCursor
BadDrawable
BadFont
BadGC
BadIDChoice
BadImplementation
BadLength
BadMatch
BadName
BadPixmap
BadRequest
BadValue
BadWindow
Below
BottomIf
Button1
Button2
Button3
Button4
Button5
Button1Mask
Button1MotionMask
Button2Mask
Button2MotionMask
Button3Mask
Button3MotionMask
Button4Mask
Button4MotionMask
Button5Mask
Button5MotionMask
ButtonMotionMask
ButtonPress
ButtonPressMask
ButtonRelease
ButtonReleaseMask
CWBackPixel
CWBackPixmap
CWBackingPixel
CWBackingPlanes
CWBackingStore
CWBitGravity
CWBorderPixel
CWBorderPixmap
CWBorderWidth
CWColormap
CWCursor
CWDontPropagate
CWEventMask
CWHeight
CWOverrideRedirect
CWSaveUnder
CWSibling
CWStackMode
CWWidth
CWWinGravity
CWX
CWY
CapButt
CapNotLast
CapProjecting
CapRound
CenterGravity
CirculateNotify
CirculateRequest
ClientMessage
ClipByChildren
ColormapChangeMask
ColormapInstalled
ColormapNotify
ColormapUninstalled
Complex
ConfigureNotify
ConfigureRequest
ControlMapIndex
ControlMask
Convex
CoordModeOrigin
CoordModePrevious
CopyFromParent
CreateNotify
CurrentTime
CursorShape
DefaultBlanking
DefaultExposures
DestroyAll
DestroyNotify
DirectColor
DisableAccess
DisableScreenInterval
DisableScreenSaver
DoBlue
DoGreen
DoRed
DontAllowExposures
DontPreferBlanking
EXIT_FAILURE
EXIT_SUCCESS
EastGravity
EnableAccess
EnterNotify
EnterWindowMask
EvenOddRule
Expose
ExposureMask
FD_SETSIZE
FUNCPROTO
False
FamilyChaos
FamilyDECnet
FamilyInternet
FamilyInternet6
FamilyServerInterpreted
FillOpaqueStippled
FillSolid
FillStippled
FillTiled
FirstExtensionError
FocusChangeMask
FocusIn
FocusOut
FontChange
FontLeftToRight
FontRightToLeft
ForgetGravity
GCArcMode
GCBackground
GCCapStyle
GCClipMask
GCClipXOrigin
GCClipYOrigin
GCDashList
GCDashOffset
GCFillRule
GCFillStyle
GCFont
GCForeground
GCFunction
GCGraphicsExposures
GCJoinStyle
GCLastBit
GCLineStyle
GCLineWidth
GCPlaneMask
GCStipple
GCSubwindowMode
GCTile
GCTileStipXOrigin
GCTileStipYOrigin
GXand
GXandInverted
GXandReverse
GXclear
GXcopy
GXcopyInverted
GXequiv
GXinvert
GXnand
GXnoop
GXnor
GXor
GXorInverted
GXorReverse
GXset
GXxor
GenericEvent
GrabFrozen
GrabInvalidTime
GrabModeAsync
GrabModeSync
GrabNotViewable
GrabSuccess
GraphicsExpose
GravityNotify
GrayScale
HAVE_GCC_SYNC_LOCK_TEST_AND_SET
HAVE_STDARG_H
HAVE_STDDEF_H
HAVE_STDINT_H
HostDelete
HostInsert
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
IncludeInferiors
InputFocus
InputOnly
InputOutput
IsUnmapped
IsUnviewable
IsViewable
JoinBevel
JoinMiter
JoinRound
KBAutoRepeatMode
KBBellDuration
KBBellPercent
KBBellPitch
KBKey
KBKeyClickPercent
KBLed
KBLedMode
KeyPress
KeyPressMask
KeyRelease
KeyReleaseMask
KeymapNotify
KeymapStateMask
LASTEvent
LITTLE_ENDIAN
LSBFirst
LastExtensionError
LeaveNotify
LeaveWindowMask
LedModeOff
LedModeOn
LineDoubleDash
LineOnOffDash
LineSolid
LockMapIndex
LockMask
LowerHighest
MSBFirst
M_PI
MapNotify
MapRequest
MappingBusy
MappingFailed
MappingKeyboard
MappingModifier
MappingNotify
MappingPointer
MappingSuccess
Mod1MapIndex
Mod1Mask
Mod2MapIndex
Mod2Mask
Mod3MapIndex
Mod3Mask
Mod4MapIndex
Mod4Mask
Mod5MapIndex
Mod5Mask
MotionNotify
NeedFunctionPrototypes
NeedNestedPrototypes
NeedVarargsPrototypes
NeedWidePrototypes
NoEventMask
NoExpose
NoSymbol
Nonconvex
None
NorthEastGravity
NorthGravity
NorthWestGravity
NotUseful
NotifyAncestor
NotifyDetailNone
NotifyGrab
NotifyHint
NotifyInferior
NotifyNonlinear
NotifyNonlinearVirtual
NotifyNormal
NotifyPointer
NotifyPointerRoot
NotifyUngrab
NotifyVirtual
NotifyWhileGrabbed
Opposite
OwnerGrabButtonMask
PDP_ENDIAN
PTRDIFF_MAX
PTRDIFF_MIN
ParentRelative
PlaceOnBottom
PlaceOnTop
PointerMotionHintMask
PointerMotionMask
PointerRoot
PointerWindow
PreferBlanking
PropModeAppend
PropModePrepend
PropModeReplace
PropertyChangeMask
PropertyDelete
PropertyNewValue
PropertyNotify
PseudoColor
QueuedAfterFlush
QueuedAfterReading
QueuedAlready
RAND_MAX
RW_SEEK_CUR
RW_SEEK_END
RW_SEEK_SET
RaiseLowest
ReparentNotify
ReplayKeyboard
ReplayPointer
ResizeRedirectMask
ResizeRequest
RetainPermanent
RetainTemporary
RevertToParent
SDLK_SCANCODE_MASK
SDL_ALPHA_OPAQUE
SDL_ALPHA_TRANSPARENT
SDL_ASSERT_LEVEL
SDL_AUDIOCVT_MAX_FILTERS
SDL_AUDIO_ALLOW_ANY_CHANGE
SDL_AUDIO_ALLOW_CHANNELS_CHANGE
SDL_AUDIO_ALLOW_FORMAT_CHANGE
SDL_AUDIO_ALLOW_FREQUENCY_CHANGE
SDL_AUDIO_ALLOW_SAMPLES_CHANGE
SDL_AUDIO_DRIVER_DUMMY
SDL_AUDIO_MASK_BITSIZE
SDL_AUDIO_MASK_DATATYPE
SDL_AUDIO_MASK_ENDIAN
SDL_AUDIO_MASK_SIGNED
SDL_BIG_ENDIAN
SDL_BUTTON_LEFT
SDL_BUTTON_MIDDLE
SDL_BUTTON_RIGHT
SDL_BUTTON_X1
SDL_BUTTON_X2
SDL_BYTEORDER
SDL_CACHELINE_SIZE
SDL_DISABLE
SDL_DONTFREE
SDL_ENABLE
SDL_FILESYSTEM_DUMMY
SDL_FLOATWORDORDER
SDL_HAPTIC_AUTOCENTER
SDL_HAPTIC_CARTESIAN
SDL_HAPTIC_CONSTANT
SDL_HAPTIC_CUSTOM
SDL_HAPTIC_DAMPER
SDL_HAPTIC_DISABLED
SDL_HAPTIC_FRICTION
SDL_HAPTIC_GAIN
SDL_HAPTIC_INERTIA
SDL_HAPTIC_INFINITY
SDL_HAPTIC_LEFTRIGHT
SDL_HAPTIC_PAUSE
SDL_HAPTIC_POLAR
SDL_HAPTIC_RAMP
SDL_HAPTIC_SAWTOOTHDOWN
SDL_HAPTIC_SAWTOOTHUP
SDL_HAPTIC_SINE
SDL_HAPTIC_SPHERICAL
SDL_HAPTIC_SPRING
SDL_HAPTIC_STATUS
SDL_HAPTIC_STEERING_AXIS
SDL_HAPTIC_TRIANGLE
SDL_HAT_CENTERED
SDL_HAT_DOWN
SDL_HAT_LEFT
SDL_HAT_LEFTDOWN
SDL_HAT_LEFTUP
SDL_HAT_RIGHT
SDL_HAT_RIGHTDOWN
SDL_HAT_RIGHTUP
SDL_HAT_UP
SDL_HIDAPI_DISABLED
SDL_HINT_ACCELEROMETER_AS_JOYSTICK
SDL_HINT_ALLOW_ALT_TAB_WHILE_GRABBED
SDL_HINT_ALLOW_TOPMOST
SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION
SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION
SDL_HINT_ANDROID_BLOCK_ON_PAUSE
SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO
SDL_HINT_ANDROID_TRAP_BACK_BUTTON
SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS
SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION
SDL_HINT_APP_NAME
SDL_HINT_AUDIODRIVER
SDL_HINT_AUDIO_CATEGORY
SDL_HINT_AUDIO_DEVICE_APP_NAME
SDL_HINT_AUDIO_DEVICE_STREAM_NAME
SDL_HINT_AUDIO_DEVICE_STREAM_ROLE
SDL_HINT_AUDIO_INCLUDE_MONITORS
SDL_HINT_AUDIO_RESAMPLING_MODE
SDL_HINT_AUTO_UPDATE_JOYSTICKS
SDL_HINT_AUTO_UPDATE_SENSORS
SDL_HINT_BMP_SAVE_LEGACY_FORMAT
SDL_HINT_DIRECTINPUT_ENABLED
SDL_HINT_DISPLAY_USABLE_BOUNDS
SDL_HINT_EMSCRIPTEN_ASYNCIFY
SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT
SDL_HINT_ENABLE_STEAM_CONTROLLERS
SDL_HINT_EVENT_LOGGING
SDL_HINT_FORCE_RAISEWINDOW
SDL_HINT_FRAMEBUFFER_ACCELERATION
SDL_HINT_GAMECONTROLLERCONFIG
SDL_HINT_GAMECONTROLLERCONFIG_FILE
SDL_HINT_GAMECONTROLLERTYPE
SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES
SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT
SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS
SDL_HINT_GRAB_KEYBOARD
SDL_HINT_HIDAPI_IGNORE_DEVICES
SDL_HINT_IDLE_TIMER_DISABLED
SDL_HINT_IME_INTERNAL_EDITING
SDL_HINT_IME_SHOW_UI
SDL_HINT_IME_SUPPORT_EXTENDED_TEXT
SDL_HINT_IOS_HIDE_HOME_INDICATOR
SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
SDL_HINT_JOYSTICK_DEVICE
SDL_HINT_JOYSTICK_GAMECUBE_RUMBLE_BRAKE
SDL_HINT_JOYSTICK_HIDAPI
SDL_HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS
SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE
SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED
SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS
SDL_HINT_JOYSTICK_HIDAPI_LUNA
SDL_HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC
SDL_HINT_JOYSTICK_HIDAPI_PS3
SDL_HINT_JOYSTICK_HIDAPI_PS4
SDL_HINT_JOYSTICK_HIDAPI_PS5
SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE
SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED
SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE
SDL_HINT_JOYSTICK_HIDAPI_SHIELD
SDL_HINT_JOYSTICK_HIDAPI_STADIA
SDL_HINT_JOYSTICK_HIDAPI_STEAM
SDL_HINT_JOYSTICK_HIDAPI_SWITCH
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED
SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS
SDL_HINT_JOYSTICK_HIDAPI_WII
SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED
SDL_HINT_JOYSTICK_HIDAPI_XBOX
SDL_HINT_JOYSTICK_HIDAPI_XBOX_360
SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED
SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS
SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE
SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED
SDL_HINT_JOYSTICK_RAWINPUT
SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT
SDL_HINT_JOYSTICK_ROG_CHAKRAM
SDL_HINT_JOYSTICK_THREAD
SDL_HINT_KMSDRM_DEVICE_INDEX
SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER
SDL_HINT_LINUX_DIGITAL_HATS
SDL_HINT_LINUX_HAT_DEADZONES
SDL_HINT_LINUX_JOYSTICK_CLASSIC
SDL_HINT_LINUX_JOYSTICK_DEADZONES
SDL_HINT_MAC_BACKGROUND_APP
SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK
SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH
SDL_HINT_MOUSE_AUTO_CAPTURE
SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS
SDL_HINT_MOUSE_DOUBLE_CLICK_TIME
SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH
SDL_HINT_MOUSE_NORMAL_SPEED_SCALE
SDL_HINT_MOUSE_RELATIVE_MODE_CENTER
SDL_HINT_MOUSE_RELATIVE_MODE_WARP
SDL_HINT_MOUSE_RELATIVE_SCALING
SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE
SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE
SDL_HINT_MOUSE_RELATIVE_WARP_MOTION
SDL_HINT_MOUSE_TOUCH_EVENTS
SDL_HINT_NO_SIGNAL_HANDLERS
SDL_HINT_OPENGL_ES_DRIVER
SDL_HINT_ORIENTATIONS
SDL_HINT_POLL_SENTINEL
SDL_HINT_PREFERRED_LOCALES
SDL_HINT_PS2_DYNAMIC_VSYNC
SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION
SDL_HINT_QTWAYLAND_WINDOW_FLAGS
SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE
SDL_HINT_RENDER_BATCHING
SDL_HINT_RENDER_DIRECT3D11_DEBUG
SDL_HINT_RENDER_DIRECT3D_THREADSAFE
SDL_HINT_RENDER_DRIVER
SDL_HINT_RENDER_LINE_METHOD
SDL_HINT_RENDER_LOGICAL_SIZE_MODE
SDL_HINT_RENDER_OPENGL_SHADERS
SDL_HINT_RENDER_SCALE_QUALITY
SDL_HINT_RENDER_VSYNC
SDL_HINT_RETURN_KEY_HIDES_IME
SDL_HINT_RPI_VIDEO_LAYER
SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME
SDL_HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL
SDL_HINT_THREAD_PRIORITY_POLICY
SDL_HINT_THREAD_STACK_SIZE
SDL_HINT_TIMER_RESOLUTION
SDL_HINT_TOUCH_MOUSE_EVENTS
SDL_HINT_TRACKPAD_IS_TOUCH_ONLY
SDL_HINT_TV_REMOTE_AS_JOYSTICK
SDL_HINT_VIDEODRIVER
SDL_HINT_VIDEO_ALLOW_SCREENSAVER
SDL_HINT_VIDEO_DOUBLE_BUFFER
SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY
SDL_HINT_VIDEO_EXTERNAL_CONTEXT
SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL
SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN
SDL_HINT_VIDEO_HIGHDPI_DISABLED
SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES
SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS
SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR
SDL_HINT_VIDEO_WAYLAND_EMULATE_MOUSE_WARP
SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION
SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR
SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT
SDL_HINT_VIDEO_WIN_D3DCOMPILER
SDL_HINT_VIDEO_X11_FORCE_EGL
SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR
SDL_HINT_VIDEO_X11_NET_WM_PING
SDL_HINT_VIDEO_X11_WINDOW_VISUALID
SDL_HINT_VIDEO_X11_XINERAMA
SDL_HINT_VIDEO_X11_XRANDR
SDL_HINT_VIDEO_X11_XVIDMODE
SDL_HINT_VITA_TOUCH_MOUSE_DEVICE
SDL_HINT_WAVE_FACT_CHUNK
SDL_HINT_WAVE_RIFF_CHUNK_SIZE
SDL_HINT_WAVE_TRUNCATION
SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING
SDL_HINT_WINDOWS_DPI_AWARENESS
SDL_HINT_WINDOWS_DPI_SCALING
SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP
SDL_HINT_WINDOWS_FORCE_MUTEX_CRITICAL_SECTIONS
SDL_HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL
SDL_HINT_WINDOWS_INTRESOURCE_ICON
SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL
SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4
SDL_HINT_WINDOWS_USE_D3D9EX
SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN
SDL_HINT_WINDOW_NO_ACTIVATION_WHEN_SHOWN
SDL_HINT_WINRT_HANDLE_BACK_BUTTON
SDL_HINT_WINRT_PRIVACY_POLICY_LABEL
SDL_HINT_WINRT_PRIVACY_POLICY_URL
SDL_HINT_X11_FORCE_OVERRIDE_REDIRECT
SDL_HINT_X11_WINDOW_TYPE
SDL_HINT_XINPUT_ENABLED
SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING
SDL_IGNORE
SDL_INIT_AUDIO
SDL_INIT_EVENTS
SDL_INIT_EVERYTHING
SDL_INIT_GAMECONTROLLER
SDL_INIT_HAPTIC
SDL_INIT_JOYSTICK
SDL_INIT_NOPARACHUTE
SDL_INIT_SENSOR
SDL_INIT_TIMER
SDL_INIT_VIDEO
SDL_INVALID_SHAPE_ARGUMENT
SDL_IPHONE_MAX_GFORCE
SDL_JOYSTICK_AXIS_MAX
SDL_JOYSTICK_AXIS_MIN
SDL_JOYSTICK_DISABLED
SDL_LIL_ENDIAN
SDL_LOADSO_DISABLED
SDL_MAJOR_VERSION
SDL_MAX_LOG_MESSAGE
SDL_MINOR_VERSION
SDL_MIX_MAXVOLUME
SDL_MUTEX_TIMEDOUT
SDL_NONSHAPEABLE_WINDOW
SDL_NULL_WHILE_LOOP_CONDITION
SDL_PATCHLEVEL
SDL_PREALLOC
SDL_PRESSED
SDL_PRIX32
SDL_PRIX64
SDL_PRIs32
SDL_PRIs64
SDL_PRIu32
SDL_PRIu64
SDL_PRIx32
SDL_PRIx64
SDL_QUERY
SDL_RELEASED
SDL_RLEACCEL
SDL_RWOPS_JNIFILE
SDL_RWOPS_MEMORY
SDL_RWOPS_MEMORY_RO
SDL_RWOPS_STDFILE
SDL_RWOPS_UNKNOWN
SDL_RWOPS_WINFILE
SDL_SENSOR_DISABLED
SDL_SIMD_ALIGNED
SDL_SIZE_MAX
SDL_STANDARD_GRAVITY
SDL_SWSURFACE
SDL_TEXTEDITINGEVENT_TEXT_SIZE
SDL_TEXTINPUTEVENT_TEXT_SIZE
SDL_THREADS_DISABLED
SDL_TIMERS_DISABLED
SDL_VIDEO_DRIVER_DUMMY
SDL_VIRTUAL_JOYSTICK_DESC_VERSION
SDL_WINDOWPOS_CENTERED_MASK
SDL_WINDOWPOS_UNDEFINED_MASK
SDL_WINDOW_LACKS_SHAPE
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
ScreenSaverActive
ScreenSaverReset
SelectionClear
SelectionNotify
SelectionRequest
SetModeDelete
SetModeInsert
ShiftMapIndex
ShiftMask
SouthEastGravity
SouthGravity
SouthWestGravity
StaticColor
StaticGravity
StaticGray
StippleShape
StructureNotifyMask
SubstructureNotifyMask
SubstructureRedirectMask
Success
SyncBoth
SyncKeyboard
SyncPointer
TileShape
TopIf
True
TrueColor
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
UnmapGravity
UnmapNotify
Unsorted
VisibilityChangeMask
VisibilityFullyObscured
VisibilityNotify
VisibilityPartiallyObscured
VisibilityUnobscured
WCONTINUED
WEXITED
WINT_MAX
WINT_MIN
WNOHANG
WNOWAIT
WSTOPPED
WUNTRACED
WestGravity
WhenMapped
WindingRule
XATOM_H
XBufferOverflow
XIMHighlight
XIMHotKeyStateOFF
XIMHotKeyStateON
XIMInitialState
XIMPreeditArea
XIMPreeditCallbacks
XIMPreeditDisable
XIMPreeditEnable
XIMPreeditNone
XIMPreeditNothing
XIMPreeditPosition
XIMPreeditUnKnown
XIMPreserveState
XIMPrimary
XIMReverse
XIMSecondary
XIMStatusArea
XIMStatusCallbacks
XIMStatusNone
XIMStatusNothing
XIMStringConversionBottomEdge
XIMStringConversionBuffer
XIMStringConversionChar
XIMStringConversionConcealed
XIMStringConversionLeftEdge
XIMStringConversionLine
XIMStringConversionRetrieval
XIMStringConversionRightEdge
XIMStringConversionSubstitution
XIMStringConversionTopEdge
XIMStringConversionWord
XIMStringConversionWrapped
XIMTertiary
XIMUnderline
XIMVisibleToBackword
XIMVisibleToCenter
XIMVisibleToForward
XLookupBoth
XLookupChars
XLookupKeySym
XLookupNone
XNArea
XNAreaNeeded
XNBackground
XNBackgroundPixmap
XNBaseFontName
XNClientWindow
XNColormap
XNContextualDrawing
XNCursor
XNDefaultString
XNDestroyCallback
XNDirectionalDependentDrawing
XNFilterEvents
XNFocusWindow
XNFontInfo
XNFontSet
XNForeground
XNGeometryCallback
XNHotKey
XNHotKeyState
XNInputStyle
XNLineSpace
XNMissingCharSet
XNOMAutomatic
XNOrientation
XNPreeditAttributes
XNPreeditCaretCallback
XNPreeditDoneCallback
XNPreeditDrawCallback
XNPreeditStartCallback
XNPreeditState
XNPreeditStateNotifyCallback
XNQueryICValuesList
XNQueryIMValuesList
XNQueryInputStyle
XNQueryOrientation
XNR6PreeditCallback
XNRequiredCharSet
XNResetState
XNResourceClass
XNResourceName
XNSeparatorofNestedList
XNSpotLocation
XNStatusAttributes
XNStatusDoneCallback
XNStatusDrawCallback
XNStatusStartCallback
XNStdColormap
XNStringConversion
XNStringConversionCallback
XNVaNestedList
XNVisiblePosition
XYBitmap
XYPixmap
X_HAVE_UTF8_STRING
X_PROTOCOL
X_PROTOCOL_REVISION
XlibSpecificationRelease
YSorted
YXBanded
YXSorted
ZPixmap
_ALLOCA_H
_ATFILE_SOURCE
_BITS_BYTESWAP_H
_BITS_ENDIANNESS_H
_BITS_ENDIAN_H
_BITS_PTHREADTYPES_ARCH_H
_BITS_PTHREADTYPES_COMMON_H
_BITS_STDINT_INTN_H
_BITS_STDINT_LEAST_H
_BITS_STDINT_UINTN_H
_BITS_TIME64_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_UINTN_IDENTITY_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_ENDIAN_H
_FEATURES_H
_MM_DENORMALS_ZERO_MASK
_MM_DENORMALS_ZERO_OFF
_MM_DENORMALS_ZERO_ON
_MM_EXCEPT_DENORM
_MM_EXCEPT_DIV_ZERO
_MM_EXCEPT_INEXACT
_MM_EXCEPT_INVALID
_MM_EXCEPT_MASK
_MM_EXCEPT_OVERFLOW
_MM_EXCEPT_UNDERFLOW
_MM_FLUSH_ZERO_MASK
_MM_FLUSH_ZERO_OFF
_MM_FLUSH_ZERO_ON
_MM_HINT_ET0
_MM_HINT_ET1
_MM_HINT_NTA
_MM_HINT_T0
_MM_HINT_T1
_MM_HINT_T2
_MM_MASK_DENORM
_MM_MASK_DIV_ZERO
_MM_MASK_INEXACT
_MM_MASK_INVALID
_MM_MASK_MASK
_MM_MASK_OVERFLOW
_MM_MASK_UNDERFLOW
_MM_ROUND_DOWN
_MM_ROUND_MASK
_MM_ROUND_NEAREST
_MM_ROUND_TOWARD_ZERO
_MM_ROUND_UP
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_STDLIB_H
_STRUCT_TIMESPEC
_SYS_CDEFS_H
_SYS_SELECT_H
_SYS_TYPES_H
_THREAD_MUTEX_INTERNAL_H
_THREAD_SHARED_TYPES_H
__BIG_ENDIAN
__BIT_TYPES_DEFINED__
__BYTE_ORDER
__FD_SETSIZE
__FLOAT_WORD_ORDER
__GLIBC_MINOR__
__GLIBC_USE_C2X_STRTOL
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_DISTINCT_FLOAT16
__HAVE_DISTINCT_FLOAT32
__HAVE_DISTINCT_FLOAT64
__HAVE_DISTINCT_FLOAT32X
__HAVE_DISTINCT_FLOAT64X
__HAVE_DISTINCT_FLOAT128
__HAVE_DISTINCT_FLOAT128X
__HAVE_FLOAT16
__HAVE_FLOAT32
__HAVE_FLOAT64
__HAVE_FLOAT32X
__HAVE_FLOAT64X
__HAVE_FLOAT64X_LONG_DOUBLE
__HAVE_FLOAT128
__HAVE_FLOAT128X
__HAVE_FLOATN_NOT_TYPEDEF
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__LINUX__
__LITTLE_ENDIAN
__OFF_T_MATCHES_OFF64_T
__PDP_ENDIAN
__PTHREAD_MUTEX_HAVE_PREV
__RLIM_T_MATCHES_RLIM64_T
__SIZEOF_PTHREAD_ATTR_T
__SIZEOF_PTHREAD_BARRIERATTR_T
__SIZEOF_PTHREAD_BARRIER_T
__SIZEOF_PTHREAD_CONDATTR_T
__SIZEOF_PTHREAD_COND_T
__SIZEOF_PTHREAD_MUTEXATTR_T
__SIZEOF_PTHREAD_MUTEX_T
__SIZEOF_PTHREAD_RWLOCKATTR_T
__SIZEOF_PTHREAD_RWLOCK_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_IEC_60559_BFP__
__STDC_IEC_60559_COMPLEX__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WALL
__WCLONE
__WCOREFLAG
__WNOTHREAD
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__W_CONTINUED
__clock_t_defined
__clockid_t_defined
__glibc_c99_flexarr_available
__have_pthread_attr_t
__ldiv_t_defined
__lldiv_t_defined
__sigset_t_defined
__time_t_defined
__timer_t_defined
__timeval_defined

Statics§

_Xdebug

Functions§

SDL_AddEventWatch
Add a callback to be triggered when an event is added to the event queue.
SDL_AddHintCallback
Add a function to watch a particular hint.
SDL_AddTimer
Call a callback function at a future time.
SDL_AllocFormat
Create an SDL_PixelFormat structure corresponding to a pixel format.
SDL_AllocPalette
Create a palette structure with the specified number of color entries.
SDL_AllocRW
Use this function to allocate an empty, unpopulated SDL_RWops structure.
SDL_AtomicAdd
Add to an atomic variable.
SDL_AtomicCAS
Set an atomic variable to a new value if it is currently an old value.
SDL_AtomicCASPtr
Set a pointer to a new value if it is currently an old value.
SDL_AtomicGet
Get the value of an atomic variable.
SDL_AtomicGetPtr
Get the value of a pointer atomically.
SDL_AtomicLock
Lock a spin lock by setting it to a non-zero value.
SDL_AtomicSet
Set an atomic variable to a value.
SDL_AtomicSetPtr
Set a pointer to a value atomically.
SDL_AtomicTryLock
Try to lock a spin lock by setting it to a non-zero value.
SDL_AtomicUnlock
Unlock a spin lock by setting it to 0.
SDL_AudioInit
Use this function to initialize a particular audio driver.
SDL_AudioQuit
Use this function to shut down audio if you initialized it with SDL_AudioInit().
SDL_AudioStreamAvailable
Get the number of converted/resampled bytes available.
SDL_AudioStreamClear
Clear any pending data in the stream without converting it
SDL_AudioStreamFlush
Tell the stream that you’re done sending data, and anything being buffered should be converted/resampled and made available immediately.
SDL_AudioStreamGet
Get converted/resampled data from the stream
SDL_AudioStreamPut
Add data to be converted/resampled to the stream.
SDL_BuildAudioCVT
Initialize an SDL_AudioCVT structure for conversion.
SDL_CalculateGammaRamp
Calculate a 256 entry gamma ramp for a gamma value.
SDL_CaptureMouse
Capture the mouse and to track input outside an SDL window.
SDL_ClearComposition
Dismiss the composition window/IME without disabling the subsystem.
SDL_ClearError
Clear any previous error message for this thread.
SDL_ClearHints
Clear all hints.
SDL_ClearQueuedAudio
Drop any queued audio data waiting to be sent to the hardware.
SDL_CloseAudio
This function is a legacy means of closing the audio device.
SDL_CloseAudioDevice
Use this function to shut down audio processing and close the audio device.
SDL_ComposeCustomBlendMode
Compose a custom blend mode for renderers.
SDL_CondBroadcast
Restart all threads that are waiting on the condition variable.
SDL_CondSignal
Restart one of the threads that are waiting on the condition variable.
SDL_CondWait
Wait until a condition variable is signaled.
SDL_CondWaitTimeout
Wait until a condition variable is signaled or a certain time has passed.
SDL_ConvertAudio
Convert audio data to a desired audio format.
SDL_ConvertPixels
Copy a block of pixels of one format to another format.
SDL_ConvertSurface
Copy an existing surface to a new surface of the specified format.
SDL_ConvertSurfaceFormat
Copy an existing surface to a new surface of the specified format enum.
SDL_CreateColorCursor
Create a color cursor.
SDL_CreateCond
Create a condition variable.
SDL_CreateCursor
Create a cursor using the specified bitmap data and mask (in MSB format).
SDL_CreateMutex
Create a new mutex.
SDL_CreateRGBSurface
Allocate a new RGB surface.
SDL_CreateRGBSurfaceFrom
Allocate a new RGB surface with existing pixel data.
SDL_CreateRGBSurfaceWithFormat
Allocate a new RGB surface with a specific pixel format.
SDL_CreateRGBSurfaceWithFormatFrom
Allocate a new RGB surface with with a specific pixel format and existing pixel data.
SDL_CreateRenderer
Create a 2D rendering context for a window.
SDL_CreateSemaphore
Create a semaphore.
SDL_CreateShapedWindow
Create a window that can be shaped with the specified position, dimensions, and flags.
SDL_CreateSoftwareRenderer
Create a 2D software rendering context for a surface.
SDL_CreateSystemCursor
Create a system cursor.
SDL_CreateTexture
Create a texture for a rendering context.
SDL_CreateTextureFromSurface
Create a texture from an existing surface.
SDL_CreateThread
Create a new thread with a default stack size.
SDL_CreateThreadWithStackSize
Create a new thread with a specific stack size.
SDL_CreateWindow
Create a window with the specified position, dimensions, and flags.
SDL_CreateWindowAndRenderer
Create a window and default renderer.
SDL_CreateWindowFrom
Create an SDL window from an existing native window.
SDL_DelEventWatch
Remove an event watch callback added with SDL_AddEventWatch().
SDL_DelHintCallback
Remove a function watching a particular hint.
SDL_Delay
Wait a specified number of milliseconds before returning.
SDL_DequeueAudio
Dequeue more audio on non-callback devices.
SDL_DestroyCond
Destroy a condition variable.
SDL_DestroyMutex
Destroy a mutex created with SDL_CreateMutex().
SDL_DestroyRenderer
Destroy the rendering context for a window and free associated textures.
SDL_DestroySemaphore
Destroy a semaphore.
SDL_DestroyTexture
Destroy the specified texture.
SDL_DestroyWindow
Destroy a window.
SDL_DetachThread
Let a thread clean up on exit without intervention.
SDL_DisableScreenSaver
Prevent the screen from being blanked by a screen saver.
SDL_DuplicateSurface
SDL_EnableScreenSaver
Allow the screen to be blanked by a screen saver.
SDL_EncloseFPoints
Calculate a minimal rectangle enclosing a set of points with float precision.
SDL_EnclosePoints
Calculate a minimal rectangle enclosing a set of points.
SDL_Error
SDL_EventState
Set the state of processing events by type.
SDL_FillRect
Perform a fast fill of a rectangle with a specific color.
SDL_FillRects
Perform a fast fill of a set of rectangles with a specific color.
SDL_FilterEvents
Run a specific filter function on the current event queue, removing any events for which the filter returns 0.
SDL_FlashWindow
Request a window to demand attention from the user.
SDL_FlushEvent
Clear events of a specific type from the event queue.
SDL_FlushEvents
Clear events of a range of types from the event queue.
SDL_FreeAudioStream
Free an audio stream
SDL_FreeCursor
Free a previously-created cursor.
SDL_FreeFormat
Free an SDL_PixelFormat structure allocated by SDL_AllocFormat().
SDL_FreePalette
Free a palette created with SDL_AllocPalette().
SDL_FreeRW
Use this function to free an SDL_RWops structure allocated by SDL_AllocRW().
SDL_FreeSurface
Free an RGB surface.
SDL_FreeWAV
Free data previously allocated with SDL_LoadWAV() or SDL_LoadWAV_RW().
SDL_GL_BindTexture
Bind an OpenGL/ES/ES2 texture to the current context.
SDL_GL_CreateContext
Create an OpenGL context for an OpenGL window, and make it current.
SDL_GL_DeleteContext
Delete an OpenGL context.
SDL_GL_ExtensionSupported
Check if an OpenGL extension is supported for the current context.
SDL_GL_GetAttribute
Get the actual value for an attribute from the current context.
SDL_GL_GetCurrentContext
Get the currently active OpenGL context.
SDL_GL_GetCurrentWindow
Get the currently active OpenGL window.
SDL_GL_GetDrawableSize
Get the size of a window’s underlying drawable in pixels.
SDL_GL_GetProcAddress
Get an OpenGL function by name.
SDL_GL_GetSwapInterval
Get the swap interval for the current OpenGL context.
SDL_GL_LoadLibrary
Dynamically load an OpenGL library.
SDL_GL_MakeCurrent
Set up an OpenGL context for rendering into an OpenGL window.
SDL_GL_ResetAttributes
Reset all previously set OpenGL context attributes to their default values.
SDL_GL_SetAttribute
Set an OpenGL window attribute before window creation.
SDL_GL_SetSwapInterval
Set the swap interval for the current OpenGL context.
SDL_GL_SwapWindow
Update a window with OpenGL rendering.
SDL_GL_UnbindTexture
Unbind an OpenGL/ES/ES2 texture from the current context.
SDL_GL_UnloadLibrary
Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().
SDL_GUIDFromString
Convert a GUID string into a ::SDL_GUID structure.
SDL_GUIDToString
Get an ASCII string representation for a given ::SDL_GUID.
SDL_GameControllerAddMapping
Add support for controllers that SDL is unaware of or to cause an existing controller to have a different binding.
SDL_GameControllerAddMappingsFromRW
Load a set of Game Controller mappings from a seekable SDL data stream.
SDL_GameControllerClose
Close a game controller previously opened with SDL_GameControllerOpen().
SDL_GameControllerEventState
Query or change current state of Game Controller events.
SDL_GameControllerFromInstanceID
Get the SDL_GameController associated with an instance id.
SDL_GameControllerFromPlayerIndex
Get the SDL_GameController associated with a player index.
SDL_GameControllerGetAppleSFSymbolsNameForAxis
Return the sfSymbolsName for a given axis on a game controller on Apple platforms.
SDL_GameControllerGetAppleSFSymbolsNameForButton
Return the sfSymbolsName for a given button on a game controller on Apple platforms.
SDL_GameControllerGetAttached
Check if a controller has been opened and is currently connected.
SDL_GameControllerGetAxis
Get the current state of an axis control on a game controller.
SDL_GameControllerGetAxisFromString
Convert a string into SDL_GameControllerAxis enum.
SDL_GameControllerGetBindForAxis
Get the SDL joystick layer binding for a controller axis mapping.
SDL_GameControllerGetBindForButton
Get the SDL joystick layer binding for a controller button mapping.
SDL_GameControllerGetButton
Get the current state of a button on a game controller.
SDL_GameControllerGetButtonFromString
Convert a string into an SDL_GameControllerButton enum.
SDL_GameControllerGetFirmwareVersion
Get the firmware version of an opened controller, if available.
SDL_GameControllerGetJoystick
Get the Joystick ID from a Game Controller.
SDL_GameControllerGetNumTouchpadFingers
Get the number of supported simultaneous fingers on a touchpad on a game controller.
SDL_GameControllerGetNumTouchpads
Get the number of touchpads on a game controller.
SDL_GameControllerGetPlayerIndex
Get the player index of an opened game controller.
SDL_GameControllerGetProduct
Get the USB product ID of an opened controller, if available.
SDL_GameControllerGetProductVersion
Get the product version of an opened controller, if available.
SDL_GameControllerGetSensorData
Get the current state of a game controller sensor.
SDL_GameControllerGetSensorDataRate
Get the data rate (number of events per second) of a game controller sensor.
SDL_GameControllerGetSensorDataWithTimestamp
Get the current state of a game controller sensor with the timestamp of the last update.
SDL_GameControllerGetSerial
Get the serial number of an opened controller, if available.
SDL_GameControllerGetStringForAxis
Convert from an SDL_GameControllerAxis enum to a string.
SDL_GameControllerGetStringForButton
Convert from an SDL_GameControllerButton enum to a string.
SDL_GameControllerGetTouchpadFinger
Get the current state of a finger on a touchpad on a game controller.
SDL_GameControllerGetType
Get the type of this currently opened controller
SDL_GameControllerGetVendor
Get the USB vendor ID of an opened controller, if available.
SDL_GameControllerHasAxis
Query whether a game controller has a given axis.
SDL_GameControllerHasButton
Query whether a game controller has a given button.
SDL_GameControllerHasLED
Query whether a game controller has an LED.
SDL_GameControllerHasRumble
Query whether a game controller has rumble support.
SDL_GameControllerHasRumbleTriggers
Query whether a game controller has rumble support on triggers.
SDL_GameControllerHasSensor
Return whether a game controller has a particular sensor.
SDL_GameControllerIsSensorEnabled
Query whether sensor data reporting is enabled for a game controller.
SDL_GameControllerMapping
Get the current mapping of a Game Controller.
SDL_GameControllerMappingForDeviceIndex
Get the mapping of a game controller.
SDL_GameControllerMappingForGUID
Get the game controller mapping string for a given GUID.
SDL_GameControllerMappingForIndex
Get the mapping at a particular index.
SDL_GameControllerName
Get the implementation-dependent name for an opened game controller.
SDL_GameControllerNameForIndex
Get the implementation dependent name for the game controller.
SDL_GameControllerNumMappings
Get the number of mappings installed.
SDL_GameControllerOpen
Open a game controller for use.
SDL_GameControllerPath
Get the implementation-dependent path for an opened game controller.
SDL_GameControllerPathForIndex
Get the implementation dependent path for the game controller.
SDL_GameControllerRumble
Start a rumble effect on a game controller.
SDL_GameControllerRumbleTriggers
Start a rumble effect in the game controller’s triggers.
SDL_GameControllerSendEffect
Send a controller specific effect packet
SDL_GameControllerSetLED
Update a game controller’s LED color.
SDL_GameControllerSetPlayerIndex
Set the player index of an opened game controller.
SDL_GameControllerSetSensorEnabled
Set whether data reporting for a game controller sensor is enabled.
SDL_GameControllerTypeForIndex
Get the type of a game controller.
SDL_GameControllerUpdate
Manually pump game controller updates if not using the loop.
SDL_GetAssertionHandler
Get the current assertion handler.
SDL_GetAssertionReport
Get a list of all assertion failures.
SDL_GetAudioDeviceName
Get the human-readable name of a specific audio device.
SDL_GetAudioDeviceSpec
Get the preferred audio format of a specific audio device.
SDL_GetAudioDeviceStatus
Use this function to get the current audio state of an audio device.
SDL_GetAudioDriver
Use this function to get the name of a built in audio driver.
SDL_GetAudioStatus
This function is a legacy means of querying the audio device.
SDL_GetBasePath
Get the directory where the application was run from.
SDL_GetCPUCacheLineSize
Determine the L1 cache line size of the CPU.
SDL_GetCPUCount
Get the number of CPU cores available.
SDL_GetClipRect
Get the clipping rectangle for a surface.
SDL_GetClipboardText
Get UTF-8 text from the clipboard, which must be freed with SDL_free().
SDL_GetClosestDisplayMode
Get the closest match to the requested display mode.
SDL_GetColorKey
Get the color key (transparent pixel) for a surface.
SDL_GetCurrentAudioDriver
Get the name of the current audio driver.
SDL_GetCurrentDisplayMode
Get information about the current display mode.
SDL_GetCurrentVideoDriver
Get the name of the currently initialized video driver.
SDL_GetCursor
Get the active cursor.
SDL_GetDefaultAssertionHandler
Get the default assertion handler.
SDL_GetDefaultAudioInfo
Get the name and preferred format of the default audio device.
SDL_GetDefaultCursor
Get the default cursor.
SDL_GetDesktopDisplayMode
Get information about the desktop’s display mode.
SDL_GetDisplayBounds
Get the desktop area represented by a display.
SDL_GetDisplayDPI
Get the dots/pixels-per-inch for a display.
SDL_GetDisplayMode
Get information about a specific display mode.
SDL_GetDisplayName
Get the name of a display in UTF-8 encoding.
SDL_GetDisplayOrientation
Get the orientation of a display.
SDL_GetDisplayUsableBounds
Get the usable desktop area represented by a display.
SDL_GetError
Retrieve a message about the last error that occurred on the current thread.
SDL_GetErrorMsg
Get the last error message that was set for the current thread.
SDL_GetEventFilter
Query the current event filter.
SDL_GetGlobalMouseState
Get the current state of the mouse in relation to the desktop.
SDL_GetGrabbedWindow
Get the window that currently has an input grab enabled.
SDL_GetHint
Get the value of a hint.
SDL_GetHintBoolean
Get the boolean value of a hint variable.
SDL_GetJoystickGUIDInfo
Get the device information encoded in a SDL_JoystickGUID structure
SDL_GetKeyFromName
Get a key code from a human-readable name.
SDL_GetKeyFromScancode
Get the key code corresponding to the given scancode according to the current keyboard layout.
SDL_GetKeyName
Get a human-readable name for a key.
SDL_GetKeyboardFocus
Query the window which currently has keyboard focus.
SDL_GetKeyboardState
Get a snapshot of the current state of the keyboard.
SDL_GetMemoryFunctions
Get the current set of SDL memory functions
SDL_GetModState
Get the current key modifier state for the keyboard.
SDL_GetMouseFocus
Get the window which currently has mouse focus.
SDL_GetMouseState
Retrieve the current state of the mouse.
SDL_GetNumAllocations
Get the number of outstanding (unfreed) allocations
SDL_GetNumAudioDevices
Get the number of built-in audio devices.
SDL_GetNumAudioDrivers
Use this function to get the number of built-in audio drivers.
SDL_GetNumDisplayModes
Get the number of available display modes.
SDL_GetNumRenderDrivers
Get the number of 2D rendering drivers available for the current display.
SDL_GetNumTouchDevices
Get the number of registered touch devices.
SDL_GetNumTouchFingers
Get the number of active fingers for a given touch device.
SDL_GetNumVideoDisplays
Get the number of available video displays.
SDL_GetNumVideoDrivers
Get the number of video drivers compiled into SDL.
SDL_GetOriginalMemoryFunctions
Get the original set of SDL memory functions
SDL_GetPerformanceCounter
Get the current value of the high resolution counter.
SDL_GetPerformanceFrequency
Get the count per second of the high resolution counter.
SDL_GetPixelFormatName
Get the human readable name of a pixel format.
SDL_GetPlatform
Get the name of the platform.
SDL_GetPointDisplayIndex
Get the index of the display containing a point
SDL_GetPowerInfo
Get the current power supply details.
SDL_GetPrefPath
Get the user-and-app-specific path where files can be written.
SDL_GetPreferredLocales
Report the user’s preferred locale.
SDL_GetPrimarySelectionText
Get UTF-8 text from the primary selection, which must be freed with SDL_free().
SDL_GetQueuedAudioSize
Get the number of bytes of still-queued audio.
SDL_GetRGB
Get RGB values from a pixel in the specified format.
SDL_GetRGBA
Get RGBA values from a pixel in the specified format.
SDL_GetRectDisplayIndex
Get the index of the display primarily containing a rect
SDL_GetRelativeMouseMode
Query whether relative mouse mode is enabled.
SDL_GetRelativeMouseState
Retrieve the relative state of the mouse.
SDL_GetRenderDrawBlendMode
Get the blend mode used for drawing operations.
SDL_GetRenderDrawColor
Get the color used for drawing operations (Rect, Line and Clear).
SDL_GetRenderDriverInfo
Get info about a specific 2D rendering driver for the current display.
SDL_GetRenderTarget
Get the current render target.
SDL_GetRenderer
Get the renderer associated with a window.
SDL_GetRendererInfo
Get information about a rendering context.
SDL_GetRendererOutputSize
Get the output size in pixels of a rendering context.
SDL_GetRevision
Get the code revision of SDL that is linked against your program.
SDL_GetRevisionNumber
Obsolete function, do not use.
SDL_GetScancodeFromKey
Get the scancode corresponding to the given key code according to the current keyboard layout.
SDL_GetScancodeFromName
Get a scancode from a human-readable name.
SDL_GetScancodeName
Get a human-readable name for a scancode.
SDL_GetShapedWindowMode
Get the shape parameters of a shaped window.
SDL_GetSurfaceAlphaMod
Get the additional alpha value used in blit operations.
SDL_GetSurfaceBlendMode
Get the blend mode used for blit operations.
SDL_GetSurfaceColorMod
Get the additional color value multiplied into blit operations.
SDL_GetSystemRAM
Get the amount of RAM configured in the system.
SDL_GetTextureAlphaMod
Get the additional alpha value multiplied into render copy operations.
SDL_GetTextureBlendMode
Get the blend mode used for texture copy operations.
SDL_GetTextureColorMod
Get the additional color value multiplied into render copy operations.
SDL_GetTextureScaleMode
Get the scale mode used for texture scale operations.
SDL_GetTextureUserData
Get the user-specified pointer associated with a texture
SDL_GetThreadID
Get the thread identifier for the specified thread.
SDL_GetThreadName
Get the thread name as it was specified in SDL_CreateThread().
SDL_GetTicks
Get the number of milliseconds since SDL library initialization.
SDL_GetTicks64
Get the number of milliseconds since SDL library initialization.
SDL_GetTouchDevice
Get the touch ID with the given index.
SDL_GetTouchDeviceType
Get the type of the given touch device.
SDL_GetTouchFinger
Get the finger object for specified touch device ID and finger index.
SDL_GetTouchName
Get the touch device name as reported from the driver or NULL if the index is invalid.
SDL_GetVersion
Get the version of SDL that is linked against your program.
SDL_GetVideoDriver
Get the name of a built in video driver.
SDL_GetWindowBordersSize
Get the size of a window’s borders (decorations) around the client area.
SDL_GetWindowBrightness
Get the brightness (gamma multiplier) for a given window’s display.
SDL_GetWindowData
Retrieve the data pointer associated with a window.
SDL_GetWindowDisplayIndex
Get the index of the display associated with a window.
SDL_GetWindowDisplayMode
Query the display mode to use when a window is visible at fullscreen.
SDL_GetWindowFlags
Get the window flags.
SDL_GetWindowFromID
Get a window from a stored ID.
SDL_GetWindowGammaRamp
Get the gamma ramp for a given window’s display.
SDL_GetWindowGrab
Get a window’s input grab mode.
SDL_GetWindowICCProfile
Get the raw ICC profile data for the screen the window is currently on.
SDL_GetWindowID
Get the numeric ID of a window.
SDL_GetWindowKeyboardGrab
Get a window’s keyboard grab mode.
SDL_GetWindowMaximumSize
Get the maximum size of a window’s client area.
SDL_GetWindowMinimumSize
Get the minimum size of a window’s client area.
SDL_GetWindowMouseGrab
Get a window’s mouse grab mode.
SDL_GetWindowMouseRect
Get the mouse confinement rectangle of a window.
SDL_GetWindowOpacity
Get the opacity of a window.
SDL_GetWindowPixelFormat
Get the pixel format associated with the window.
SDL_GetWindowPosition
Get the position of a window.
SDL_GetWindowSize
Get the size of a window’s client area.
SDL_GetWindowSizeInPixels
Get the size of a window in pixels.
SDL_GetWindowSurface
Get the SDL surface associated with the window.
SDL_GetWindowTitle
Get the title of a window.
SDL_GetWindowWMInfo
Get driver-specific information about a window.
SDL_GetYUVConversionMode
Get the YUV conversion mode
SDL_GetYUVConversionModeForResolution
Get the YUV conversion mode, returning the correct mode for the resolution when the current conversion mode is SDL_YUV_CONVERSION_AUTOMATIC
SDL_HapticClose
Close a haptic device previously opened with SDL_HapticOpen().
SDL_HapticDestroyEffect
Destroy a haptic effect on the device.
SDL_HapticEffectSupported
Check to see if an effect is supported by a haptic device.
SDL_HapticGetEffectStatus
Get the status of the current effect on the specified haptic device.
SDL_HapticIndex
Get the index of a haptic device.
SDL_HapticName
Get the implementation dependent name of a haptic device.
SDL_HapticNewEffect
Create a new haptic effect on a specified device.
SDL_HapticNumAxes
Get the number of haptic axes the device has.
SDL_HapticNumEffects
Get the number of effects a haptic device can store.
SDL_HapticNumEffectsPlaying
Get the number of effects a haptic device can play at the same time.
SDL_HapticOpen
Open a haptic device for use.
SDL_HapticOpenFromJoystick
Open a haptic device for use from a joystick device.
SDL_HapticOpenFromMouse
Try to open a haptic device from the current mouse.
SDL_HapticOpened
Check if the haptic device at the designated index has been opened.
SDL_HapticPause
Pause a haptic device.
SDL_HapticQuery
Get the haptic device’s supported features in bitwise manner.
SDL_HapticRumbleInit
Initialize a haptic device for simple rumble playback.
SDL_HapticRumblePlay
Run a simple rumble effect on a haptic device.
SDL_HapticRumbleStop
Stop the simple rumble on a haptic device.
SDL_HapticRumbleSupported
Check whether rumble is supported on a haptic device.
SDL_HapticRunEffect
Run the haptic effect on its associated haptic device.
SDL_HapticSetAutocenter
Set the global autocenter of the device.
SDL_HapticSetGain
Set the global gain of the specified haptic device.
SDL_HapticStopAll
Stop all the currently playing effects on a haptic device.
SDL_HapticStopEffect
Stop the haptic effect on its associated haptic device.
SDL_HapticUnpause
Unpause a haptic device.
SDL_HapticUpdateEffect
Update the properties of an effect.
SDL_Has3DNow
Determine whether the CPU has 3DNow! features.
SDL_HasARMSIMD
Determine whether the CPU has ARM SIMD (ARMv6) features.
SDL_HasAVX
Determine whether the CPU has AVX features.
SDL_HasAVX2
Determine whether the CPU has AVX2 features.
SDL_HasAVX512F
Determine whether the CPU has AVX-512F (foundation) features.
SDL_HasAltiVec
Determine whether the CPU has AltiVec features.
SDL_HasClipboardText
Query whether the clipboard exists and contains a non-empty text string.
SDL_HasColorKey
Returns whether the surface has a color key
SDL_HasEvent
Check for the existence of a certain event type in the event queue.
SDL_HasEvents
Check for the existence of certain event types in the event queue.
SDL_HasIntersection
Determine whether two rectangles intersect.
SDL_HasIntersectionF
Determine whether two rectangles intersect with float precision.
SDL_HasLASX
Determine whether the CPU has LASX (LOONGARCH SIMD) features.
SDL_HasLSX
Determine whether the CPU has LSX (LOONGARCH SIMD) features.
SDL_HasMMX
Determine whether the CPU has MMX features.
SDL_HasNEON
Determine whether the CPU has NEON (ARM SIMD) features.
SDL_HasPrimarySelectionText
Query whether the primary selection exists and contains a non-empty text string.
SDL_HasRDTSC
Determine whether the CPU has the RDTSC instruction.
SDL_HasSSE
Determine whether the CPU has SSE features.
SDL_HasSSE2
Determine whether the CPU has SSE2 features.
SDL_HasSSE3
Determine whether the CPU has SSE3 features.
SDL_HasSSE41
Determine whether the CPU has SSE4.1 features.
SDL_HasSSE42
Determine whether the CPU has SSE4.2 features.
SDL_HasScreenKeyboardSupport
Check whether the platform has screen keyboard support.
SDL_HasSurfaceRLE
Returns whether the surface is RLE enabled
SDL_HideWindow
Hide a window.
SDL_Init
Initialize the SDL library.
SDL_InitSubSystem
Compatibility function to initialize the SDL library.
SDL_IntersectFRect
Calculate the intersection of two rectangles with float precision.
SDL_IntersectFRectAndLine
Calculate the intersection of a rectangle and line segment with float precision.
SDL_IntersectRect
Calculate the intersection of two rectangles.
SDL_IntersectRectAndLine
Calculate the intersection of a rectangle and line segment.
SDL_IsGameController
Check if the given joystick is supported by the game controller interface.
SDL_IsScreenKeyboardShown
Check whether the screen keyboard is shown for given window.
SDL_IsScreenSaverEnabled
Check whether the screensaver is currently enabled.
SDL_IsShapedWindow
Return whether the given window is a shaped window.
SDL_IsTablet
Query if the current device is a tablet.
SDL_IsTextInputActive
Check whether or not Unicode text input events are enabled.
SDL_IsTextInputShown
Returns if an IME Composite or Candidate window is currently shown.
SDL_JoystickAttachVirtual
Attach a new virtual joystick.
SDL_JoystickAttachVirtualEx
Attach a new virtual joystick with extended properties.
SDL_JoystickClose
Close a joystick previously opened with SDL_JoystickOpen().
SDL_JoystickCurrentPowerLevel
Get the battery level of a joystick as SDL_JoystickPowerLevel.
SDL_JoystickDetachVirtual
Detach a virtual joystick.
SDL_JoystickEventState
Enable/disable joystick event polling.
SDL_JoystickFromInstanceID
Get the SDL_Joystick associated with an instance id.
SDL_JoystickFromPlayerIndex
Get the SDL_Joystick associated with a player index.
SDL_JoystickGetAttached
Get the status of a specified joystick.
SDL_JoystickGetAxis
Get the current state of an axis control on a joystick.
SDL_JoystickGetAxisInitialState
Get the initial state of an axis control on a joystick.
SDL_JoystickGetBall
Get the ball axis change since the last poll.
SDL_JoystickGetButton
Get the current state of a button on a joystick.
SDL_JoystickGetDeviceGUID
Get the implementation-dependent GUID for the joystick at a given device index.
SDL_JoystickGetDeviceInstanceID
Get the instance ID of a joystick.
SDL_JoystickGetDevicePlayerIndex
Get the player index of a joystick, or -1 if it’s not available This can be called before any joysticks are opened.
SDL_JoystickGetDeviceProduct
Get the USB product ID of a joystick, if available.
SDL_JoystickGetDeviceProductVersion
Get the product version of a joystick, if available.
SDL_JoystickGetDeviceType
Get the type of a joystick, if available.
SDL_JoystickGetDeviceVendor
Get the USB vendor ID of a joystick, if available.
SDL_JoystickGetFirmwareVersion
Get the firmware version of an opened joystick, if available.
SDL_JoystickGetGUID
Get the implementation-dependent GUID for the joystick.
SDL_JoystickGetGUIDFromString
Convert a GUID string into a SDL_JoystickGUID structure.
SDL_JoystickGetGUIDString
Get an ASCII string representation for a given SDL_JoystickGUID.
SDL_JoystickGetHat
Get the current state of a POV hat on a joystick.
SDL_JoystickGetPlayerIndex
Get the player index of an opened joystick.
SDL_JoystickGetProduct
Get the USB product ID of an opened joystick, if available.
SDL_JoystickGetProductVersion
Get the product version of an opened joystick, if available.
SDL_JoystickGetSerial
Get the serial number of an opened joystick, if available.
SDL_JoystickGetType
Get the type of an opened joystick.
SDL_JoystickGetVendor
Get the USB vendor ID of an opened joystick, if available.
SDL_JoystickHasLED
Query whether a joystick has an LED.
SDL_JoystickHasRumble
Query whether a joystick has rumble support.
SDL_JoystickHasRumbleTriggers
Query whether a joystick has rumble support on triggers.
SDL_JoystickInstanceID
Get the instance ID of an opened joystick.
SDL_JoystickIsHaptic
Query if a joystick has haptic features.
SDL_JoystickIsVirtual
Query whether or not the joystick at a given device index is virtual.
SDL_JoystickName
Get the implementation dependent name of a joystick.
SDL_JoystickNameForIndex
Get the implementation dependent name of a joystick.
SDL_JoystickNumAxes
Get the number of general axis controls on a joystick.
SDL_JoystickNumBalls
Get the number of trackballs on a joystick.
SDL_JoystickNumButtons
Get the number of buttons on a joystick.
SDL_JoystickNumHats
Get the number of POV hats on a joystick.
SDL_JoystickOpen
Open a joystick for use.
SDL_JoystickPath
Get the implementation dependent path of a joystick.
SDL_JoystickPathForIndex
Get the implementation dependent path of a joystick.
SDL_JoystickRumble
Start a rumble effect.
SDL_JoystickRumbleTriggers
Start a rumble effect in the joystick’s triggers
SDL_JoystickSendEffect
Send a joystick specific effect packet
SDL_JoystickSetLED
Update a joystick’s LED color.
SDL_JoystickSetPlayerIndex
Set the player index of an opened joystick.
SDL_JoystickSetVirtualAxis
Set values on an opened, virtual-joystick’s axis.
SDL_JoystickSetVirtualButton
Set values on an opened, virtual-joystick’s button.
SDL_JoystickSetVirtualHat
Set values on an opened, virtual-joystick’s hat.
SDL_JoystickUpdate
Update the current state of the open joysticks.
SDL_LinuxSetThreadPriority
Sets the UNIX nice value for a thread.
SDL_LinuxSetThreadPriorityAndPolicy
Sets the priority (not nice level) and scheduling policy for a thread.
SDL_LoadBMP_RW
Load a BMP image from a seekable SDL data stream.
SDL_LoadDollarTemplates
Load Dollar Gesture templates from a file.
SDL_LoadFile
Load all the data from a file path.
SDL_LoadFile_RW
Load all the data from an SDL data stream.
SDL_LoadFunction
Look up the address of the named function in a shared object.
SDL_LoadObject
Dynamically load a shared object.
SDL_LoadWAV_RW
Load the audio data of a WAVE file into memory.
SDL_LockAudio
This function is a legacy means of locking the audio device.
SDL_LockAudioDevice
Use this function to lock out the audio callback function for a specified device.
SDL_LockJoysticks
Locking for multi-threaded access to the joystick API
SDL_LockMutex
Lock the mutex.
SDL_LockSensors
Locking for multi-threaded access to the sensor API
SDL_LockSurface
Set up a surface for directly accessing the pixels.
SDL_LockTexture
Lock a portion of the texture for write-only pixel access.
SDL_LockTextureToSurface
Lock a portion of the texture for write-only pixel access, and expose it as a SDL surface.
SDL_Log
Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO.
SDL_LogCritical
Log a message with SDL_LOG_PRIORITY_CRITICAL.
SDL_LogDebug
Log a message with SDL_LOG_PRIORITY_DEBUG.
SDL_LogError
Log a message with SDL_LOG_PRIORITY_ERROR.
SDL_LogGetOutputFunction
Get the current log output function.
SDL_LogGetPriority
Get the priority of a particular log category.
SDL_LogInfo
Log a message with SDL_LOG_PRIORITY_INFO.
SDL_LogMessage
Log a message with the specified category and priority.
SDL_LogMessageV
Log a message with the specified category and priority.
SDL_LogResetPriorities
Reset all priorities to default.
SDL_LogSetAllPriority
Set the priority of all log categories.
SDL_LogSetOutputFunction
Replace the default log output function with one of your own.
SDL_LogSetPriority
Set the priority of a particular log category.
SDL_LogVerbose
Log a message with SDL_LOG_PRIORITY_VERBOSE.
SDL_LogWarn
Log a message with SDL_LOG_PRIORITY_WARN.
SDL_LowerBlit
Perform low-level surface blitting only.
SDL_LowerBlitScaled
Perform low-level surface scaled blitting only.
SDL_MapRGB
Map an RGB triple to an opaque pixel value for a given pixel format.
SDL_MapRGBA
Map an RGBA quadruple to a pixel value for a given pixel format.
SDL_MasksToPixelFormatEnum
Convert a bpp value and RGBA masks to an enumerated pixel format.
SDL_MaximizeWindow
Make a window as large as possible.
SDL_MemoryBarrierAcquireFunction
SDL_MemoryBarrierReleaseFunction
Memory barriers are designed to prevent reads and writes from being reordered by the compiler and being seen out of order on multi-core CPUs.
SDL_Metal_CreateView
Create a CAMetalLayer-backed NSView/UIView and attach it to the specified window.
SDL_Metal_DestroyView
Destroy an existing SDL_MetalView object.
SDL_Metal_GetDrawableSize
Get the size of a window’s underlying drawable in pixels (for use with setting viewport, scissor & etc).
SDL_Metal_GetLayer
Get a pointer to the backing CAMetalLayer for the given view.
SDL_MinimizeWindow
Minimize a window to an iconic representation.
SDL_MixAudio
This function is a legacy means of mixing audio.
SDL_MixAudioFormat
Mix audio data in a specified format.
SDL_MouseIsHaptic
Query whether or not the current mouse has haptic capabilities.
SDL_NewAudioStream
Create a new audio stream.
SDL_NumHaptics
Count the number of haptic devices attached to the system.
SDL_NumJoysticks
Count the number of joysticks attached to the system.
SDL_NumSensors
Count the number of sensors attached to the system right now.
SDL_OnApplicationDidBecomeActive
SDL_OnApplicationDidEnterBackground
SDL_OnApplicationDidReceiveMemoryWarning
SDL_OnApplicationWillEnterForeground
SDL_OnApplicationWillResignActive
SDL_OnApplicationWillTerminate
SDL_OpenAudio
This function is a legacy means of opening the audio device.
SDL_OpenAudioDevice
Open a specific audio device.
SDL_OpenURL
Open a URL/URI in the browser or other appropriate external application.
SDL_PauseAudio
This function is a legacy means of pausing the audio device.
SDL_PauseAudioDevice
Use this function to pause and unpause audio playback on a specified device.
SDL_PeepEvents
Check the event queue for messages and optionally return them.
SDL_PixelFormatEnumToMasks
Convert one of the enumerated pixel formats to a bpp value and RGBA masks.
SDL_PollEvent
Poll for currently pending events.
SDL_PremultiplyAlpha
Premultiply the alpha on a block of pixels.
SDL_PumpEvents
Pump the event loop, gathering events from the input devices.
SDL_PushEvent
Add an event to the event queue.
SDL_QueryTexture
Query the attributes of a texture.
SDL_QueueAudio
Queue more audio on non-callback devices.
SDL_Quit
Clean up all initialized subsystems.
SDL_QuitSubSystem
Shut down specific SDL subsystems.
SDL_RWFromConstMem
Use this function to prepare a read-only memory buffer for use with RWops.
SDL_RWFromFP
Use this function to create an SDL_RWops structure from a standard I/O file pointer (stdio.h’s FILE*).
SDL_RWFromFile
Use this function to create a new SDL_RWops structure for reading from and/or writing to a named file.
SDL_RWFromMem
Use this function to prepare a read-write memory buffer for use with SDL_RWops.
SDL_RWclose
Close and free an allocated SDL_RWops structure.
SDL_RWread
Read from a data source.
SDL_RWseek
Seek within an SDL_RWops data stream.
SDL_RWsize
Use this function to get the size of the data stream in an SDL_RWops.
SDL_RWtell
Determine the current read/write offset in an SDL_RWops data stream.
SDL_RWwrite
Write to an SDL_RWops data stream.
SDL_RaiseWindow
Raise a window above other windows and set the input focus.
SDL_ReadBE16
Use this function to read 16 bits of big-endian data from an SDL_RWops and return in native format.
SDL_ReadBE32
Use this function to read 32 bits of big-endian data from an SDL_RWops and return in native format.
SDL_ReadBE64
Use this function to read 64 bits of big-endian data from an SDL_RWops and return in native format.
SDL_ReadLE16
Use this function to read 16 bits of little-endian data from an SDL_RWops and return in native format.
SDL_ReadLE32
Use this function to read 32 bits of little-endian data from an SDL_RWops and return in native format.
SDL_ReadLE64
Use this function to read 64 bits of little-endian data from an SDL_RWops and return in native format.
SDL_ReadU8
Use this function to read a byte from an SDL_RWops.
SDL_RecordGesture
Begin recording a gesture on a specified touch device or all touch devices.
SDL_RegisterEvents
Allocate a set of user-defined events, and return the beginning event number for that set of events.
SDL_RemoveTimer
Remove a timer created with SDL_AddTimer().
SDL_RenderClear
Clear the current rendering target with the drawing color.
SDL_RenderCopy
Copy a portion of the texture to the current rendering target.
SDL_RenderCopyEx
Copy a portion of the texture to the current rendering, with optional rotation and flipping.
SDL_RenderCopyExF
Copy a portion of the source texture to the current rendering target, with rotation and flipping, at subpixel precision.
SDL_RenderCopyF
Copy a portion of the texture to the current rendering target at subpixel precision.
SDL_RenderDrawLine
Draw a line on the current rendering target.
SDL_RenderDrawLineF
Draw a line on the current rendering target at subpixel precision.
SDL_RenderDrawLines
Draw a series of connected lines on the current rendering target.
SDL_RenderDrawLinesF
Draw a series of connected lines on the current rendering target at subpixel precision.
SDL_RenderDrawPoint
Draw a point on the current rendering target.
SDL_RenderDrawPointF
Draw a point on the current rendering target at subpixel precision.
SDL_RenderDrawPoints
Draw multiple points on the current rendering target.
SDL_RenderDrawPointsF
Draw multiple points on the current rendering target at subpixel precision.
SDL_RenderDrawRect
Draw a rectangle on the current rendering target.
SDL_RenderDrawRectF
Draw a rectangle on the current rendering target at subpixel precision.
SDL_RenderDrawRects
Draw some number of rectangles on the current rendering target.
SDL_RenderDrawRectsF
Draw some number of rectangles on the current rendering target at subpixel precision.
SDL_RenderFillRect
Fill a rectangle on the current rendering target with the drawing color.
SDL_RenderFillRectF
Fill a rectangle on the current rendering target with the drawing color at subpixel precision.
SDL_RenderFillRects
Fill some number of rectangles on the current rendering target with the drawing color.
SDL_RenderFillRectsF
Fill some number of rectangles on the current rendering target with the drawing color at subpixel precision.
SDL_RenderFlush
Force the rendering context to flush any pending commands to the underlying rendering API.
SDL_RenderGeometry
Render a list of triangles, optionally using a texture and indices into the vertex array Color and alpha modulation is done per vertex (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).
SDL_RenderGeometryRaw
Render a list of triangles, optionally using a texture and indices into the vertex arrays Color and alpha modulation is done per vertex (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).
SDL_RenderGetClipRect
Get the clip rectangle for the current target.
SDL_RenderGetIntegerScale
Get whether integer scales are forced for resolution-independent rendering.
SDL_RenderGetLogicalSize
Get device independent resolution for rendering.
SDL_RenderGetMetalCommandEncoder
Get the Metal command encoder for the current frame
SDL_RenderGetMetalLayer
Get the CAMetalLayer associated with the given Metal renderer.
SDL_RenderGetScale
Get the drawing scale for the current target.
SDL_RenderGetViewport
Get the drawing area for the current target.
SDL_RenderGetWindow
Get the window associated with a renderer.
SDL_RenderIsClipEnabled
Get whether clipping is enabled on the given renderer.
SDL_RenderLogicalToWindow
Get real coordinates of point in window when given logical coordinates of point in renderer.
SDL_RenderPresent
Update the screen with any rendering performed since the previous call.
SDL_RenderReadPixels
Read pixels from the current rendering target to an array of pixels.
SDL_RenderSetClipRect
Set the clip rectangle for rendering on the specified target.
SDL_RenderSetIntegerScale
Set whether to force integer scales for resolution-independent rendering.
SDL_RenderSetLogicalSize
Set a device independent resolution for rendering.
SDL_RenderSetScale
Set the drawing scale for rendering on the current target.
SDL_RenderSetVSync
Toggle VSync of the given renderer.
SDL_RenderSetViewport
Set the drawing area for rendering on the current target.
SDL_RenderTargetSupported
Determine whether a renderer supports the use of render targets.
SDL_RenderWindowToLogical
Get logical coordinates of point in renderer when given real coordinates of point in window.
SDL_ReportAssertion
SDL_ResetAssertionReport
Clear the list of all assertion failures.
SDL_ResetHint
Reset a hint to the default value.
SDL_ResetHints
Reset all hints to the default values.
SDL_ResetKeyboard
Clear the state of the keyboard
SDL_RestoreWindow
Restore the size and position of a minimized or maximized window.
SDL_SIMDAlloc
Allocate memory in a SIMD-friendly way.
SDL_SIMDFree
Deallocate memory obtained from SDL_SIMDAlloc
SDL_SIMDGetAlignment
Report the alignment this system needs for SIMD allocations.
SDL_SIMDRealloc
Reallocate memory obtained from SDL_SIMDAlloc
SDL_SaveAllDollarTemplates
Save all currently loaded Dollar Gesture templates.
SDL_SaveBMP_RW
Save a surface to a seekable SDL data stream in BMP format.
SDL_SaveDollarTemplate
Save a currently loaded Dollar Gesture template.
SDL_SemPost
Atomically increment a semaphore’s value and wake waiting threads.
SDL_SemTryWait
See if a semaphore has a positive value and decrement it if it does.
SDL_SemValue
Get the current value of a semaphore.
SDL_SemWait
Wait until a semaphore has a positive value and then decrements it.
SDL_SemWaitTimeout
Wait until a semaphore has a positive value and then decrements it.
SDL_SensorClose
Close a sensor previously opened with SDL_SensorOpen().
SDL_SensorFromInstanceID
Return the SDL_Sensor associated with an instance id.
SDL_SensorGetData
Get the current state of an opened sensor.
SDL_SensorGetDataWithTimestamp
Get the current state of an opened sensor with the timestamp of the last update.
SDL_SensorGetDeviceInstanceID
Get the instance ID of a sensor.
SDL_SensorGetDeviceName
Get the implementation dependent name of a sensor.
SDL_SensorGetDeviceNonPortableType
Get the platform dependent type of a sensor.
SDL_SensorGetDeviceType
Get the type of a sensor.
SDL_SensorGetInstanceID
Get the instance ID of a sensor.
SDL_SensorGetName
Get the implementation dependent name of a sensor
SDL_SensorGetNonPortableType
Get the platform dependent type of a sensor.
SDL_SensorGetType
Get the type of a sensor.
SDL_SensorOpen
Open a sensor for use.
SDL_SensorUpdate
Update the current state of the open sensors.
SDL_SetAssertionHandler
Set an application-defined assertion handler.
SDL_SetClipRect
Set the clipping rectangle for a surface.
SDL_SetClipboardText
Put UTF-8 text into the clipboard.
SDL_SetColorKey
Set the color key (transparent pixel) in a surface.
SDL_SetCursor
Set the active cursor.
SDL_SetError
Set the SDL error message for the current thread.
SDL_SetEventFilter
Set up a filter to process all events before they change internal state and are posted to the internal event queue.
SDL_SetHint
Set a hint with normal priority.
SDL_SetHintWithPriority
Set a hint with a specific priority.
SDL_SetMainReady
Circumvent failure of SDL_Init() when not using SDL_main() as an entry point.
SDL_SetMemoryFunctions
Replace SDL’s memory allocation functions with a custom set
SDL_SetModState
Set the current key modifier state for the keyboard.
SDL_SetPaletteColors
Set a range of colors in a palette.
SDL_SetPixelFormatPalette
Set the palette for a pixel format structure.
SDL_SetPrimarySelectionText
Put UTF-8 text into the primary selection.
SDL_SetRelativeMouseMode
Set relative mouse mode.
SDL_SetRenderDrawBlendMode
Set the blend mode used for drawing operations (Fill and Line).
SDL_SetRenderDrawColor
Set the color used for drawing operations (Rect, Line and Clear).
SDL_SetRenderTarget
Set a texture as the current rendering target.
SDL_SetSurfaceAlphaMod
Set an additional alpha value used in blit operations.
SDL_SetSurfaceBlendMode
Set the blend mode used for blit operations.
SDL_SetSurfaceColorMod
Set an additional color value multiplied into blit operations.
SDL_SetSurfacePalette
Set the palette used by a surface.
SDL_SetSurfaceRLE
Set the RLE acceleration hint for a surface.
SDL_SetTextInputRect
Set the rectangle used to type Unicode text inputs.
SDL_SetTextureAlphaMod
Set an additional alpha value multiplied into render copy operations.
SDL_SetTextureBlendMode
Set the blend mode for a texture, used by SDL_RenderCopy().
SDL_SetTextureColorMod
Set an additional color value multiplied into render copy operations.
SDL_SetTextureScaleMode
Set the scale mode used for texture scale operations.
SDL_SetTextureUserData
Associate a user-specified pointer with a texture.
SDL_SetThreadPriority
Set the priority for the current thread.
SDL_SetWindowAlwaysOnTop
Set the window to always be above the others.
SDL_SetWindowBordered
Set the border state of a window.
SDL_SetWindowBrightness
Set the brightness (gamma multiplier) for a given window’s display.
SDL_SetWindowData
Associate an arbitrary named pointer with a window.
SDL_SetWindowDisplayMode
Set the display mode to use when a window is visible at fullscreen.
SDL_SetWindowFullscreen
Set a window’s fullscreen state.
SDL_SetWindowGammaRamp
Set the gamma ramp for the display that owns a given window.
SDL_SetWindowGrab
Set a window’s input grab mode.
SDL_SetWindowHitTest
Provide a callback that decides if a window region has special properties.
SDL_SetWindowIcon
Set the icon for a window.
SDL_SetWindowInputFocus
Explicitly set input focus to the window.
SDL_SetWindowKeyboardGrab
Set a window’s keyboard grab mode.
SDL_SetWindowMaximumSize
Set the maximum size of a window’s client area.
SDL_SetWindowMinimumSize
Set the minimum size of a window’s client area.
SDL_SetWindowModalFor
Set the window as a modal for another window.
SDL_SetWindowMouseGrab
Set a window’s mouse grab mode.
SDL_SetWindowMouseRect
Confines the cursor to the specified area of a window.
SDL_SetWindowOpacity
Set the opacity for a window.
SDL_SetWindowPosition
Set the position of a window.
SDL_SetWindowResizable
Set the user-resizable state of a window.
SDL_SetWindowShape
Set the shape and parameters of a shaped window.
SDL_SetWindowSize
Set the size of a window’s client area.
SDL_SetWindowTitle
Set the title of a window.
SDL_SetYUVConversionMode
Set the YUV conversion mode
SDL_ShowCursor
Toggle whether or not the cursor is shown.
SDL_ShowMessageBox
Create a modal message box.
SDL_ShowSimpleMessageBox
Display a simple modal message box.
SDL_ShowWindow
Show a window.
SDL_SoftStretch
Perform a fast, low quality, stretch blit between two surfaces of the same format.
SDL_SoftStretchLinear
Perform bilinear scaling between two surfaces of the same format, 32BPP.
SDL_StartTextInput
Start accepting Unicode text input events.
SDL_StopTextInput
Stop receiving any text input events.
SDL_TLSCleanup
Cleanup all TLS data for this thread.
SDL_TLSCreate
Create a piece of thread-local storage.
SDL_TLSGet
Get the current thread’s value associated with a thread local storage ID.
SDL_TLSSet
Set the current thread’s value associated with a thread local storage ID.
SDL_ThreadID
Get the thread identifier for the current thread.
SDL_TryLockMutex
Try to lock a mutex without blocking.
SDL_UnionFRect
Calculate the union of two rectangles with float precision.
SDL_UnionRect
Calculate the union of two rectangles.
SDL_UnloadObject
Unload a shared object from memory.
SDL_UnlockAudio
This function is a legacy means of unlocking the audio device.
SDL_UnlockAudioDevice
Use this function to unlock the audio callback function for a specified device.
SDL_UnlockJoysticks
Unlocking for multi-threaded access to the joystick API
SDL_UnlockMutex
Unlock the mutex.
SDL_UnlockSensors
SDL_UnlockSurface
Release a surface after directly accessing the pixels.
SDL_UnlockTexture
Unlock a texture, uploading the changes to video memory, if needed.
SDL_UpdateNVTexture
Update a rectangle within a planar NV12 or NV21 texture with new pixels.
SDL_UpdateTexture
Update the given texture rectangle with new pixel data.
SDL_UpdateWindowSurface
Copy the window surface to the screen.
SDL_UpdateWindowSurfaceRects
Copy areas of the window surface to the screen.
SDL_UpdateYUVTexture
Update a rectangle within a planar YV12 or IYUV texture with new pixel data.
SDL_UpperBlit
Perform a fast blit from the source surface to the destination surface.
SDL_UpperBlitScaled
Perform a scaled surface copy to a destination surface.
SDL_VideoInit
Initialize the video subsystem, optionally specifying a video driver.
SDL_VideoQuit
Shut down the video subsystem, if initialized with SDL_VideoInit().
SDL_Vulkan_CreateSurface
Create a Vulkan rendering surface for a window.
SDL_Vulkan_GetDrawableSize
Get the size of the window’s underlying drawable dimensions in pixels.
SDL_Vulkan_GetInstanceExtensions
Get the names of the Vulkan instance extensions needed to create a surface with SDL_Vulkan_CreateSurface.
SDL_Vulkan_GetVkGetInstanceProcAddr
Get the address of the vkGetInstanceProcAddr function.
SDL_Vulkan_LoadLibrary
Dynamically load the Vulkan loader library.
SDL_Vulkan_UnloadLibrary
Unload the Vulkan library previously loaded by SDL_Vulkan_LoadLibrary()
SDL_WaitEvent
Wait indefinitely for the next available event.
SDL_WaitEventTimeout
Wait until the specified timeout (in milliseconds) for the next available event.
SDL_WaitThread
Wait for a thread to finish.
SDL_WarpMouseGlobal
Move the mouse to the given position in global screen space.
SDL_WarpMouseInWindow
Move the mouse cursor to the given position within the window.
SDL_WasInit
Get a mask of the specified subsystems which are currently initialized.
SDL_WriteBE16
Use this function to write 16 bits in native format to a SDL_RWops as big-endian data.
SDL_WriteBE32
Use this function to write 32 bits in native format to a SDL_RWops as big-endian data.
SDL_WriteBE64
Use this function to write 64 bits in native format to a SDL_RWops as big-endian data.
SDL_WriteLE16
Use this function to write 16 bits in native format to a SDL_RWops as little-endian data.
SDL_WriteLE32
Use this function to write 32 bits in native format to a SDL_RWops as little-endian data.
SDL_WriteLE64
Use this function to write 64 bits in native format to a SDL_RWops as little-endian data.
SDL_WriteU8
Use this function to write a byte to an SDL_RWops.
SDL_abs
SDL_acos
Use this function to compute arc cosine of x.
SDL_acosf
SDL_asin
SDL_asinf
SDL_asprintf
SDL_atan
SDL_atan2
SDL_atan2f
SDL_atanf
SDL_atof
SDL_atoi
SDL_bsearch
SDL_calloc
SDL_ceil
SDL_ceilf
SDL_copysign
SDL_copysignf
SDL_cos
SDL_cosf
SDL_crc16
SDL_crc32
SDL_exp
SDL_expf
SDL_fabs
SDL_fabsf
SDL_floor
SDL_floorf
SDL_fmod
SDL_fmodf
SDL_free
SDL_getenv
SDL_hid_ble_scan
Start or stop a BLE scan on iOS and tvOS to pair Steam Controllers
SDL_hid_close
Close a HID device.
SDL_hid_device_change_count
Check to see if devices may have been added or removed.
SDL_hid_enumerate
Enumerate the HID Devices.
SDL_hid_exit
Finalize the HIDAPI library.
SDL_hid_free_enumeration
Free an enumeration Linked List
SDL_hid_get_feature_report
Get a feature report from a HID device.
SDL_hid_get_indexed_string
Get a string from a HID device, based on its string index.
SDL_hid_get_manufacturer_string
Get The Manufacturer String from a HID device.
SDL_hid_get_product_string
Get The Product String from a HID device.
SDL_hid_get_serial_number_string
Get The Serial Number String from a HID device.
SDL_hid_init
Initialize the HIDAPI library.
SDL_hid_open
Open a HID device using a Vendor ID (VID), Product ID (PID) and optionally a serial number.
SDL_hid_open_path
Open a HID device by its path name.
SDL_hid_read
Read an Input report from a HID device.
SDL_hid_read_timeout
Read an Input report from a HID device with timeout.
SDL_hid_send_feature_report
Send a Feature report to the device.
SDL_hid_set_nonblocking
Set the device handle to be non-blocking.
SDL_hid_write
Write an Output report to a HID device.
SDL_iconv
SDL_iconv_close
SDL_iconv_open
SDL_iconv_string
This function converts a string between encodings in one pass, returning a string that must be freed with SDL_free() or NULL on error.
SDL_isalnum
SDL_isalpha
SDL_isblank
SDL_iscntrl
SDL_isdigit
SDL_isgraph
SDL_islower
SDL_isprint
SDL_ispunct
SDL_isspace
SDL_isupper
SDL_isxdigit
SDL_itoa
SDL_lltoa
SDL_log
SDL_log10
SDL_log10f
SDL_logf
SDL_lround
SDL_lroundf
SDL_ltoa
SDL_main
SDL_malloc
SDL_memcmp
SDL_memcpy
SDL_memmove
SDL_memset
SDL_pow
SDL_powf
SDL_qsort
SDL_realloc
SDL_round
SDL_roundf
SDL_scalbn
SDL_scalbnf
SDL_setenv
SDL_sin
SDL_sinf
SDL_snprintf
SDL_sqrt
SDL_sqrtf
SDL_sscanf
SDL_strcasecmp
SDL_strcasestr
SDL_strchr
SDL_strcmp
SDL_strdup
SDL_strlcat
SDL_strlcpy
SDL_strlen
SDL_strlwr
SDL_strncasecmp
SDL_strncmp
SDL_strrchr
SDL_strrev
SDL_strstr
SDL_strtod
SDL_strtokr
SDL_strtol
SDL_strtoll
SDL_strtoul
SDL_strtoull
SDL_strupr
SDL_tan
SDL_tanf
SDL_tolower
SDL_toupper
SDL_trunc
SDL_truncf
SDL_uitoa
SDL_ulltoa
SDL_ultoa
SDL_utf8strlcpy
SDL_utf8strlen
SDL_utf8strnlen
SDL_vasprintf
SDL_vsnprintf
SDL_vsscanf
SDL_wcscasecmp
SDL_wcscmp
SDL_wcsdup
SDL_wcslcat
SDL_wcslcpy
SDL_wcslen
SDL_wcsncasecmp
SDL_wcsncmp
SDL_wcsstr
XActivateScreenSaver
XAddConnectionWatch
XAddExtension
XAddHost
XAddHosts
XAddToExtensionList
XAddToSaveSet
XAllPlanes
XAllocColor
XAllocColorCells
XAllocColorPlanes
XAllocNamedColor
XAllowEvents
XAutoRepeatOff
XAutoRepeatOn
XBaseFontNameListOfFontSet
XBell
XBitmapBitOrder
XBitmapPad
XBitmapUnit
XBlackPixel
XBlackPixelOfScreen
XCellsOfScreen
XChangeActivePointerGrab
XChangeGC
XChangeKeyboardControl
XChangeKeyboardMapping
XChangePointerControl
XChangeProperty
XChangeSaveSet
XChangeWindowAttributes
XCheckIfEvent
XCheckMaskEvent
XCheckTypedEvent
XCheckTypedWindowEvent
XCheckWindowEvent
XCirculateSubwindows
XCirculateSubwindowsDown
XCirculateSubwindowsUp
XClearArea
XClearWindow
XCloseDisplay
XCloseIM
XCloseOM
XConfigureWindow
XConnectionNumber
XContextDependentDrawing
XContextualDrawing
XConvertSelection
XCopyArea
XCopyColormapAndFree
XCopyGC
XCopyPlane
XCreateBitmapFromData
XCreateColormap
XCreateFontCursor
XCreateFontSet
XCreateGC
XCreateGlyphCursor
XCreateIC
XCreateImage
XCreateOC
XCreatePixmap
XCreatePixmapCursor
XCreatePixmapFromBitmapData
XCreateSimpleWindow
XCreateWindow
XDefaultColormap
XDefaultColormapOfScreen
XDefaultDepth
XDefaultDepthOfScreen
XDefaultGC
XDefaultGCOfScreen
XDefaultRootWindow
XDefaultScreen
XDefaultScreenOfDisplay
XDefaultVisual
XDefaultVisualOfScreen
XDefineCursor
XDeleteModifiermapEntry
XDeleteProperty
XDestroyIC
XDestroyOC
XDestroySubwindows
XDestroyWindow
XDirectionalDependentDrawing
XDisableAccessControl
XDisplayCells
XDisplayHeight
XDisplayHeightMM
XDisplayKeycodes
XDisplayMotionBufferSize
XDisplayName
XDisplayOfIM
XDisplayOfOM
XDisplayOfScreen
XDisplayPlanes
XDisplayString
XDisplayWidth
XDisplayWidthMM
XDoesBackingStore
XDoesSaveUnders
XDrawArc
XDrawArcs
XDrawImageString
XDrawImageString16
XDrawLine
XDrawLines
XDrawPoint
XDrawPoints
XDrawRectangle
XDrawRectangles
XDrawSegments
XDrawString
XDrawString16
XDrawText
XDrawText16
XEHeadOfExtensionList
XEnableAccessControl
XEventMaskOfScreen
XEventsQueued
XExtendedMaxRequestSize
XExtentsOfFontSet
XFetchBuffer
XFetchBytes
XFetchName
XFillArc
XFillArcs
XFillPolygon
XFillRectangle
XFillRectangles
XFilterEvent
XFindOnExtensionList
XFlush
XFlushGC
XFontsOfFontSet
XForceScreenSaver
XFree
XFreeColormap
XFreeColors
XFreeCursor
XFreeEventData
XFreeExtensionList
XFreeFont
XFreeFontInfo
XFreeFontNames
XFreeFontPath
XFreeFontSet
XFreeGC
XFreeModifiermap
XFreePixmap
XFreeStringList
XFreeThreads
XGContextFromGC
XGeometry
XGetAtomName
XGetAtomNames
XGetCommand
XGetDefault
XGetErrorDatabaseText
XGetErrorText
XGetEventData
XGetFontPath
XGetFontProperty
XGetGCValues
XGetGeometry
XGetICValues
XGetIMValues
XGetIconName
XGetImage
XGetInputFocus
XGetKeyboardControl
XGetKeyboardMapping
XGetModifierMapping
XGetMotionEvents
XGetOCValues
XGetOMValues
XGetPointerControl
XGetPointerMapping
XGetScreenSaver
XGetSelectionOwner
XGetSubImage
XGetTransientForHint
XGetWMColormapWindows
XGetWMProtocols
XGetWindowAttributes
XGetWindowProperty
XGrabButton
XGrabKey
XGrabKeyboard
XGrabPointer
XGrabServer
XHeightMMOfScreen
XHeightOfScreen
XIMOfIC
XIconifyWindow
XIfEvent
XImageByteOrder
XInitExtension
XInitImage
XInitThreads
XInsertModifiermapEntry
XInstallColormap
XInternAtom
XInternAtoms
XInternalConnectionNumbers
XKeycodeToKeysym
XKeysymToKeycode
XKeysymToString
XKillClient
XLastKnownRequestProcessed
XListDepths
XListExtensions
XListFonts
XListFontsWithInfo
XListHosts
XListInstalledColormaps
XListPixmapFormats
XListProperties
XLoadFont
XLoadQueryFont
XLocaleOfFontSet
XLocaleOfIM
XLocaleOfOM
XLockDisplay
XLookupColor
XLookupKeysym
XLowerWindow
XMapRaised
XMapSubwindows
XMapWindow
XMaskEvent
XMaxCmapsOfScreen
XMaxRequestSize
XMinCmapsOfScreen
XMoveResizeWindow
XMoveWindow
XNewModifiermap
XNextEvent
XNextRequest
XNoOp
XOMOfOC
XOpenDisplay
XOpenIM
XOpenOM
XParseColor
XParseGeometry
XPeekEvent
XPeekIfEvent
XPending
XPlanesOfScreen
XProcessInternalConnection
XProtocolRevision
XProtocolVersion
XPutBackEvent
XPutImage
XQLength
XQueryBestCursor
XQueryBestSize
XQueryBestStipple
XQueryBestTile
XQueryColor
XQueryColors
XQueryExtension
XQueryFont
XQueryKeymap
XQueryPointer
XQueryTextExtents
XQueryTextExtents16
XQueryTree
XRaiseWindow
XReadBitmapFile
XReadBitmapFileData
XRebindKeysym
XRecolorCursor
XReconfigureWMWindow
XRefreshKeyboardMapping
XRegisterIMInstantiateCallback
XRemoveConnectionWatch
XRemoveFromSaveSet
XRemoveHost
XRemoveHosts
XReparentWindow
XResetScreenSaver
XResizeWindow
XResourceManagerString
XRestackWindows
XRootWindow
XRootWindowOfScreen
XRotateBuffers
XRotateWindowProperties
XScreenCount
XScreenNumberOfScreen
XScreenOfDisplay
XScreenResourceString
XSelectInput
XSendEvent
XServerVendor
XSetAccessControl
XSetAfterFunction
XSetArcMode
XSetAuthorization
XSetBackground
XSetClipMask
XSetClipOrigin
XSetClipRectangles
XSetCloseDownMode
XSetCommand
XSetDashes
XSetErrorHandler
XSetFillRule
XSetFillStyle
XSetFont
XSetFontPath
XSetForeground
XSetFunction
XSetGraphicsExposures
XSetICFocus
XSetICValues
XSetIMValues
XSetIOErrorExitHandler
XSetIOErrorHandler
XSetIconName
XSetInputFocus
XSetLineAttributes
XSetLocaleModifiers
XSetModifierMapping
XSetOCValues
XSetOMValues
XSetPlaneMask
XSetPointerMapping
XSetScreenSaver
XSetSelectionOwner
XSetState
XSetStipple
XSetSubwindowMode
XSetTSOrigin
XSetTile
XSetTransientForHint
XSetWMColormapWindows
XSetWMProtocols
XSetWindowBackground
XSetWindowBackgroundPixmap
XSetWindowBorder
XSetWindowBorderPixmap
XSetWindowBorderWidth
XSetWindowColormap
XStoreBuffer
XStoreBytes
XStoreColor
XStoreColors
XStoreName
XStoreNamedColor
XStringToKeysym
XSupportsLocale
XSync
XSynchronize
XTextExtents
XTextExtents16
XTextWidth
XTextWidth16
XTranslateCoordinates
XUndefineCursor
XUngrabButton
XUngrabKey
XUngrabKeyboard
XUngrabPointer
XUngrabServer
XUninstallColormap
XUnloadFont
XUnlockDisplay
XUnmapSubwindows
XUnmapWindow
XUnregisterIMInstantiateCallback
XUnsetICFocus
XVaCreateNestedList
XVendorRelease
XVisualIDFromVisual
XWarpPointer
XWhitePixel
XWhitePixelOfScreen
XWidthMMOfScreen
XWidthOfScreen
XWindowEvent
XWithdrawWindow
XWriteBitmapFile
XmbDrawImageString
XmbDrawString
XmbDrawText
XmbLookupString
XmbResetIC
XmbTextEscapement
XmbTextExtents
XmbTextPerCharExtents
XrmInitialize
Xutf8DrawImageString
Xutf8DrawString
Xutf8DrawText
Xutf8LookupString
Xutf8ResetIC
Xutf8TextEscapement
Xutf8TextExtents
Xutf8TextPerCharExtents
XwcDrawImageString
XwcDrawString
XwcDrawText
XwcLookupString
XwcResetIC
XwcTextEscapement
XwcTextExtents
XwcTextPerCharExtents
_Exit
_Xmblen
_Xmbtowc
_Xwctomb
__ctype_get_mb_cur_max
_mm_clflush
_mm_getcsr
_mm_lfence
_mm_mfence
_mm_pause
_mm_setcsr
_mm_sfence
a64l
abort
abs
aligned_alloc
alloca
arc4random
arc4random_buf
arc4random_uniform
at_quick_exit
atexit
atof
atoi
atol
atoll
bsearch
calloc
clearenv
div
drand48
drand48_r
ecvt
ecvt_r
erand48
erand48_r
exit
fcvt
fcvt_r
free
gcvt
getenv
getloadavg
getsubopt
initstate
initstate_r
jrand48
jrand48_r
l64a
labs
lcong48
lcong48_r
ldiv
llabs
lldiv
lrand48
lrand48_r
malloc
mblen
mbstowcs
mbtowc
mkdtemp
mkstemp
mkstemps
mktemp
mrand48
mrand48_r
nrand48
nrand48_r
on_exit
posix_memalign
pselect
putenv
qecvt
qecvt_r
qfcvt
qfcvt_r
qgcvt
qsort
quick_exit
rand
rand_r
random
random_r
realloc
reallocarray
realpath
rpmatch
seed48
seed48_r
select
setenv
setstate
setstate_r
srand
srand48
srand48_r
srandom
srandom_r
strtod
strtof
strtol
strtold
strtoll
strtoq
strtoul
strtoull
strtouq
system
unsetenv
valloc
wcstombs
wctomb

Type Aliases§

Atom
Colormap
Cursor
Display
Drawable
Font
GC
GContext
KeyCode
KeySym
Mask
Pixmap
SDL_AssertionHandler
A callback that fires when an SDL assertion fails.
SDL_AudioCallback
This function is called when the audio device needs more data.
SDL_AudioDeviceID
SDL Audio Device IDs.
SDL_AudioFilter
SDL_AudioFormat
\brief Audio format flags.
SDL_AudioStream
SDL_EventFilter
A function pointer used for callbacks that watch the event queue.
SDL_FingerID
SDL_GLContext
\brief An opaque handle to an OpenGL context.
SDL_GameController
SDL_GestureID
SDL_Haptic
SDL_HintCallback
Type definition of the hint callback function.
SDL_HitTest
Callback used for hit-testing.
SDL_Joystick
SDL_JoystickGUID
An SDL_GUID is a 128-bit identifier for an input device that identifies that device across runs of SDL programs on the same platform. If the device is detached and then re-attached to a different port, or if the base system is rebooted, the device should still report the same GUID.
SDL_JoystickID
This is a unique ID for a joystick for the time it is connected to the system, and is never reused for the lifetime of the application. If the joystick is disconnected and reconnected, it will get a new ID.
SDL_Keycode
\brief The SDL virtual key representation.
SDL_LogOutputFunction
The prototype for the log output callback function.
SDL_MetalView
\brief A handle to a CAMetalLayer-backed NSView (macOS) or UIView (iOS/tvOS).
SDL_Sensor
SDL_SensorID
This is a unique ID for a sensor for the time it is connected to the system, and is never reused for the lifetime of the application.
SDL_SpinLock
SDL_TLSID
SDL_ThreadFunction
The function passed to SDL_CreateThread().
SDL_TimerCallback
Function prototype for the timer callback function.
SDL_TimerID
Definition of the timer ID type.
SDL_TouchID
SDL_blit
\brief The type of function used for surface blitting functions.
SDL_calloc_func
SDL_free_func
SDL_hid_device
SDL_iconv_t
SDL_main_func
The prototype for the application’s main() function
SDL_malloc_func
SDL_realloc_func
SDL_sem
SDL_threadID
SDL_vulkanInstance
SDL_vulkanSurface
Sint8
Sint16
Sint32
Sint64
Time
Uint8
Uint16
Uint32
Uint64
VisualID
VkInstance
VkSurfaceKHR
Window
XButtonPressedEvent
XButtonReleasedEvent
XConnectionWatchProc
XEnterWindowEvent
XErrorHandler
XEvent
XExtData
XFocusInEvent
XFocusOutEvent
XFontSet
XIC
XICProc
XID
XIDProc
XIM
XIMFeedback
XIMHotKeyState
XIMHotKeyTrigger
XIMHotKeyTriggers
XIMPreeditCaretCallbackStruct
XIMPreeditDrawCallbackStruct
XIMPreeditState
XIMPreeditStateNotifyCallbackStruct
XIMProc
XIMResetState
XIMStatusDrawCallbackStruct
XIMStringConversionCallbackStruct
XIMStringConversionFeedback
XIMStringConversionOperation
XIMStringConversionPosition
XIMStringConversionText
XIMStringConversionType
XIMStyle
XIMText
XIOErrorExitHandler
XIOErrorHandler
XImage
XKeyPressedEvent
XKeyReleasedEvent
XLeaveWindowEvent
XOC
XOM
XPointer
XPointerMovedEvent
XVaNestedList
_Float32
_Float64
_Float32x
_Float64x
_XPrivDisplay
__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__compar_fn_t
__daddr_t
__dev_t
__fd_mask
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__m64
__m128
__m128_u
__m128bh
__m128d
__m128d_u
__m128h
__m128h_u
__m128i
__m128i_u
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__pthread_list_t
__pthread_slist_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__thrd_t
__time_t
__timer_t
__tss_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
__v1di
__v2df
__v2di
__v2du
__v2si
__v4hi
__v4sf
__v4si
__v4su
__v8bf
__v8hf
__v8hi
__v8hu
__v8qi
__v16qi
__v16qs
__v16qu
blkcnt_t
blksize_t
caddr_t
clock_t
clockid_t
daddr_t
dev_t
fd_mask
fsblkcnt_t
fsfilcnt_t
fsid_t
gid_t
id_t
ino_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
key_t
loff_t
mode_t
nlink_t
off_t
pid_t
pthread_key_t
pthread_once_t
pthread_spinlock_t
pthread_t
quad_t
register_t
sigset_t
suseconds_t
time_t
timer_t
u_char
u_int
u_int8_t
u_int16_t
u_int32_t
u_int64_t
u_long
u_quad_t
u_short
uid_t
uint
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
ulong
ushort
va_list
wchar_t

Unions§

SDL_Event
\brief General event structure
SDL_GameControllerButtonBind__bindgen_ty_1
SDL_HapticEffect
\brief The generic template for any haptic effect.
SDL_RWops__bindgen_ty_1
SDL_SysWMinfo__bindgen_ty_1
SDL_SysWMmsg__bindgen_ty_1
SDL_WindowShapeParams
\brief A union containing parameters for shaped windows.
XClientMessageEvent__bindgen_ty_1
XEDataObject
_XEvent
_XIMStatusDrawCallbackStruct__bindgen_ty_1
_XIMStringConversionText__bindgen_ty_1
_XIMText__bindgen_ty_1
__atomic_wide_counter
pthread_attr_t
pthread_barrier_t
pthread_barrierattr_t
pthread_cond_t
pthread_condattr_t
pthread_mutex_t
pthread_mutexattr_t
pthread_rwlock_t
pthread_rwlockattr_t