Crate sdl2_sys [] [src]

Structs

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

< Private

SDL_Color
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_Cursor
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_Finger
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. *
  • This is the direction where the force comes from,
  • instead of the direction in which the force is exerted. *
  • Directions can be specified by:
  • - ::SDL_HAPTIC_POLAR : Specified by polar coordinates.
  • - ::SDL_HAPTIC_CARTESIAN : Specified by cartesian coordinates.
  • - ::SDL_HAPTIC_SPHERICAL : Specified by spherical coordinates. *
  • Cardinal directions of the haptic device are relative to the positioning
  • of the device. North is considered to be away from the user. *
  • The following diagram represents the cardinal directions:
  • \verbatim .--. |__| .-------. |=.| |.-----.| |--| || || | | |'-----'| |__|~')_____(' [ COMPUTER ]

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. *
  • The struct handles the following effects:
  • - ::SDL_HAPTIC_SINE
  • - ::SDL_HAPTIC_LEFTRIGHT
  • - ::SDL_HAPTIC_TRIANGLE
  • - ::SDL_HAPTIC_SAWTOOTHUP
  • - ::SDL_HAPTIC_SAWTOOTHDOWN *
  • A periodic effect consists in a wave-shaped effect that repeats itself
  • over time. The type determines the shape of the wave and the parameters
  • determine the dimensions of the wave. *
  • Phase is given by hundredth of a degree meaning that giving the phase a value
  • of 9000 will displace it 25% of its period. Here are sample values:
  • - 0: No phase displacement.
  • - 9000: Displaced 25% of its period.
  • - 18000: Displaced 50% of its period.
  • - 27000: Displaced 75% of its period.
  • - 36000: Displaced 100% of its period, same as 0, but 0 is preferred. *
  • Examples:
  • \verbatim SDL_HAPTIC_SINE

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_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_JoystickGUID
SDL_KeyboardEvent

\brief Keyboard button event structure (event.key.*)

SDL_Keysym

\brief The SDL keysym structure, used in key events.

SDL_MessageBoxButtonData

\brief Individual button data.

SDL_MessageBoxColor

\brief RGB value used in a message box color scheme

SDL_MessageBoxColorScheme

\brief A set of colors to use for message box dialogs

SDL_MessageBoxData

\brief 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

\brief The structure that defines a point

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_RWops__bindgen_ty_1__bindgen_ty_3
SDL_Rect

\brief A rectangle, with the origin at the upper left.

SDL_Renderer
SDL_RendererInfo

\brief Information on the capabilities of a render driver or context.

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_SysWMmsg
SDL_TextEditingEvent

\brief Keyboard text editing event structure (event.edit.*)

SDL_TextInputEvent

\brief Keyboard text input event structure (event.text.*)

SDL_Texture
SDL_Thread
SDL_TouchFingerEvent

\brief Touch finger event structure (event.tfinger.*)

SDL_UserEvent

\brief A user-defined event type (event.user.*)

SDL_Window
SDL_WindowEvent

\brief Window state change event data (event.window.*)

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_mutex
SDL_semaphore
SDL_version

\brief Information the version of SDL in use.

_G_fpos64_t
_G_fpos_t
_IO_FILE
_IO_FILE_plus
_IO_jump_t
_IO_marker
_SDL_GameController
_SDL_Haptic
_SDL_Joystick
_SDL_iconv_t
__fsid_t
__locale_data
__locale_struct
__mbstate_t
__pthread_internal_list
__sigset_t
__va_list_tag
div_t
drand48_data
exception
fd_set
imaxdiv_t
ldiv_t
lldiv_t
max_align_t
pthread_cond_t__bindgen_ty_1
pthread_mutex_t___pthread_mutex_s
pthread_rwlock_t__bindgen_ty_1
random_data
timespec
timeval

Enums

SDL_AssertState
SDL_AudioStatus
SDL_BlendMode

\brief The blend mode used in SDL_RenderCopy() and drawing operations.

SDL_DUMMY_ENUM
SDL_EventType

\brief The types of events that can be delivered.

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_HintPriority

\brief An enumeration of hint priorities

SDL_HitTestResult

\brief Possible return values from the SDL_HitTest callback.

SDL_JoystickPowerLevel
SDL_Keymod

\brief Enumeration of valid key mods (possibly OR'd together).

SDL_LogPriority

\brief The predefined log priorities

SDL_MessageBoxButtonFlags

\brief Flags for SDL_MessageBoxButtonData.

SDL_MessageBoxColorType
SDL_MessageBoxFlags

\brief SDL_MessageBox flags. If supported will display warning icon, etc.

SDL_MouseWheelDirection

\brief Scroll direction types for the Scroll event

SDL_PowerState

\brief The basic state for the system's power supply.

SDL_RendererFlags

\brief Flags used when creating a rendering context

SDL_RendererFlip

\brief Flip constants for SDL_RenderCopyEx

SDL_Scancode

\brief The SDL keyboard scancode representation.

SDL_SystemCursor

\brief Cursor types for SDL_CreateSystemCursor().

SDL_TextureAccess

\brief The access pattern allowed for a texture.

SDL_TextureModulate

\brief The texture channel modulation used in SDL_RenderCopy().

SDL_ThreadPriority

The SDL thread priority.

SDL_WindowEventID

\brief Event subtype for window events

SDL_WindowFlags

\brief The flags on a window

SDL_bool
SDL_errorcode
SDL_eventaction
_LIB_VERSION_TYPE
__codecvt_result
_bindgen_ty_1
_bindgen_ty_2
_bindgen_ty_3

Pixel type.

_bindgen_ty_4

Bitmap pixel order, high bit -> low bit.

_bindgen_ty_5

Packed component order, high bit -> low bit.

_bindgen_ty_6

Array component order, low byte -> high byte.

_bindgen_ty_7

Packed component layout.

_bindgen_ty_8
_bindgen_ty_9
_bindgen_ty_10

\brief The predefined log categories

idtype_t

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
BIG_ENDIAN
BUFSIZ
BYTE_ORDER
DOMAIN
EOF
EXIT_FAILURE
EXIT_SUCCESS
FD_SETSIZE
FILENAME_MAX
FOPEN_MAX
FP_ILOGB0
FP_INFINITE
FP_NAN
FP_NORMAL
FP_SUBNORMAL
FP_ZERO
HAVE_ABS
HAVE_ACOS
HAVE_ALLOCA
HAVE_ALLOCA_H
HAVE_ASIN
HAVE_ATAN
HAVE_ATAN2
HAVE_ATOF
HAVE_ATOI
HAVE_BCOPY
HAVE_CALLOC
HAVE_CEIL
HAVE_CLOCK_GETTIME
HAVE_COPYSIGN
HAVE_COS
HAVE_COSF
HAVE_CTYPE_H
HAVE_DBUS_DBUS_H
HAVE_FABS
HAVE_FLOOR
HAVE_FREE
HAVE_FSEEKO
HAVE_FSEEKO64
HAVE_GCC_ATOMICS
HAVE_GETENV
HAVE_IBUS_IBUS_H
HAVE_ICONV
HAVE_ICONV_H
HAVE_INTTYPES_H
HAVE_LIBC
HAVE_LIBUDEV_H
HAVE_LOG
HAVE_MALLOC
HAVE_MALLOC_H
HAVE_MATH_H
HAVE_MEMCMP
HAVE_MEMCPY
HAVE_MEMMOVE
HAVE_MEMORY_H
HAVE_MEMSET
HAVE_MPROTECT
HAVE_NANOSLEEP
HAVE_POW
HAVE_PTHREAD_SETNAME_NP
HAVE_PUTENV
HAVE_QSORT
HAVE_REALLOC
HAVE_SA_SIGACTION
HAVE_SCALBN
HAVE_SEM_TIMEDWAIT
HAVE_SETENV
HAVE_SETJMP
HAVE_SIGACTION
HAVE_SIGNAL_H
HAVE_SIN
HAVE_SINF
HAVE_SQRT
HAVE_SQRTF
HAVE_STDARG_H
HAVE_STDINT_H
HAVE_STDIO_H
HAVE_STDLIB_H
HAVE_STRCASECMP
HAVE_STRCHR
HAVE_STRCMP
HAVE_STRDUP
HAVE_STRINGS_H
HAVE_STRING_H
HAVE_STRLEN
HAVE_STRNCASECMP
HAVE_STRNCMP
HAVE_STRRCHR
HAVE_STRSTR
HAVE_STRTOD
HAVE_STRTOL
HAVE_STRTOLL
HAVE_STRTOUL
HAVE_STRTOULL
HAVE_SYSCONF
HAVE_SYS_TYPES_H
HAVE_TAN
HAVE_TANF
HAVE_UNSETENV
HAVE_VSNPRINTF
HAVE_VSSCANF
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INT8_MAX
INT8_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
LITTLE_ENDIAN
L_ctermid
L_tmpnam
MATH_ERREXCEPT
MATH_ERRNO
M_1_PI
M_2_PI
M_2_SQRTPI
M_E
M_LN2
M_LN10
M_LOG10E
M_LOG2E
M_PI
M_PI_2
M_PI_4
M_SQRT2
M_SQRT1_2
OVERFLOW
PDP_ENDIAN
PLOSS
PRIX8
PRIX16
PRIX32
PRIX64
PRIXFAST8
PRIXFAST16
PRIXFAST32
PRIXFAST64
PRIXLEAST8
PRIXLEAST16
PRIXLEAST32
PRIXLEAST64
PRIXMAX
PRIXPTR
PRId8
PRId16
PRId32
PRId64
PRIdFAST8
PRIdFAST16
PRIdFAST32
PRIdFAST64
PRIdLEAST8
PRIdLEAST16
PRIdLEAST32
PRIdLEAST64
PRIdMAX
PRIdPTR
PRIi8
PRIi16
PRIi32
PRIi64
PRIiFAST8
PRIiFAST16
PRIiFAST32
PRIiFAST64
PRIiLEAST8
PRIiLEAST16
PRIiLEAST32
PRIiLEAST64
PRIiMAX
PRIiPTR
PRIo8
PRIo16
PRIo32
PRIo64
PRIoFAST8
PRIoFAST16
PRIoFAST32
PRIoFAST64
PRIoLEAST8
PRIoLEAST16
PRIoLEAST32
PRIoLEAST64
PRIoMAX
PRIoPTR
PRIu8
PRIu16
PRIu32
PRIu64
PRIuFAST8
PRIuFAST16
PRIuFAST32
PRIuFAST64
PRIuLEAST8
PRIuLEAST16
PRIuLEAST32
PRIuLEAST64
PRIuMAX
PRIuPTR
PRIx8
PRIx16
PRIx32
PRIx64
PRIxFAST8
PRIxFAST16
PRIxFAST32
PRIxFAST64
PRIxLEAST8
PRIxLEAST16
PRIxLEAST32
PRIxLEAST64
PRIxMAX
PRIxPTR
PTRDIFF_MAX
PTRDIFF_MIN
P_tmpdir
RAND_MAX
RW_SEEK_CUR
RW_SEEK_END
RW_SEEK_SET
SCNd8
SCNd16
SCNd32
SCNd64
SCNdFAST8
SCNdFAST16
SCNdFAST32
SCNdFAST64
SCNdLEAST8
SCNdLEAST16
SCNdLEAST32
SCNdLEAST64
SCNdMAX
SCNdPTR
SCNi8
SCNi16
SCNi32
SCNi64
SCNiFAST8
SCNiFAST16
SCNiFAST32
SCNiFAST64
SCNiLEAST8
SCNiLEAST16
SCNiLEAST32
SCNiLEAST64
SCNiMAX
SCNiPTR
SCNo8
SCNo16
SCNo32
SCNo64
SCNoFAST8
SCNoFAST16
SCNoFAST32
SCNoFAST64
SCNoLEAST8
SCNoLEAST16
SCNoLEAST32
SCNoLEAST64
SCNoMAX
SCNoPTR
SCNu8
SCNu16
SCNu32
SCNu64
SCNuFAST8
SCNuFAST16
SCNuFAST32
SCNuFAST64
SCNuLEAST8
SCNuLEAST16
SCNuLEAST32
SCNuLEAST64
SCNuMAX
SCNuPTR
SCNx8
SCNx16
SCNx32
SCNx64
SCNxFAST8
SCNxFAST16
SCNxFAST32
SCNxFAST64
SCNxLEAST8
SCNxLEAST16
SCNxLEAST32
SCNxLEAST64
SCNxMAX
SCNxPTR
SDLK_0
SDLK_1
SDLK_2
SDLK_3
SDLK_4
SDLK_5
SDLK_6
SDLK_7
SDLK_8
SDLK_9
SDLK_AC_BACK
SDLK_AC_BOOKMARKS
SDLK_AC_FORWARD
SDLK_AC_HOME
SDLK_AC_REFRESH
SDLK_AC_SEARCH
SDLK_AC_STOP
SDLK_AGAIN
SDLK_ALTERASE
SDLK_AMPERSAND
SDLK_APPLICATION
SDLK_ASTERISK
SDLK_AT
SDLK_AUDIOMUTE
SDLK_AUDIONEXT
SDLK_AUDIOPLAY
SDLK_AUDIOPREV
SDLK_AUDIOSTOP
SDLK_BACKQUOTE
SDLK_BACKSLASH
SDLK_BACKSPACE
SDLK_BRIGHTNESSDOWN
SDLK_BRIGHTNESSUP
SDLK_CALCULATOR
SDLK_CANCEL
SDLK_CAPSLOCK
SDLK_CARET
SDLK_CLEAR
SDLK_CLEARAGAIN
SDLK_COLON
SDLK_COMMA
SDLK_COMPUTER
SDLK_COPY
SDLK_CRSEL
SDLK_CURRENCYSUBUNIT
SDLK_CURRENCYUNIT
SDLK_CUT
SDLK_DECIMALSEPARATOR
SDLK_DELETE
SDLK_DISPLAYSWITCH
SDLK_DOLLAR
SDLK_DOWN
SDLK_EJECT
SDLK_END
SDLK_EQUALS
SDLK_ESCAPE
SDLK_EXCLAIM
SDLK_EXECUTE
SDLK_EXSEL
SDLK_F1
SDLK_F2
SDLK_F3
SDLK_F4
SDLK_F5
SDLK_F6
SDLK_F7
SDLK_F8
SDLK_F9
SDLK_F10
SDLK_F11
SDLK_F12
SDLK_F13
SDLK_F14
SDLK_F15
SDLK_F16
SDLK_F17
SDLK_F18
SDLK_F19
SDLK_F20
SDLK_F21
SDLK_F22
SDLK_F23
SDLK_F24
SDLK_FIND
SDLK_GREATER
SDLK_HASH
SDLK_HELP
SDLK_HOME
SDLK_INSERT
SDLK_KBDILLUMDOWN
SDLK_KBDILLUMTOGGLE
SDLK_KBDILLUMUP
SDLK_KP_0
SDLK_KP_00
SDLK_KP_000
SDLK_KP_1
SDLK_KP_2
SDLK_KP_3
SDLK_KP_4
SDLK_KP_5
SDLK_KP_6
SDLK_KP_7
SDLK_KP_8
SDLK_KP_9
SDLK_KP_A
SDLK_KP_AMPERSAND
SDLK_KP_AT
SDLK_KP_B
SDLK_KP_BACKSPACE
SDLK_KP_BINARY
SDLK_KP_C
SDLK_KP_CLEAR
SDLK_KP_CLEARENTRY
SDLK_KP_COLON
SDLK_KP_COMMA
SDLK_KP_D
SDLK_KP_DBLAMPERSAND
SDLK_KP_DBLVERTICALBAR
SDLK_KP_DECIMAL
SDLK_KP_DIVIDE
SDLK_KP_E
SDLK_KP_ENTER
SDLK_KP_EQUALS
SDLK_KP_EQUALSAS400
SDLK_KP_EXCLAM
SDLK_KP_F
SDLK_KP_GREATER
SDLK_KP_HASH
SDLK_KP_HEXADECIMAL
SDLK_KP_LEFTBRACE
SDLK_KP_LEFTPAREN
SDLK_KP_LESS
SDLK_KP_MEMADD
SDLK_KP_MEMCLEAR
SDLK_KP_MEMDIVIDE
SDLK_KP_MEMMULTIPLY
SDLK_KP_MEMRECALL
SDLK_KP_MEMSTORE
SDLK_KP_MEMSUBTRACT
SDLK_KP_MINUS
SDLK_KP_MULTIPLY
SDLK_KP_OCTAL
SDLK_KP_PERCENT
SDLK_KP_PERIOD
SDLK_KP_PLUS
SDLK_KP_PLUSMINUS
SDLK_KP_POWER
SDLK_KP_RIGHTBRACE
SDLK_KP_RIGHTPAREN
SDLK_KP_SPACE
SDLK_KP_TAB
SDLK_KP_VERTICALBAR
SDLK_KP_XOR
SDLK_LALT
SDLK_LCTRL
SDLK_LEFT
SDLK_LEFTBRACKET
SDLK_LEFTPAREN
SDLK_LESS
SDLK_LGUI
SDLK_LSHIFT
SDLK_MAIL
SDLK_MEDIASELECT
SDLK_MENU
SDLK_MINUS
SDLK_MODE
SDLK_MUTE
SDLK_NUMLOCKCLEAR
SDLK_OPER
SDLK_OUT
SDLK_PAGEDOWN
SDLK_PAGEUP
SDLK_PASTE
SDLK_PAUSE
SDLK_PERCENT
SDLK_PERIOD
SDLK_PLUS
SDLK_POWER
SDLK_PRINTSCREEN
SDLK_PRIOR
SDLK_QUESTION
SDLK_QUOTE
SDLK_QUOTEDBL
SDLK_RALT
SDLK_RCTRL
SDLK_RETURN
SDLK_RETURN2
SDLK_RGUI
SDLK_RIGHT
SDLK_RIGHTBRACKET
SDLK_RIGHTPAREN
SDLK_RSHIFT
SDLK_SCANCODE_MASK
SDLK_SCROLLLOCK
SDLK_SELECT
SDLK_SEMICOLON
SDLK_SEPARATOR
SDLK_SLASH
SDLK_SLEEP
SDLK_SPACE
SDLK_STOP
SDLK_SYSREQ
SDLK_TAB
SDLK_THOUSANDSSEPARATOR
SDLK_UNDERSCORE
SDLK_UNDO
SDLK_UNKNOWN
SDLK_UP
SDLK_VOLUMEDOWN
SDLK_VOLUMEUP
SDLK_WWW
SDLK_a
SDLK_b
SDLK_c
SDLK_d
SDLK_e
SDLK_f
SDLK_g
SDLK_h
SDLK_i
SDLK_j
SDLK_k
SDLK_l
SDLK_m
SDLK_n
SDLK_o
SDLK_p
SDLK_q
SDLK_r
SDLK_s
SDLK_t
SDLK_u
SDLK_v
SDLK_w
SDLK_x
SDLK_y
SDLK_z
SDL_ALPHA_OPAQUE
SDL_ALPHA_TRANSPARENT
SDL_ARRAYORDER_ABGR
SDL_ARRAYORDER_ARGB
SDL_ARRAYORDER_BGR
SDL_ARRAYORDER_BGRA
SDL_ARRAYORDER_NONE
SDL_ARRAYORDER_RGB
SDL_ARRAYORDER_RGBA
SDL_ASSEMBLY_ROUTINES
SDL_ASSERT_LEVEL
SDL_AUDIO_ALLOW_ANY_CHANGE
SDL_AUDIO_ALLOW_CHANNELS_CHANGE
SDL_AUDIO_ALLOW_FORMAT_CHANGE
SDL_AUDIO_ALLOW_FREQUENCY_CHANGE
SDL_AUDIO_DRIVER_ALSA
SDL_AUDIO_DRIVER_DISK
SDL_AUDIO_DRIVER_DUMMY
SDL_AUDIO_DRIVER_OSS
SDL_AUDIO_DRIVER_PULSEAUDIO
SDL_AUDIO_DRIVER_SNDIO
SDL_AUDIO_MASK_BITSIZE
SDL_AUDIO_MASK_DATATYPE
SDL_AUDIO_MASK_ENDIAN
SDL_AUDIO_MASK_SIGNED
SDL_BIG_ENDIAN
SDL_BITMAPORDER_1234
SDL_BITMAPORDER_4321
SDL_BITMAPORDER_NONE
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_UNIX
SDL_HAPTIC_AUTOCENTER
SDL_HAPTIC_CARTESIAN
SDL_HAPTIC_CONSTANT
SDL_HAPTIC_CUSTOM
SDL_HAPTIC_DAMPER
SDL_HAPTIC_FRICTION
SDL_HAPTIC_GAIN
SDL_HAPTIC_INERTIA
SDL_HAPTIC_INFINITY
SDL_HAPTIC_LEFTRIGHT
SDL_HAPTIC_LINUX
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_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_HINT_ACCELEROMETER_AS_JOYSTICK
SDL_HINT_ALLOW_TOPMOST
SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION
SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION
SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH
SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS
SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION
SDL_HINT_BMP_SAVE_LEGACY_FORMAT
SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT
SDL_HINT_FRAMEBUFFER_ACCELERATION
SDL_HINT_GAMECONTROLLERCONFIG
SDL_HINT_GRAB_KEYBOARD
SDL_HINT_IDLE_TIMER_DISABLED
SDL_HINT_IME_INTERNAL_EDITING
SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
SDL_HINT_MAC_BACKGROUND_APP
SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK
SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH
SDL_HINT_MOUSE_RELATIVE_MODE_WARP
SDL_HINT_NO_SIGNAL_HANDLERS
SDL_HINT_ORIENTATIONS
SDL_HINT_RENDER_DIRECT3D11_DEBUG
SDL_HINT_RENDER_DIRECT3D_THREADSAFE
SDL_HINT_RENDER_DRIVER
SDL_HINT_RENDER_OPENGL_SHADERS
SDL_HINT_RENDER_SCALE_QUALITY
SDL_HINT_RENDER_VSYNC
SDL_HINT_RPI_VIDEO_LAYER
SDL_HINT_THREAD_STACK_SIZE
SDL_HINT_TIMER_RESOLUTION
SDL_HINT_VIDEO_ALLOW_SCREENSAVER
SDL_HINT_VIDEO_HIGHDPI_DISABLED
SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES
SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS
SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT
SDL_HINT_VIDEO_WIN_D3DCOMPILER
SDL_HINT_VIDEO_X11_NET_WM_PING
SDL_HINT_VIDEO_X11_XINERAMA
SDL_HINT_VIDEO_X11_XRANDR
SDL_HINT_VIDEO_X11_XVIDMODE
SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING
SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP
SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4
SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN
SDL_HINT_WINRT_HANDLE_BACK_BUTTON
SDL_HINT_WINRT_PRIVACY_POLICY_LABEL
SDL_HINT_WINRT_PRIVACY_POLICY_URL
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_TIMER
SDL_INIT_VIDEO
SDL_INPUT_LINUXEV
SDL_INPUT_LINUXKD
SDL_JOYSTICK_LINUX
SDL_LIL_ENDIAN
SDL_LOADSO_DISABLED
SDL_LOADSO_DLOPEN
SDL_LOG_CATEGORY_APPLICATION
SDL_LOG_CATEGORY_ASSERT
SDL_LOG_CATEGORY_AUDIO
SDL_LOG_CATEGORY_CUSTOM
SDL_LOG_CATEGORY_ERROR
SDL_LOG_CATEGORY_INPUT
SDL_LOG_CATEGORY_RENDER
SDL_LOG_CATEGORY_RESERVED1
SDL_LOG_CATEGORY_RESERVED2
SDL_LOG_CATEGORY_RESERVED3
SDL_LOG_CATEGORY_RESERVED4
SDL_LOG_CATEGORY_RESERVED5
SDL_LOG_CATEGORY_RESERVED6
SDL_LOG_CATEGORY_RESERVED7
SDL_LOG_CATEGORY_RESERVED8
SDL_LOG_CATEGORY_RESERVED9
SDL_LOG_CATEGORY_RESERVED10
SDL_LOG_CATEGORY_SYSTEM
SDL_LOG_CATEGORY_TEST
SDL_LOG_CATEGORY_VIDEO
SDL_MAJOR_VERSION
SDL_MAX_LOG_MESSAGE
SDL_MINOR_VERSION
SDL_MIX_MAXVOLUME
SDL_MUTEX_TIMEDOUT
SDL_NULL_WHILE_LOOP_CONDITION
SDL_PACKEDLAYOUT_332
SDL_PACKEDLAYOUT_565
SDL_PACKEDLAYOUT_1555
SDL_PACKEDLAYOUT_4444
SDL_PACKEDLAYOUT_5551
SDL_PACKEDLAYOUT_8888
SDL_PACKEDLAYOUT_1010102
SDL_PACKEDLAYOUT_2101010
SDL_PACKEDLAYOUT_NONE
SDL_PACKEDORDER_ABGR
SDL_PACKEDORDER_ARGB
SDL_PACKEDORDER_BGRA
SDL_PACKEDORDER_BGRX
SDL_PACKEDORDER_NONE
SDL_PACKEDORDER_RGBA
SDL_PACKEDORDER_RGBX
SDL_PACKEDORDER_XBGR
SDL_PACKEDORDER_XRGB
SDL_PATCHLEVEL
SDL_PIXELFORMAT_ABGR32
SDL_PIXELFORMAT_ABGR1555
SDL_PIXELFORMAT_ABGR4444
SDL_PIXELFORMAT_ABGR8888
SDL_PIXELFORMAT_ARGB32
SDL_PIXELFORMAT_ARGB1555
SDL_PIXELFORMAT_ARGB4444
SDL_PIXELFORMAT_ARGB8888
SDL_PIXELFORMAT_ARGB2101010
SDL_PIXELFORMAT_BGR24
SDL_PIXELFORMAT_BGR555
SDL_PIXELFORMAT_BGR565
SDL_PIXELFORMAT_BGR888
SDL_PIXELFORMAT_BGRA32
SDL_PIXELFORMAT_BGRA4444
SDL_PIXELFORMAT_BGRA5551
SDL_PIXELFORMAT_BGRA8888
SDL_PIXELFORMAT_BGRX8888
SDL_PIXELFORMAT_INDEX8
SDL_PIXELFORMAT_INDEX1LSB
SDL_PIXELFORMAT_INDEX1MSB
SDL_PIXELFORMAT_INDEX4LSB
SDL_PIXELFORMAT_INDEX4MSB
SDL_PIXELFORMAT_IYUV
SDL_PIXELFORMAT_NV12
SDL_PIXELFORMAT_NV21
SDL_PIXELFORMAT_RGB24
SDL_PIXELFORMAT_RGB332
SDL_PIXELFORMAT_RGB444
SDL_PIXELFORMAT_RGB555
SDL_PIXELFORMAT_RGB565
SDL_PIXELFORMAT_RGB888
SDL_PIXELFORMAT_RGBA32
SDL_PIXELFORMAT_RGBA4444
SDL_PIXELFORMAT_RGBA5551
SDL_PIXELFORMAT_RGBA8888
SDL_PIXELFORMAT_RGBX8888
SDL_PIXELFORMAT_UNKNOWN
SDL_PIXELFORMAT_UYVY
SDL_PIXELFORMAT_YUY2
SDL_PIXELFORMAT_YV12
SDL_PIXELFORMAT_YVYU
SDL_PIXELTYPE_ARRAYF16
SDL_PIXELTYPE_ARRAYF32
SDL_PIXELTYPE_ARRAYU8
SDL_PIXELTYPE_ARRAYU16
SDL_PIXELTYPE_ARRAYU32
SDL_PIXELTYPE_INDEX1
SDL_PIXELTYPE_INDEX4
SDL_PIXELTYPE_INDEX8
SDL_PIXELTYPE_PACKED8
SDL_PIXELTYPE_PACKED16
SDL_PIXELTYPE_PACKED32
SDL_PIXELTYPE_UNKNOWN
SDL_POWER_LINUX
SDL_PREALLOC
SDL_PRESSED
SDL_PRIX64
SDL_PRIs64
SDL_PRIu64
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_SWSURFACE
SDL_TEXTEDITINGEVENT_TEXT_SIZE
SDL_TEXTINPUTEVENT_TEXT_SIZE
SDL_THREAD_PTHREAD
SDL_THREAD_PTHREAD_RECURSIVE_MUTEX
SDL_TIMER_UNIX
SDL_USE_IME
SDL_VIDEO_DRIVER_DUMMY
SDL_VIDEO_DRIVER_WAYLAND
SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
SDL_VIDEO_DRIVER_X11
SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY
SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
SDL_VIDEO_DRIVER_X11_XCURSOR
SDL_VIDEO_DRIVER_X11_XDBE
SDL_VIDEO_DRIVER_X11_XINERAMA
SDL_VIDEO_DRIVER_X11_XINPUT2
SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
SDL_VIDEO_DRIVER_X11_XRANDR
SDL_VIDEO_DRIVER_X11_XSCRNSAVER
SDL_VIDEO_DRIVER_X11_XSHAPE
SDL_VIDEO_DRIVER_X11_XVIDMODE
SDL_VIDEO_OPENGL
SDL_VIDEO_OPENGL_EGL
SDL_VIDEO_OPENGL_ES2
SDL_VIDEO_OPENGL_GLX
SDL_VIDEO_RENDER_OGL
SDL_VIDEO_RENDER_OGL_ES2
SDL_WINDOWPOS_CENTERED_MASK
SDL_WINDOWPOS_UNDEFINED_MASK
SEEK_CUR
SEEK_END
SEEK_SET
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SING
SIZEOF_VOIDP
SIZE_MAX
STDC_HEADERS
TLOSS
TMP_MAX
UINT16_MAX
UINT32_MAX
UINT8_MAX
UINTPTR_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_FAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
UINT_LEAST8_MAX
UNDERFLOW
WCONTINUED
WEXITED
WINT_MAX
WINT_MIN
WNOHANG
WNOWAIT
WSTOPPED
WUNTRACED
_ALLOCA_H
_ATFILE_SOURCE
_BITS_BYTESWAP_H
_BITS_LIBM_SIMD_DECL_STUBS_H
_BITS_PTHREADTYPES_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_WCHAR_H
_CTYPE_H
_DEFAULT_SOURCE
_ENDIAN_H
_FEATURES_H
_G_BUFSIZ
_G_HAVE_MMAP
_G_HAVE_MREMAP
_G_IO_IO_FILE_VERSION
_G_config_h
_INTTYPES_H
_IOFBF
_IOLBF
_IONBF
_IOS_APPEND
_IOS_ATEND
_IOS_BIN
_IOS_INPUT
_IOS_NOCREATE
_IOS_NOREPLACE
_IOS_OUTPUT
_IOS_TRUNC
_IO_BAD_SEEN
_IO_BOOLALPHA
_IO_BUFSIZ
_IO_CURRENTLY_PUTTING
_IO_DEC
_IO_DELETE_DONT_CLOSE
_IO_DONT_CLOSE
_IO_EOF_SEEN
_IO_ERR_SEEN
_IO_FIXED
_IO_FLAGS2_MMAP
_IO_FLAGS2_NOTCANCEL
_IO_FLAGS2_USER_WBUF
_IO_HEX
_IO_INTERNAL
_IO_IN_BACKUP
_IO_IS_APPENDING
_IO_IS_FILEBUF
_IO_LEFT
_IO_LINE_BUF
_IO_LINKED
_IO_MAGIC
_IO_MAGIC_MASK
_IO_NO_READS
_IO_NO_WRITES
_IO_OCT
_IO_RIGHT
_IO_SCIENTIFIC
_IO_SHOWBASE
_IO_SHOWPOINT
_IO_SHOWPOS
_IO_SKIPWS
_IO_STDIO
_IO_TIED_PUT_GET
_IO_UNBUFFERED
_IO_UNIFIED_JUMPTABLES
_IO_UNITBUF
_IO_UPPERCASE
_IO_USER_BUF
_IO_USER_LOCK
_ISalnum
_ISalpha
_ISblank
_IScntrl
_ISdigit
_ISgraph
_ISlower
_ISprint
_ISpunct
_ISspace
_ISupper
_ISxdigit
_MATH_H
_MATH_H_MATHDEF
_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_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
_OLD_STDIO_MAGIC
_POSIX_C_SOURCE
_POSIX_SOURCE
_SIGSET_H_types
_STDC_PREDEF_H
_STDINT_H
_STDIO_H
_STDLIB_H
_STRINGS_H
_STRING_H
_STRUCT_TIMEVAL
_SYS_CDEFS_H
_SYS_SELECT_H
_SYS_SYSMACROS_H
_SYS_TYPES_H
_XLOCALE_H
__BIG_ENDIAN
__BIT_TYPES_DEFINED__
__BYTE_ORDER
__ENUM_IDTYPE_T
__FD_SETSIZE
__FD_ZERO_STOS
__FILE_defined
__FLOAT_WORD_ORDER
__GLIBC_MINOR__
__GLIBC__
__GNUC_VA_LIST
__GNU_LIBRARY__
__INO_T_MATCHES_INO64_T
__LINUX__
__LITTLE_ENDIAN
__MATH_DECLARE_LDOUBLE
__MATH_DECLARING_DOUBLE
__OFF_T_MATCHES_OFF64_T
__PDP_ENDIAN
__PRI64_PREFIX
__PRIPTR_PREFIX
__PTHREAD_MUTEX_HAVE_PREV
__PTHREAD_RWLOCK_INT_FLAGS_SHARED
__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
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_ISO_10646__
__STDC_NO_THREADS__
__SYSCALL_WORDSIZE
__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
____FILE_defined
____gwchar_t_defined
____mbstate_t_defined
__clock_t_defined
__clockid_t_defined
__have_pthread_attr_t
__ldiv_t_defined
__lldiv_t_defined
__time_t_defined
__timer_t_defined
__timespec_defined
math_errhandling

Statics

_IO_2_1_stderr_
_IO_2_1_stdin_
_IO_2_1_stdout_
_LIB_VERSION
signgam
stderr
stdin
stdout
sys_errlist
sys_nerr

Functions

SDL_AddEventWatch

Add a function which is called when an event is added to the queue.

SDL_AddHintCallback
SDL_AddTimer

\brief Add a new timer to the pool of timers already running.

SDL_AllocFormat

\brief Create an SDL_PixelFormat structure from a pixel format enum.

SDL_AllocPalette

\brief Create a palette structure with the specified number of color entries.

SDL_AllocRW
SDL_AtomicAdd

\brief Add to an atomic variable.

SDL_AtomicCAS

\brief Set an atomic variable to a new value if it is currently an old value.

SDL_AtomicCASPtr

\brief Set a pointer to a new value if it is currently an old value.

SDL_AtomicGet

\brief Get the value of an atomic variable

SDL_AtomicGetPtr

\brief Get the value of a pointer atomically.

SDL_AtomicLock

\brief Lock a spin lock by setting it to a non-zero value.

SDL_AtomicSet

\brief Set an atomic variable to a value.

SDL_AtomicSetPtr

\brief Set a pointer to a value atomically.

SDL_AtomicTryLock

\brief Try to lock a spin lock by setting it to a non-zero value.

SDL_AtomicUnlock

\brief Unlock a spin lock by setting it to 0. Always returns immediately

SDL_AudioInit
SDL_AudioQuit
SDL_BuildAudioCVT

This function takes a source format and rate and a destination format and rate, and initializes the \c cvt structure with information needed by SDL_ConvertAudio() to convert a buffer of audio data from one format to the other.

SDL_CalculateGammaRamp

\brief Calculate a 256 entry gamma ramp for a gamma value.

SDL_CaptureMouse

\brief Capture the mouse, to track input outside an SDL window.

SDL_ClearError
SDL_ClearHints

\brief Clear all hints

SDL_ClearQueuedAudio

Drop any queued audio data. For playback devices, this is any queued data still waiting to be submitted to the hardware. For capture devices, this is any data that was queued by the device that hasn't yet been dequeued by the application.

SDL_CloseAudio

This function shuts down audio processing and closes the audio device.

SDL_CloseAudioDevice
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 on the condition variable, unlocking the provided mutex.

SDL_CondWaitTimeout

Waits for at most \c ms milliseconds, and returns 0 if the condition variable is signaled, ::SDL_MUTEX_TIMEDOUT if the condition is not signaled in the allotted time, and -1 on error.

SDL_ConvertAudio

Once you have initialized the \c cvt structure using SDL_BuildAudioCVT(), created an audio buffer \c cvt->buf, and filled it with \c cvt->len bytes of audio data in the source format, this function will convert it in-place to the desired format.

SDL_ConvertPixels

\brief Copy a block of pixels of one format to another format

SDL_ConvertSurface

Creates a new surface of the specified format, and then copies and maps the given surface to it so the blit of the converted surface will be as fast as possible. If this function fails, it returns NULL.

SDL_ConvertSurfaceFormat
SDL_CreateColorCursor

\brief Create a color cursor.

SDL_CreateCond

Create a condition variable.

SDL_CreateCursor

\brief Create a cursor, using the specified bitmap data and mask (in MSB format).

SDL_CreateMutex

Create a mutex, initialized unlocked.

SDL_CreateRGBSurface

Allocate and free an RGB surface.

SDL_CreateRGBSurfaceFrom
SDL_CreateRGBSurfaceWithFormat
SDL_CreateRGBSurfaceWithFormatFrom
SDL_CreateRenderer

\brief Create a 2D rendering context for a window.

SDL_CreateSemaphore

Create a semaphore, initialized with value, returns NULL on failure.

SDL_CreateSoftwareRenderer

\brief Create a 2D software rendering context for a surface.

SDL_CreateSystemCursor

\brief Create a system cursor.

SDL_CreateTexture

\brief Create a texture for a rendering context.

SDL_CreateTextureFromSurface

\brief Create a texture from an existing surface.

SDL_CreateThread

Create a thread.

SDL_CreateWindow

\brief Create a window with the specified position, dimensions, and flags.

SDL_CreateWindowAndRenderer

\brief Create a window and default renderer

SDL_CreateWindowFrom

\brief Create an SDL window from an existing native window.

SDL_DelEventWatch

Remove an event watch function added with SDL_AddEventWatch()

SDL_DelHintCallback

\brief Remove a function watching a particular hint

SDL_Delay

\brief 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.

SDL_DestroyRenderer

\brief Destroy the rendering context for a window and free associated textures.

SDL_DestroySemaphore

Destroy a semaphore.

SDL_DestroyTexture

\brief Destroy the specified texture.

SDL_DestroyWindow

\brief Destroy a window.

SDL_DetachThread

A thread may be "detached" to signify that it should not remain until another thread has called SDL_WaitThread() on it. Detaching a thread is useful for long-running threads that nothing needs to synchronize with or further manage. When a detached thread is done, it simply goes away.

SDL_DisableScreenSaver

\brief Prevent the screen from being blanked by a screensaver

SDL_EnableScreenSaver

\brief Allow the screen to be blanked by a screensaver

SDL_EnclosePoints

\brief Calculate a minimal rectangle enclosing a set of points

SDL_Error
SDL_EventState

This function allows you to set the state of processing certain events. - If \c state is set to ::SDL_IGNORE, that event will be automatically dropped from the event queue and will not event be filtered. - If \c state is set to ::SDL_ENABLE, that event will be processed normally. - If \c state is set to ::SDL_QUERY, SDL_EventState() will return the current processing state of the specified event.

SDL_FillRect

Performs a fast fill of the given rectangle with \c color.

SDL_FillRects
SDL_FilterEvents

Run the filter function on the current event queue, removing any events for which the filter returns 0.

SDL_FlushEvent

This function clears events from the event queue This function only affects currently queued events. If you want to make sure that all pending OS events are flushed, you can call SDL_PumpEvents() on the main thread immediately before the flush call.

SDL_FlushEvents
SDL_FreeCursor

\brief Frees a cursor created with SDL_CreateCursor() or similar functions.

SDL_FreeFormat

\brief Free an SDL_PixelFormat structure.

SDL_FreePalette

\brief Free a palette created with SDL_AllocPalette().

SDL_FreeRW
SDL_FreeSurface
SDL_FreeWAV

This function frees data previously allocated with SDL_LoadWAV_RW()

SDL_GL_BindTexture

\brief Bind the texture to the current OpenGL/ES/ES2 context for use with OpenGL instructions.

SDL_GL_CreateContext

\brief Create an OpenGL context for use with an OpenGL window, and make it current.

SDL_GL_DeleteContext

\brief Delete an OpenGL context.

SDL_GL_ExtensionSupported

\brief Return true if an OpenGL extension is supported for the current context.

SDL_GL_GetAttribute

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

SDL_GL_GetCurrentContext

\brief Get the currently active OpenGL context.

SDL_GL_GetCurrentWindow

\brief Get the currently active OpenGL window.

SDL_GL_GetDrawableSize

\brief Get the size of a window's underlying drawable in pixels (for use with glViewport).

SDL_GL_GetProcAddress

\brief Get the address of an OpenGL function.

SDL_GL_GetSwapInterval

\brief Get the swap interval for the current OpenGL context.

SDL_GL_LoadLibrary

\brief Dynamically load an OpenGL library.

SDL_GL_MakeCurrent

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

SDL_GL_ResetAttributes

\brief Reset all previously set OpenGL context attributes to their default values

SDL_GL_SetAttribute

\brief Set an OpenGL window attribute before window creation.

SDL_GL_SetSwapInterval

\brief Set the swap interval for the current OpenGL context.

SDL_GL_SwapWindow

\brief Swap the OpenGL buffers for a window, if double-buffering is supported.

SDL_GL_UnbindTexture

\brief Unbind a texture from the current OpenGL/ES/ES2 context.

SDL_GL_UnloadLibrary

\brief Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().

SDL_GameControllerAddMapping

Add or update an existing mapping configuration

SDL_GameControllerAddMappingsFromRW

Load a set of mappings from a seekable SDL data stream (memory or file), filtered by the current SDL_GetPlatform() A community sourced database of controllers is available at https://raw.github.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt

SDL_GameControllerClose

Close a controller previously opened with SDL_GameControllerOpen().

SDL_GameControllerEventState

Enable/disable controller event polling.

SDL_GameControllerFromInstanceID

Return the SDL_GameController associated with an instance id.

SDL_GameControllerGetAttached

Returns SDL_TRUE if the controller has been opened and currently connected, or SDL_FALSE if it has not.

SDL_GameControllerGetAxis

Get the current state of an axis control on a game controller.

SDL_GameControllerGetAxisFromString

turn this string into a axis mapping

SDL_GameControllerGetBindForAxis

Get the SDL joystick layer binding for this controller button mapping

SDL_GameControllerGetBindForButton

Get the SDL joystick layer binding for this controller button mapping

SDL_GameControllerGetButton

Get the current state of a button on a game controller.

SDL_GameControllerGetButtonFromString

turn this string into a button mapping

SDL_GameControllerGetJoystick

Get the underlying joystick object used by a controller

SDL_GameControllerGetStringForAxis

turn this axis enum into a string mapping

SDL_GameControllerGetStringForButton

turn this button enum into a string mapping

SDL_GameControllerMapping

Get a mapping string for an open GameController

SDL_GameControllerMappingForGUID

Get a mapping string for a GUID

SDL_GameControllerName

Return the name for this currently opened controller

SDL_GameControllerNameForIndex

Get the implementation dependent name of a game controller. This can be called before any controllers are opened. If no name can be found, this function returns NULL.

SDL_GameControllerOpen

Open a game controller for use. The index passed as an argument refers to the N'th game controller on the system. This index is not the value which will identify this controller in future controller events. The joystick's instance id (::SDL_JoystickID) will be used there instead.

SDL_GameControllerUpdate

Update the current state of the open game controllers.

SDL_GetAssertionHandler

\brief Get the current assertion handler.

SDL_GetAssertionReport

\brief Get a list of all assertion failures.

SDL_GetAudioDeviceName

Get the human-readable name of a specific audio device. Must be a value between 0 and (number of audio devices-1). Only valid after a successfully initializing the audio subsystem. The values returned by this function reflect the latest call to SDL_GetNumAudioDevices(); recall that function to redetect available hardware.

SDL_GetAudioDeviceStatus
SDL_GetAudioDriver
SDL_GetAudioStatus
SDL_GetBasePath

\brief Get the path where the application resides.

SDL_GetCPUCacheLineSize

This function returns the L1 cache line size of the CPU

SDL_GetCPUCount

This function returns the number of CPU cores available.

SDL_GetClipRect

Gets the clipping rectangle for the destination surface in a blit.

SDL_GetClipboardText

\brief Get UTF-8 text from the clipboard, which must be freed with SDL_free()

SDL_GetClosestDisplayMode

\brief Get the closest match to the requested display mode.

SDL_GetColorKey

\brief Gets the color key (transparent pixel) in a blittable surface.

SDL_GetCurrentAudioDriver

This function returns the name of the current audio driver, or NULL if no driver has been initialized.

SDL_GetCurrentDisplayMode

\brief Fill in information about the current display mode.

SDL_GetCurrentVideoDriver

\brief Returns the name of the currently initialized video driver.

SDL_GetCursor

\brief Return the active cursor.

SDL_GetDefaultAssertionHandler

\brief Get the default assertion handler.

SDL_GetDefaultCursor

\brief Return the default cursor.

SDL_GetDesktopDisplayMode

\brief Fill in information about the desktop display mode.

SDL_GetDisplayBounds

\brief Get the desktop area represented by a display, with the primary display located at 0,0

SDL_GetDisplayDPI

\brief Get the dots/pixels-per-inch for a display

SDL_GetDisplayMode

\brief Fill in information about a specific display mode.

SDL_GetDisplayName

\brief Get the name of a display in UTF-8 encoding

SDL_GetDisplayUsableBounds

\brief Get the usable desktop area represented by a display, with the primary display located at 0,0

SDL_GetError
SDL_GetEventFilter

Return the current event filter - can be used to "chain" filters. If there is no event filter set, this function returns SDL_FALSE.

SDL_GetGlobalMouseState

\brief Get the current state of the mouse, in relation to the desktop

SDL_GetGrabbedWindow

\brief Get the window that currently has an input grab enabled.

SDL_GetHint

\brief Get a hint

SDL_GetHintBoolean

\brief Get a hint

SDL_GetKeyFromName

\brief Get a key code from a human-readable name

SDL_GetKeyFromScancode

\brief Get the key code corresponding to the given scancode according to the current keyboard layout.

SDL_GetKeyName

\brief Get a human-readable name for a key.

SDL_GetKeyboardFocus

\brief Get the window which currently has keyboard focus.

SDL_GetKeyboardState

\brief Get a snapshot of the current state of the keyboard.

SDL_GetModState

\brief Get the current key modifier state for the keyboard.

SDL_GetMouseFocus

\brief Get the window which currently has mouse focus.

SDL_GetMouseState

\brief Retrieve the current state of the mouse.

SDL_GetNumAudioDevices

Get the number of available devices exposed by the current driver. Only valid after a successfully initializing the audio subsystem. Returns -1 if an explicit list of devices can't be determined; this is not an error. For example, if SDL is set up to talk to a remote audio server, it can't list every one available on the Internet, but it will still allow a specific host to be specified to SDL_OpenAudioDevice().

SDL_GetNumAudioDrivers
SDL_GetNumDisplayModes

\brief Returns the number of available display modes.

SDL_GetNumRenderDrivers

\brief Get the number of 2D rendering drivers available for the current display.

SDL_GetNumTouchDevices

\brief Get the number of registered touch devices.

SDL_GetNumTouchFingers

\brief Get the number of active fingers for a given touch device.

SDL_GetNumVideoDisplays

\brief Returns the number of available video displays.

SDL_GetNumVideoDrivers

\brief Get the number of video drivers compiled into SDL

SDL_GetPerformanceCounter

\brief Get the current value of the high resolution counter

SDL_GetPerformanceFrequency

\brief Get the count per second of the high resolution counter

SDL_GetPixelFormatName

\brief Get the human readable name of a pixel format

SDL_GetPlatform

\brief Gets the name of the platform.

SDL_GetPowerInfo

\brief Get the current power supply details.

SDL_GetPrefPath

\brief Get the user-and-app-specific path where files can be written.

SDL_GetQueuedAudioSize

Get the number of bytes of still-queued audio.

SDL_GetRGB

\brief Get the RGB components from a pixel of the specified format.

SDL_GetRGBA

\brief Get the RGBA components from a pixel of the specified format.

SDL_GetRelativeMouseMode

\brief Query whether relative mouse mode is enabled.

SDL_GetRelativeMouseState

\brief Retrieve the relative state of the mouse.

SDL_GetRenderDrawBlendMode

\brief Get the blend mode used for drawing operations.

SDL_GetRenderDrawColor

\brief Get the color used for drawing operations (Rect, Line and Clear).

SDL_GetRenderDriverInfo

\brief Get information about a specific 2D rendering driver for the current display.

SDL_GetRenderTarget

\brief Get the current render target or NULL for the default render target.

SDL_GetRenderer

\brief Get the renderer associated with a window.

SDL_GetRendererInfo

\brief Get information about a rendering context.

SDL_GetRendererOutputSize

\brief Get the output size in pixels of a rendering context.

SDL_GetRevision

\brief Get the code revision of SDL that is linked against your program.

SDL_GetRevisionNumber

\brief Get the revision number of SDL that is linked against your program.

SDL_GetScancodeFromKey

\brief Get the scancode corresponding to the given key code according to the current keyboard layout.

SDL_GetScancodeFromName

\brief Get a scancode from a human-readable name

SDL_GetScancodeName

\brief Get a human-readable name for a scancode.

SDL_GetSurfaceAlphaMod

\brief Get the additional alpha value used in blit operations.

SDL_GetSurfaceBlendMode

\brief Get the blend mode used for blit operations.

SDL_GetSurfaceColorMod

\brief Get the additional color value used in blit operations.

SDL_GetSystemRAM

This function returns the amount of RAM configured in the system, in MB.

SDL_GetTextureAlphaMod

\brief Get the additional alpha value used in render copy operations.

SDL_GetTextureBlendMode

\brief Get the blend mode used for texture copy operations.

SDL_GetTextureColorMod

\brief Get the additional color value used in render copy operations.

SDL_GetThreadID

Get the thread identifier for the specified thread.

SDL_GetThreadName

Get the thread name, as it was specified in SDL_CreateThread(). This function returns a pointer to a UTF-8 string that names the specified thread, or NULL if it doesn't have a name. This is internal memory, not to be free()'d by the caller, and remains valid until the specified thread is cleaned up by SDL_WaitThread().

SDL_GetTicks

\brief Get the number of milliseconds since the SDL library initialization.

SDL_GetTouchDevice

\brief Get the touch ID with the given index, or 0 if the index is invalid.

SDL_GetTouchFinger

\brief Get the finger object of the given touch, with the given index.

SDL_GetVersion

\brief Get the version of SDL that is linked against your program.

SDL_GetVideoDriver

\brief Get the name of a built in video driver.

SDL_GetWindowBordersSize

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

SDL_GetWindowBrightness

\brief Get the brightness (gamma correction) for a window.

SDL_GetWindowData

\brief Retrieve the data pointer associated with a window.

SDL_GetWindowDisplayIndex

\brief Get the display index associated with a window.

SDL_GetWindowDisplayMode

\brief Fill in information about the display mode used when a fullscreen window is visible.

SDL_GetWindowFlags

\brief Get the window flags.

SDL_GetWindowFromID

\brief Get a window from a stored ID, or NULL if it doesn't exist.

SDL_GetWindowGammaRamp

\brief Get the gamma ramp for a window.

SDL_GetWindowGrab

\brief Get a window's input grab mode.

SDL_GetWindowID

\brief Get the numeric ID of a window, for logging purposes.

SDL_GetWindowMaximumSize

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

SDL_GetWindowMinimumSize

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

SDL_GetWindowOpacity

\brief Get the opacity of a window.

SDL_GetWindowPixelFormat

\brief Get the pixel format associated with the window.

SDL_GetWindowPosition

\brief Get the position of a window.

SDL_GetWindowSize

\brief Get the size of a window's client area.

SDL_GetWindowSurface

\brief Get the SDL surface associated with the window.

SDL_GetWindowTitle

\brief Get the title of a window, in UTF-8 format.

SDL_HapticClose

\brief Closes a Haptic device previously opened with SDL_HapticOpen().

SDL_HapticDestroyEffect

\brief Destroys a haptic effect on the device.

SDL_HapticEffectSupported

\brief Checks to see if effect is supported by haptic.

SDL_HapticGetEffectStatus

\brief Gets the status of the current effect on the haptic device.

SDL_HapticIndex

\brief Gets the index of a haptic device.

SDL_HapticName

\brief Get the implementation dependent name of a Haptic device.

SDL_HapticNewEffect

\brief Creates a new haptic effect on the device.

SDL_HapticNumAxes

\brief Gets the number of haptic axes the device has.

SDL_HapticNumEffects

\brief Returns the number of effects a haptic device can store.

SDL_HapticNumEffectsPlaying

\brief Returns the number of effects a haptic device can play at the same time.

SDL_HapticOpen

\brief Opens a Haptic device for usage.

SDL_HapticOpenFromJoystick

\brief Opens a Haptic device for usage from a Joystick device.

SDL_HapticOpenFromMouse

\brief Tries to open a haptic device from the current mouse.

SDL_HapticOpened

\brief Checks if the haptic device at index has been opened.

SDL_HapticPause

\brief Pauses a haptic device.

SDL_HapticQuery

\brief Gets the haptic device's supported features in bitwise manner.

SDL_HapticRumbleInit

\brief Initializes the haptic device for simple rumble playback.

SDL_HapticRumblePlay

\brief Runs simple rumble on a haptic device

SDL_HapticRumbleStop

\brief Stops the simple rumble on a haptic device.

SDL_HapticRumbleSupported

\brief Checks to see if rumble is supported on a haptic device.

SDL_HapticRunEffect

\brief Runs the haptic effect on its associated haptic device.

SDL_HapticSetAutocenter

\brief Sets the global autocenter of the device.

SDL_HapticSetGain

\brief Sets the global gain of the device.

SDL_HapticStopAll

\brief Stops all the currently playing effects on a haptic device.

SDL_HapticStopEffect

\brief Stops the haptic effect on its associated haptic device.

SDL_HapticUnpause

\brief Unpauses a haptic device.

SDL_HapticUpdateEffect

\brief Updates the properties of an effect.

SDL_Has3DNow

This function returns true if the CPU has 3DNow! features.

SDL_HasAVX

This function returns true if the CPU has AVX features.

SDL_HasAVX2

This function returns true if the CPU has AVX2 features.

SDL_HasAltiVec

This function returns true if the CPU has AltiVec features.

SDL_HasClipboardText

\brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty

SDL_HasEvent

Checks to see if certain event types are in the event queue.

SDL_HasEvents
SDL_HasIntersection

\brief Determine whether two rectangles intersect.

SDL_HasMMX

This function returns true if the CPU has MMX features.

SDL_HasRDTSC

This function returns true if the CPU has the RDTSC instruction.

SDL_HasSSE

This function returns true if the CPU has SSE features.

SDL_HasSSE2

This function returns true if the CPU has SSE2 features.

SDL_HasSSE3

This function returns true if the CPU has SSE3 features.

SDL_HasSSE41

This function returns true if the CPU has SSE4.1 features.

SDL_HasSSE42

This function returns true if the CPU has SSE4.2 features.

SDL_HasScreenKeyboardSupport

\brief Returns whether the platform has some screen keyboard support.

SDL_HideWindow

\brief Hide a window.

SDL_Init

This function initializes the subsystems specified by \c flags

SDL_InitSubSystem

This function initializes specific SDL subsystems

SDL_IntersectRect

\brief Calculate the intersection of two rectangles.

SDL_IntersectRectAndLine

\brief Calculate the intersection of a rectangle and line segment.

SDL_IsGameController

Is the joystick on this index supported by the game controller interface?

SDL_IsScreenKeyboardShown

\brief Returns whether the screen keyboard is shown for given window.

SDL_IsScreenSaverEnabled

\brief Returns whether the screensaver is currently enabled (default off).

SDL_IsTextInputActive

\brief Return whether or not Unicode text input events are enabled.

SDL_JoystickClose

Close a joystick previously opened with SDL_JoystickOpen().

SDL_JoystickCurrentPowerLevel

Return the battery level of this joystick

SDL_JoystickEventState

Enable/disable joystick event polling.

SDL_JoystickFromInstanceID

Return the SDL_Joystick associated with an instance id.

SDL_JoystickGetAttached

Returns SDL_TRUE if the joystick has been opened and currently connected, or SDL_FALSE if it has not.

SDL_JoystickGetAxis

Get the current 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

Return the GUID for the joystick at this index

SDL_JoystickGetGUID

Return the GUID for this opened joystick

SDL_JoystickGetGUIDFromString

convert a string into a joystick formatted guid

SDL_JoystickGetGUIDString

Return a string representation for this guid. pszGUID must point to at least 33 bytes (32 for the string plus a NULL terminator).

SDL_JoystickGetHat

Get the current state of a POV hat on a joystick.

SDL_JoystickInstanceID

Get the instance ID of an opened joystick or -1 if the joystick is invalid.

SDL_JoystickIsHaptic

\brief Checks to see if a joystick has haptic features.

SDL_JoystickName

Return the name for this currently opened joystick. If no name can be found, this function returns NULL.

SDL_JoystickNameForIndex

Get the implementation dependent name of a joystick. This can be called before any joysticks are opened. If no name can be found, this function returns NULL.

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. The index passed as an argument refers to the N'th joystick on the system. This index is not the value which will identify this joystick in future joystick events. The joystick's instance id (::SDL_JoystickID) will be used there instead.

SDL_JoystickUpdate

Update the current state of the open joysticks.

SDL_LoadBMP_RW

Load a surface from a seekable SDL data stream (memory or file).

SDL_LoadDollarTemplates

\brief Load Dollar Gesture templates from a file

SDL_LoadFunction

Given an object handle, this function looks up the address of the named function in the shared object and returns it. This address is no longer valid after calling SDL_UnloadObject().

SDL_LoadObject

This function dynamically loads a shared object and returns a pointer to the object handle (or NULL if there was an error). The 'sofile' parameter is a system dependent name of the object file.

SDL_LoadWAV_RW

This function loads a WAVE from the data source, automatically freeing that source if \c freesrc is non-zero. For example, to load a WAVE file, you could do: \code SDL_LoadWAV_RW(SDL_RWFromFile("sample.wav", "rb"), 1, ...); \endcode

SDL_LockAudio
SDL_LockAudioDevice
SDL_LockMutex
SDL_LockSurface

\brief Sets up a surface for directly accessing the pixels.

SDL_LockTexture

\brief Lock a portion of the texture for write-only pixel access.

SDL_Log

\brief Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO

SDL_LogCritical

\brief Log a message with SDL_LOG_PRIORITY_CRITICAL

SDL_LogDebug

\brief Log a message with SDL_LOG_PRIORITY_DEBUG

SDL_LogError

\brief Log a message with SDL_LOG_PRIORITY_ERROR

SDL_LogGetOutputFunction

\brief Get the current log output function.

SDL_LogGetPriority

\brief Get the priority of a particular log category

SDL_LogInfo

\brief Log a message with SDL_LOG_PRIORITY_INFO

SDL_LogMessage

\brief Log a message with the specified category and priority.

SDL_LogMessageV

\brief Log a message with the specified category and priority.

SDL_LogResetPriorities

\brief Reset all priorities to default.

SDL_LogSetAllPriority

\brief Set the priority of all log categories

SDL_LogSetOutputFunction

\brief This function allows you to replace the default log output function with one of your own.

SDL_LogSetPriority

\brief Set the priority of a particular log category

SDL_LogVerbose

\brief Log a message with SDL_LOG_PRIORITY_VERBOSE

SDL_LogWarn

\brief Log a message with SDL_LOG_PRIORITY_WARN

SDL_LowerBlit

This is a semi-private blit function and it performs low-level surface blitting only.

SDL_LowerBlitScaled

This is a semi-private blit function and it performs low-level surface scaled blitting only.

SDL_MapRGB

\brief Maps an RGB triple to an opaque pixel value for a given pixel format.

SDL_MapRGBA

\brief Maps an RGBA quadruple to a pixel value for a given pixel format.

SDL_MasksToPixelFormatEnum

\brief Convert a bpp and RGBA masks to an enumerated pixel format.

SDL_MaximizeWindow

\brief Make a window as large as possible.

SDL_MinimizeWindow

\brief Minimize a window to an iconic representation.

SDL_MixAudio

This takes two audio buffers of the playing audio format and mixes them, performing addition, volume adjustment, and overflow clipping. The volume ranges from 0 - 128, and should be set to ::SDL_MIX_MAXVOLUME for full audio volume. Note this does not change hardware volume. This is provided for convenience -- you can mix your own audio data.

SDL_MixAudioFormat

This works like SDL_MixAudio(), but you specify the audio format instead of using the format of audio device 1. Thus it can be used when no audio device is open at all.

SDL_MouseIsHaptic

\brief Gets whether or not the current mouse has haptic capabilities.

SDL_NumHaptics

\brief Count the number of haptic devices attached to the system.

SDL_NumJoysticks

Count the number of joysticks attached to the system right now

SDL_OpenAudio

This function opens the audio device with the desired parameters, and returns 0 if successful, placing the actual hardware parameters in the structure pointed to by \c obtained. If \c obtained is NULL, the audio data passed to the callback function will be guaranteed to be in the requested format, and will be automatically converted to the hardware audio format if necessary. This function returns -1 if it failed to open the audio device, or couldn't set up the audio thread.

SDL_OpenAudioDevice

Open a specific audio device. Passing in a device name of NULL requests the most reasonable default (and is equivalent to calling SDL_OpenAudio()).

SDL_PauseAudio
SDL_PauseAudioDevice
SDL_PeepEvents

Checks the event queue for messages and optionally returns them.

SDL_PixelFormatEnumToMasks

\brief Convert one of the enumerated pixel formats to a bpp and RGBA masks.

SDL_PollEvent

\brief Polls for currently pending events.

SDL_PumpEvents

Pumps the event loop, gathering events from the input devices.

SDL_PushEvent

\brief Add an event to the event queue.

SDL_QueryTexture

\brief Query the attributes of a texture

SDL_QueueAudio

Queue more audio on non-callback devices.

SDL_Quit

This function cleans up all initialized subsystems. You should call it upon all exit conditions.

SDL_QuitSubSystem

This function cleans up specific SDL subsystems

SDL_RWFromConstMem
SDL_RWFromFP
SDL_RWFromFile
SDL_RWFromMem
SDL_RaiseWindow

\brief Raise a window above other windows and set the input focus.

SDL_ReadBE16
SDL_ReadBE32
SDL_ReadBE64
SDL_ReadLE16
SDL_ReadLE32
SDL_ReadLE64
SDL_ReadU8
SDL_RecordGesture

\brief Begin Recording a gesture on the specified touch, or all touches (-1)

SDL_RegisterEvents

This function allocates a set of user-defined events, and returns the beginning event number for that set of events.

SDL_RemoveTimer

\brief Remove a timer knowing its ID.

SDL_RenderClear

\brief Clear the current rendering target with the drawing color

SDL_RenderCopy

\brief Copy a portion of the texture to the current rendering target.

SDL_RenderCopyEx

\brief Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center

SDL_RenderDrawLine

\brief Draw a line on the current rendering target.

SDL_RenderDrawLines

\brief Draw a series of connected lines on the current rendering target.

SDL_RenderDrawPoint

\brief Draw a point on the current rendering target.

SDL_RenderDrawPoints

\brief Draw multiple points on the current rendering target.

SDL_RenderDrawRect

\brief Draw a rectangle on the current rendering target.

SDL_RenderDrawRects

\brief Draw some number of rectangles on the current rendering target.

SDL_RenderFillRect

\brief Fill a rectangle on the current rendering target with the drawing color.

SDL_RenderFillRects

\brief Fill some number of rectangles on the current rendering target with the drawing color.

SDL_RenderGetClipRect

\brief Get the clip rectangle for the current target.

SDL_RenderGetIntegerScale

\brief Get whether integer scales are forced for resolution-independent rendering

SDL_RenderGetLogicalSize

\brief Get device independent resolution for rendering

SDL_RenderGetScale

\brief Get the drawing scale for the current target.

SDL_RenderGetViewport

\brief Get the drawing area for the current target.

SDL_RenderIsClipEnabled

\brief Get whether clipping is enabled on the given renderer.

SDL_RenderPresent

\brief Update the screen with rendering performed.

SDL_RenderReadPixels

\brief Read pixels from the current rendering target.

SDL_RenderSetClipRect

\brief Set the clip rectangle for the current target.

SDL_RenderSetIntegerScale

\brief Set whether to force integer scales for resolution-independent rendering

SDL_RenderSetLogicalSize

\brief Set device independent resolution for rendering

SDL_RenderSetScale

\brief Set the drawing scale for rendering on the current target.

SDL_RenderSetViewport

\brief Set the drawing area for rendering on the current target.

SDL_RenderTargetSupported

\brief Determines whether a window supports the use of render targets

SDL_ReportAssertion
SDL_ResetAssertionReport

\brief Reset the list of all assertion failures.

SDL_RestoreWindow

\brief Restore the size and position of a minimized or maximized window.

SDL_SaveAllDollarTemplates

\brief Save all currently loaded Dollar Gesture templates

SDL_SaveBMP_RW

Save a surface to a seekable SDL data stream (memory or file).

SDL_SaveDollarTemplate

\brief Save a currently loaded Dollar Gesture template

SDL_SemPost

Atomically increases the semaphore's count (not blocking).

SDL_SemTryWait

Non-blocking variant of SDL_SemWait().

SDL_SemValue

Returns the current count of the semaphore.

SDL_SemWait

This function suspends the calling thread until the semaphore pointed to by \c sem has a positive count. It then atomically decreases the semaphore count.

SDL_SemWaitTimeout

Variant of SDL_SemWait() with a timeout in milliseconds.

SDL_SetAssertionHandler

\brief Set an application-defined assertion handler.

SDL_SetClipRect

Sets the clipping rectangle for the destination surface in a blit.

SDL_SetClipboardText

\brief Put UTF-8 text into the clipboard

SDL_SetColorKey

\brief Sets the color key (transparent pixel) in a blittable surface.

SDL_SetCursor

\brief Set the active cursor.

SDL_SetError
SDL_SetEventFilter

Sets up a filter to process all events before they change internal state and are posted to the internal event queue.

SDL_SetHint

\brief Set a hint with normal priority

SDL_SetHintWithPriority

\brief Set a hint with a specific priority

SDL_SetMainReady

This is called by the real SDL main function to let the rest of the library know that initialization was done properly.

SDL_SetModState

\brief Set the current key modifier state for the keyboard.

SDL_SetPaletteColors

\brief Set a range of colors in a palette.

SDL_SetPixelFormatPalette

\brief Set the palette for a pixel format structure.

SDL_SetRelativeMouseMode

\brief Set relative mouse mode.

SDL_SetRenderDrawBlendMode

\brief Set the blend mode used for drawing operations (Fill and Line).

SDL_SetRenderDrawColor

\brief Set the color used for drawing operations (Rect, Line and Clear).

SDL_SetRenderTarget

\brief Set a texture as the current rendering target.

SDL_SetSurfaceAlphaMod

\brief Set an additional alpha value used in blit operations.

SDL_SetSurfaceBlendMode

\brief Set the blend mode used for blit operations.

SDL_SetSurfaceColorMod

\brief Set an additional color value used in blit operations.

SDL_SetSurfacePalette

\brief Set the palette used by a surface.

SDL_SetSurfaceRLE

\brief Sets the RLE acceleration hint for a surface.

SDL_SetTextInputRect

\brief Set the rectangle used to type Unicode text inputs. This is used as a hint for IME and on-screen keyboard placement.

SDL_SetTextureAlphaMod

\brief Set an additional alpha value used in render copy operations.

SDL_SetTextureBlendMode

\brief Set the blend mode used for texture copy operations.

SDL_SetTextureColorMod

\brief Set an additional color value used in render copy operations.

SDL_SetThreadPriority

Set the priority for the current thread

SDL_SetWindowBordered

\brief Set the border state of a window.

SDL_SetWindowBrightness

\brief Set the brightness (gamma correction) for a window.

SDL_SetWindowData

\brief Associate an arbitrary named pointer with a window.

SDL_SetWindowDisplayMode

\brief Set the display mode used when a fullscreen window is visible.

SDL_SetWindowFullscreen

\brief Set a window's fullscreen state.

SDL_SetWindowGammaRamp

\brief Set the gamma ramp for a window.

SDL_SetWindowGrab

\brief Set a window's input grab mode.

SDL_SetWindowHitTest

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

SDL_SetWindowIcon

\brief Set the icon for a window.

SDL_SetWindowInputFocus

\brief Explicitly sets input focus to the window.

SDL_SetWindowMaximumSize

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

SDL_SetWindowMinimumSize

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

SDL_SetWindowModalFor

\brief Sets the window as a modal for another window (TODO: reconsider this function and/or its name)

SDL_SetWindowOpacity

\brief Set the opacity for a window

SDL_SetWindowPosition

\brief Set the position of a window.

SDL_SetWindowResizable

\brief Set the user-resizable state of a window.

SDL_SetWindowSize

\brief Set the size of a window's client area.

SDL_SetWindowTitle

\brief Set the title of a window, in UTF-8 format.

SDL_ShowCursor

\brief Toggle whether or not the cursor is shown.

SDL_ShowMessageBox

\brief Create a modal message box.

SDL_ShowSimpleMessageBox

\brief Create a simple modal message box

SDL_ShowWindow

\brief Show a window.

SDL_SoftStretch

\brief Perform a fast, low quality, stretch blit between two surfaces of the same pixel format.

SDL_StartTextInput

\brief Start accepting Unicode text input events. This function will show the on-screen keyboard if supported.

SDL_StopTextInput

\brief Stop receiving any text input events. This function will hide the on-screen keyboard if supported.

SDL_TLSCreate

\brief Create an identifier that is globally visible to all threads but refers to data that is thread-specific.

SDL_TLSGet

\brief Get the value associated with a thread local storage ID for the current thread.

SDL_TLSSet

\brief Set the value associated with a thread local storage ID for the current thread.

SDL_ThreadID

Get the thread identifier for the current thread.

SDL_TryLockMutex

Try to lock the mutex

SDL_UnionRect

\brief Calculate the union of two rectangles.

SDL_UnloadObject

Unload a shared object from memory.

SDL_UnlockAudio
SDL_UnlockAudioDevice
SDL_UnlockMutex
SDL_UnlockSurface

\sa SDL_LockSurface()

SDL_UnlockTexture

\brief Unlock a texture, uploading the changes to video memory, if needed.

SDL_UpdateTexture

\brief Update the given texture rectangle with new pixel data.

SDL_UpdateWindowSurface

\brief Copy the window surface to the screen.

SDL_UpdateWindowSurfaceRects

\brief Copy a number of rectangles on the window surface to the screen.

SDL_UpdateYUVTexture

\brief Update a rectangle within a planar YV12 or IYUV texture with new pixel data.

SDL_UpperBlit

This is the public blit function, SDL_BlitSurface(), and it performs rectangle validation and clipping before passing it to SDL_LowerBlit()

SDL_UpperBlitScaled

This is the public scaled blit function, SDL_BlitScaled(), and it performs rectangle validation and clipping before passing it to SDL_LowerBlitScaled()

SDL_VideoInit

\brief Initialize the video subsystem, optionally specifying a video driver.

SDL_VideoQuit

\brief Shuts down the video subsystem.

SDL_WaitEvent

\brief Waits indefinitely for the next available event.

SDL_WaitEventTimeout

\brief Waits until the specified timeout (in milliseconds) for the next available event.

SDL_WaitThread

Wait for a thread to finish. Threads that haven't been detached will remain (as a "zombie") until this function cleans them up. Not doing so is a resource leak.

SDL_WarpMouseGlobal

\brief Moves the mouse to the given position in global screen space.

SDL_WarpMouseInWindow

\brief Moves the mouse to the given position within the window.

SDL_WasInit

This function returns a mask of the specified subsystems which have previously been initialized.

SDL_WriteBE16
SDL_WriteBE32
SDL_WriteBE64
SDL_WriteLE16
SDL_WriteLE32
SDL_WriteLE64
SDL_WriteU8
SDL_abs
SDL_acos
SDL_asin
SDL_atan
SDL_atan2
SDL_atof
SDL_atoi
SDL_calloc
SDL_ceil
SDL_copysign
SDL_cos
SDL_cosf
SDL_fabs
SDL_floor
SDL_free
SDL_getenv
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_isdigit
SDL_isspace
SDL_itoa
SDL_lltoa
SDL_log
SDL_ltoa
SDL_main

The prototype for the application's main() function

SDL_malloc
SDL_memcmp
SDL_memcpy
SDL_memmove
SDL_memset
SDL_pow
SDL_qsort
SDL_realloc
SDL_scalbn
SDL_setenv
SDL_sin
SDL_sinf
SDL_snprintf
SDL_sqrt
SDL_sqrtf
SDL_sscanf
SDL_strcasecmp
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_strtol
SDL_strtoll
SDL_strtoul
SDL_strtoull
SDL_strupr
SDL_tan
SDL_tanf
SDL_tolower
SDL_toupper
SDL_uitoa
SDL_ulltoa
SDL_ultoa
SDL_utf8strlcpy
SDL_vsnprintf
SDL_vsscanf
SDL_wcslcat
SDL_wcslcpy
SDL_wcslen
_Exit
_IO_feof
_IO_ferror
_IO_flockfile
_IO_free_backup_area
_IO_ftrylockfile
_IO_funlockfile
_IO_getc
_IO_padn
_IO_peekc_locked
_IO_putc
_IO_seekoff
_IO_seekpos
_IO_sgetn
_IO_vfprintf
_IO_vfscanf
__acos
__acosf
__acosh
__acoshf
__acoshl
__acosl
__asin
__asinf
__asinh
__asinhf
__asinhl
__asinl
__atan
__atan2
__atan2f
__atan2l
__atanf
__atanh
__atanhf
__atanhl
__atanl
__bzero
__cbrt
__cbrtf
__cbrtl
__ceil
__ceilf
__ceill
__copysign
__copysignf
__copysignl
__cos
__cosf
__cosh
__coshf
__coshl
__cosl
__ctype_b_loc
__ctype_get_mb_cur_max
__ctype_tolower_loc
__ctype_toupper_loc
__drem
__dremf
__dreml
__erf
__erfc
__erfcf
__erfcl
__erff
__erfl
__exp
__exp2
__exp2f
__exp2l
__expf
__expl
__expm1
__expm1f
__expm1l
__fabs
__fabsf
__fabsl
__fdim
__fdimf
__fdiml
__finite
__finitef
__finitel
__floor
__floorf
__floorl
__fma
__fmaf
__fmal
__fmax
__fmaxf
__fmaxl
__fmin
__fminf
__fminl
__fmod
__fmodf
__fmodl
__fpclassify
__fpclassifyf
__fpclassifyl
__frexp
__frexpf
__frexpl
__gamma
__gammaf
__gammal
__getdelim
__hypot
__hypotf
__hypotl
__ilogb
__ilogbf
__ilogbl
__isinf
__isinff
__isinfl
__isnan
__isnanf
__isnanl
__j0
__j1
__j0f
__j0l
__j1f
__j1l
__jn
__jnf
__jnl
__ldexp
__ldexpf
__ldexpl
__lgamma
__lgamma_r
__lgammaf
__lgammaf_r
__lgammal
__lgammal_r
__llrint
__llrintf
__llrintl
__llround
__llroundf
__llroundl
__log
__log2
__log10
__log10f
__log10l
__log1p
__log1pf
__log1pl
__log2f
__log2l
__logb
__logbf
__logbl
__logf
__logl
__lrint
__lrintf
__lrintl
__lround
__lroundf
__lroundl
__modf
__modff
__modfl
__nan
__nanf
__nanl
__nearbyint
__nearbyintf
__nearbyintl
__nextafter
__nextafterf
__nextafterl
__nexttoward
__nexttowardf
__nexttowardl
__overflow
__pow
__powf
__powl
__remainder
__remainderf
__remainderl
__remquo
__remquof
__remquol
__rint
__rintf
__rintl
__round
__roundf
__roundl
__scalb
__scalbf
__scalbl
__scalbln
__scalblnf
__scalblnl
__scalbn
__scalbnf
__scalbnl
__signbit
__signbitf
__signbitl
__significand
__significandf
__significandl
__sin
__sinf
__sinh
__sinhf
__sinhl
__sinl
__sqrt
__sqrtf
__sqrtl
__stpcpy
__stpncpy
__strtok_r
__tan
__tanf
__tanh
__tanhf
__tanhl
__tanl
__tgamma
__tgammaf
__tgammal
__tolower_l
__toupper_l
__trunc
__truncf
__truncl
__uflow
__underflow
__y0
__y1
__y0f
__y0l
__y1f
__y1l
__yn
__ynf
__ynl
_tolower
_toupper
a64l
abort
abs
acos
acosf
acosh
acoshf
acoshl
acosl
aligned_alloc
alloca
asin
asinf
asinh
asinhf
asinhl
asinl
at_quick_exit
atan
atan2
atan2f
atan2l
atanf
atanh
atanhf
atanhl
atanl
atexit
atof
atoi
atol
atoll
bcmp
bcopy
bsearch
bzero
calloc
cbrt
cbrtf
cbrtl
ceil
ceilf
ceill
cfree
clearenv
clearerr
clearerr_unlocked
copysign
copysignf
copysignl
cos
cosf
cosh
coshf
coshl
cosl
ctermid
div
dprintf
drand48
drand48_r
drem
dremf
dreml
ecvt
ecvt_r
erand48
erand48_r
erf
erfc
erfcf
erfcl
erff
erfl
exit
exp
exp2
exp2f
exp2l
expf
expl
expm1
expm1f
expm1l
fabs
fabsf
fabsl
fclose
fcvt
fcvt_r
fdim
fdimf
fdiml
fdopen
feof
feof_unlocked
ferror
ferror_unlocked
fflush
fflush_unlocked
ffs
fgetc
fgetc_unlocked
fgetpos
fgets
fileno
fileno_unlocked
finite
finitef
finitel
flockfile
floor
floorf
floorl
fma
fmaf
fmal
fmax
fmaxf
fmaxl
fmemopen
fmin
fminf
fminl
fmod
fmodf
fmodl
fopen
fprintf
fputc
fputc_unlocked
fputs
fread
fread_unlocked
free
freopen
frexp
frexpf
frexpl
fscanf
fscanf1
fseek
fseeko
fsetpos
ftell
ftello
ftrylockfile
funlockfile
fwrite
fwrite_unlocked
gamma
gammaf
gammal
gcvt
getc
getc_unlocked
getchar
getchar_unlocked
getdelim
getenv
getline
getloadavg
getsubopt
getw
gnu_dev_major
gnu_dev_makedev
gnu_dev_minor
hypot
hypotf
hypotl
ilogb
ilogbf
ilogbl
imaxabs
imaxdiv
index
initstate
initstate_r
isalnum
isalnum_l
isalpha
isalpha_l
isascii
isblank
isblank_l
iscntrl
iscntrl_l
isdigit
isdigit_l
isgraph
isgraph_l
isinf
isinff
isinfl
islower
islower_l
isnan
isnanf
isnanl
isprint
isprint_l
ispunct
ispunct_l
isspace
isspace_l
isupper
isupper_l
isxdigit
isxdigit_l
j0
j1
j0f
j0l
j1f
j1l
jn
jnf
jnl
jrand48
jrand48_r
l64a
labs
lcong48
lcong48_r
ldexp
ldexpf
ldexpl
ldiv
lgamma
lgamma_r
lgammaf
lgammaf_r
lgammal
lgammal_r
llabs
lldiv
llrint
llrintf
llrintl
llround
llroundf
llroundl
log
log2
log10
log10f
log10l
log1p
log1pf
log1pl
log2f
log2l
logb
logbf
logbl
logf
logl
lrand48
lrand48_r
lrint
lrintf
lrintl
lround
lroundf
lroundl
malloc
matherr
mblen
mbstowcs
mbtowc
memccpy
memchr
memcmp
memcpy
memmove
memset
mkdtemp
mkstemp
mkstemps
mktemp
modf
modff
modfl
mrand48
mrand48_r
nan
nanf
nanl
nearbyint
nearbyintf
nearbyintl
nextafter
nextafterf
nextafterl
nexttoward
nexttowardf
nexttowardl
nrand48
nrand48_r
on_exit
open_memstream
pclose
perror
popen
posix_memalign
pow
powf
powl
printf
pselect
putc
putc_unlocked
putchar
putchar_unlocked
putenv
puts
putw
qecvt
qecvt_r
qfcvt
qfcvt_r
qgcvt
qsort
quick_exit
rand
rand_r
random
random_r
realloc
realpath
remainder
remainderf
remainderl
remove
remquo
remquof
remquol
rename
renameat
rewind
rindex
rint
rintf
rintl
round
roundf
roundl
rpmatch
scalb
scalbf
scalbl
scalbln
scalblnf
scalblnl
scalbn
scalbnf
scalbnl
scanf
scanf1
seed48
seed48_r
select
setbuf
setbuffer
setenv
setlinebuf
setstate
setstate_r
setvbuf
significand
significandf
significandl
sin
sinf
sinh
sinhf
sinhl
sinl
snprintf
sprintf
sqrt
sqrtf
sqrtl
srand
srand48
srand48_r
srandom
srandom_r
sscanf
sscanf1
stpcpy
stpncpy
strcasecmp
strcat
strchr
strcmp
strcoll
strcoll_l
strcpy
strcspn
strdup
strerror
strerror_l
strerror_r
strlen
strncasecmp
strncat
strncmp
strncpy
strndup
strnlen
strpbrk
strrchr
strsep
strsignal
strspn
strstr
strtod
strtof
strtoimax
strtok
strtok_r
strtol
strtold
strtoll
strtoq
strtoul
strtoull
strtoumax
strtouq
strxfrm
strxfrm_l
system
tan
tanf
tanh
tanhf
tanhl
tanl
tempnam
tgamma
tgammaf
tgammal
tmpfile
tmpnam
tmpnam_r
toascii
tolower
tolower_l
toupper
toupper_l
trunc
truncf
truncl
ungetc
unsetenv
valloc
vdprintf
vfprintf
vfscanf
vfscanf1
vprintf
vscanf
vscanf1
vsnprintf
vsprintf
vsscanf
vsscanf1
wcstoimax
wcstombs
wcstoumax
wctomb
y0
y1
y0f
y0l
y1f
y1l
yn
ynf
ynl

Type Definitions

FILE
SDL_AssertionHandler
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. *
  • These are what the 16 bits in SDL_AudioFormat currently mean...
  • (Unspecified bits are always zero). *
  • \verbatim ++-----------------------sample is signed if set || || ++-----------sample is bigendian if set || || || || ++---sample is float if set || || || || || || +---sample bit size---+ || || || | | 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 \endverbatim *
  • There are macros in SDL 2.0 and later to query these bits.
SDL_EventFilter
SDL_FingerID
SDL_GLContext

\brief An opaque handle to an OpenGL context.

SDL_GameController
SDL_GestureID
SDL_Haptic
SDL_HintCallback

\brief Add a function to watch a particular hint

SDL_HitTest

\brief Callback used for hit-testing.

SDL_Joystick
SDL_JoystickID
SDL_Keycode

\brief The SDL virtual key representation.

SDL_LogOutputFunction

\brief The prototype for the log output function

SDL_SpinLock
SDL_TLSID
SDL_ThreadFunction

The function passed to SDL_CreateThread(). It is passed a void* user context parameter and returns an int.

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_dummy_enum
SDL_dummy_sint8
SDL_dummy_sint16
SDL_dummy_sint32
SDL_dummy_sint64
SDL_dummy_uint8
SDL_dummy_uint16
SDL_dummy_uint32
SDL_dummy_uint64
SDL_iconv_t
SDL_sem
SDL_threadID
Sint8

\brief A signed 8-bit integer type.

Sint16

\brief A signed 16-bit integer type.

Sint32

\brief A signed 32-bit integer type.

Sint64

\brief A signed 64-bit integer type.

Uint8

\brief An unsigned 8-bit integer type.

Uint16

\brief An unsigned 16-bit integer type.

Uint32

\brief An unsigned 32-bit integer type.

Uint64

\brief An unsigned 64-bit integer type.

_IO_lock_t
__FILE
__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
__gwchar_t
__id_t
__ino64_t
__ino_t
__int16_t
__int32_t
__int64_t
__int8_t
__intptr_t
__io_close_fn
__io_read_fn
__io_seek_fn
__io_write_fn
__key_t
__locale_t
__loff_t
__m64
__m128
__m128d
__m128i
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__pthread_list_t
__qaddr_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint16_t
__uint32_t
__uint64_t
__uint8_t
__useconds_t
__v16qi
__v16qs
__v2df
__v2di
__v2si
__v4hi
__v4sf
__v4si
__v8hi
__v8qi
blkcnt_t
blksize_t
caddr_t
clock_t
clockid_t
daddr_t
dev_t
double_t
fd_mask
float_t
fpos_t
fsblkcnt_t
fsfilcnt_t
fsid_t
gid_t
id_t
ino_t
int_fast16_t
int_fast32_t
int_fast64_t
int_fast8_t
int_least16_t
int_least32_t
int_least64_t
int_least8_t
intmax_t
key_t
locale_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_int16_t
u_int32_t
u_int64_t
u_int8_t
u_long
u_quad_t
u_short
uid_t
uint
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_fast8_t
uint_least16_t
uint_least32_t
uint_least64_t
uint_least8_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. *
  • All values max at 32767 (0x7FFF). Signed values also can be negative.
  • Time values unless specified otherwise are in milliseconds. *
  • You can also pass ::SDL_HAPTIC_INFINITY to length instead of a 0-32767
  • value. Neither delay, interval, attack_length nor fade_length support
  • ::SDL_HAPTIC_INFINITY. Fade will also not be used since effect never ends. *
  • Additionally, the ::SDL_HAPTIC_RAMP effect does not support a duration of
  • ::SDL_HAPTIC_INFINITY. *
  • Button triggers may not be supported on all devices, it is advised to not
  • use them if possible. Buttons start at index 1 instead of index 0 like
  • the joystick. *
  • If both attack_length and fade_level are 0, the envelope is not used,
  • otherwise both values are used. *
  • Common parts:
  • \code
  • // Replay - All effects have this
  • Uint32 length; // Duration of effect (ms).
  • Uint16 delay; // Delay before starting effect. *
  • // Trigger - All effects have this
  • Uint16 button; // Button that triggers effect.
  • Uint16 interval; // How soon before effect can be triggered again. *
  • // Envelope - All effects except condition effects have this
  • Uint16 attack_length; // Duration of the attack (ms).
  • Uint16 attack_level; // Level at the start of the attack.
  • Uint16 fade_length; // Duration of the fade out (ms).
  • Uint16 fade_level; // Level at the end of the fade.
  • \endcode * *
  • Here we have an example of a constant effect evolution in time:
  • \verbatim Strength ^ | | effect level --> _________________ | / \ | / \ | / \ | / \ | attack_level --> | \ | | | <--- fade_level | +--------------------------------------------------> Time [--] [---] attack_length fade_length

SDL_RWops__bindgen_ty_1
__mbstate_t__bindgen_ty_1
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