[][src]Crate fermium

The fermium crate is bindings to SDL2.

Depending on how you configure the crate, you can target a minimum SDL2 version of 2.0.8 or later. You can compile against a later version than your minimum bind version, but not an earlier one, so for best compatability you should target the earliest SDL2 API version you can. The current version of SDL2 in Ubuntu 18 is 2.0.8, and Debian Stable has 2.0.9, so we don't at this time bother to support SDL2 versions before 2.0.8.

bindgen is used to generate the bindings from the official SDL2 include files. At the moment we include the following SDL2 headers:

  • SDL2.h
  • SDL_syswm.h
  • SDL_vulkan.h

However, SDL_syswm.h in particular pulls in a bunch of extra code and it overwhelms the generated bindings. To avoid this, we only keep the following whitelist of items:

  • SDL_ (functions, types, and vars)
  • SDLK_ (vars)
  • AUDIO_ (vars)
  • Any other items that the above depend on.

It is thought that this will expose all needed functionality, but if you think something should be added to the whitelist please submit an issue.

Docs

Bindgen doesn't understand how to convert doxygen style docs into rustdoc style docs, so instead you should look up the docs on the SDL2 Wiki

Modules

SDL_AssertState
SDL_AudioStatus
SDL_BlendFactor
SDL_BlendMode
SDL_BlendOperation
SDL_DUMMY_ENUM
SDL_EventType
SDL_GLContextResetNotification
SDL_GLattr
SDL_GLcontextFlag
SDL_GLcontextReleaseFlag
SDL_GLprofile
SDL_GameControllerAxis
SDL_GameControllerBindType
SDL_GameControllerButton
SDL_HintPriority
SDL_HitTestResult
SDL_JoystickPowerLevel
SDL_JoystickType
SDL_Keymod
SDL_LogPriority
SDL_MessageBoxButtonFlags
SDL_MessageBoxColorType
SDL_MessageBoxFlags
SDL_MouseWheelDirection
SDL_PowerState
SDL_RendererFlags
SDL_RendererFlip
SDL_SYSWM_TYPE
SDL_Scancode
SDL_SystemCursor
SDL_TextureAccess
SDL_TextureModulate
SDL_ThreadPriority
SDL_WindowEventID
SDL_WindowFlags
SDL_YUV_CONVERSION_MODE
SDL_bool
SDL_errorcode
SDL_eventaction
WindowShapeMode
_bindgen_ty_1
_bindgen_ty_2
_bindgen_ty_3
_bindgen_ty_4
_bindgen_ty_5
_bindgen_ty_6
_bindgen_ty_7
_bindgen_ty_8

Structs

SDL_AssertData
SDL_AudioCVT
SDL_AudioDeviceEvent
SDL_AudioSpec
SDL_BlitMap
SDL_Color
SDL_CommonEvent
SDL_ControllerAxisEvent
SDL_ControllerButtonEvent
SDL_ControllerDeviceEvent
SDL_Cursor
SDL_DisplayMode
SDL_DollarGestureEvent
SDL_DropEvent
SDL_Finger
SDL_GameControllerButtonBind
SDL_GameControllerButtonBind__bindgen_ty_1__bindgen_ty_1
SDL_HapticCondition
SDL_HapticConstant
SDL_HapticCustom
SDL_HapticDirection
SDL_HapticLeftRight
SDL_HapticPeriodic
SDL_HapticRamp
SDL_JoyAxisEvent
SDL_JoyBallEvent
SDL_JoyButtonEvent
SDL_JoyDeviceEvent
SDL_JoyHatEvent
SDL_JoystickGUID
SDL_KeyboardEvent
SDL_Keysym
SDL_MessageBoxButtonData
SDL_MessageBoxColor
SDL_MessageBoxColorScheme
SDL_MessageBoxData
SDL_MouseButtonEvent
SDL_MouseMotionEvent
SDL_MouseWheelEvent
SDL_MultiGestureEvent
SDL_OSEvent
SDL_Palette
SDL_PixelFormat
SDL_Point
SDL_QuitEvent
SDL_RWops
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
SDL_Renderer
SDL_RendererInfo
SDL_Surface
SDL_SysWMEvent
SDL_SysWMinfo
SDL_SysWMinfo__bindgen_ty_1__bindgen_ty_1
SDL_SysWMmsg
SDL_SysWMmsg__bindgen_ty_1__bindgen_ty_1
SDL_TextEditingEvent
SDL_TextInputEvent
SDL_Texture
SDL_Thread
SDL_TouchFingerEvent
SDL_UserEvent
SDL_Window
SDL_WindowEvent
SDL_WindowShapeMode
SDL_atomic_t
SDL_cond
SDL_mutex
SDL_semaphore
SDL_version
VkInstance_T
VkSurfaceKHR_T
_NSWindow
_SDL_AudioStream
_SDL_GameController
_SDL_Haptic
_SDL_Joystick
_SDL_iconv_t
__sFILE
__sFILEX
__sbuf
__va_list_tag

Constants

AUDIO_F32LSB
AUDIO_F32MSB
AUDIO_F32
AUDIO_F32SYS
AUDIO_S8
AUDIO_S16LSB
AUDIO_S16MSB
AUDIO_S16
AUDIO_S16SYS
AUDIO_S32LSB
AUDIO_S32MSB
AUDIO_S32
AUDIO_S32SYS
AUDIO_U8
AUDIO_U16LSB
AUDIO_U16MSB
AUDIO_U16
AUDIO_U16SYS
SDLK_SCANCODE_MASK
SDL_ALPHA_OPAQUE
SDL_ALPHA_TRANSPARENT
SDL_ASSEMBLY_ROUTINES
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_DRIVER_COREAUDIO
SDL_AUDIO_DRIVER_DISK
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_COCOA
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_IOKIT
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_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_AUDIO_CATEGORY
SDL_HINT_AUDIO_RESAMPLING_MODE
SDL_HINT_BMP_SAVE_LEGACY_FORMAT
SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT
SDL_HINT_FRAMEBUFFER_ACCELERATION
SDL_HINT_GAMECONTROLLERCONFIG
SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES
SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT
SDL_HINT_GRAB_KEYBOARD
SDL_HINT_IDLE_TIMER_DISABLED
SDL_HINT_IME_INTERNAL_EDITING
SDL_HINT_IOS_HIDE_HOME_INDICATOR
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_NORMAL_SPEED_SCALE
SDL_HINT_MOUSE_RELATIVE_MODE_WARP
SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE
SDL_HINT_NO_SIGNAL_HANDLERS
SDL_HINT_OPENGL_ES_DRIVER
SDL_HINT_ORIENTATIONS
SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION
SDL_HINT_QTWAYLAND_WINDOW_FLAGS
SDL_HINT_RENDER_DIRECT3D_THREADSAFE
SDL_HINT_RENDER_DIRECT3D11_DEBUG
SDL_HINT_RENDER_DRIVER
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_THREAD_STACK_SIZE
SDL_HINT_TIMER_RESOLUTION
SDL_HINT_TOUCH_MOUSE_EVENTS
SDL_HINT_TV_REMOTE_AS_JOYSTICK
SDL_HINT_VIDEO_ALLOW_SCREENSAVER
SDL_HINT_VIDEO_DOUBLE_BUFFER
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_XVIDMODE
SDL_HINT_VIDEO_X11_XINERAMA
SDL_HINT_VIDEO_X11_XRANDR
SDL_HINT_VIDEO_X11_NET_WM_PING
SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR
SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING
SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP
SDL_HINT_WINDOWS_INTRESOURCE_ICON
SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL
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_INVALID_SHAPE_ARGUMENT
SDL_JOYSTICK_AXIS_MAX
SDL_JOYSTICK_AXIS_MIN
SDL_JOYSTICK_IOKIT
SDL_LIL_ENDIAN
SDL_LOADSO_DLOPEN
SDL_MAJOR_VERSION
SDL_MAX_LOG_MESSAGE
SDL_MINOR_VERSION
SDL_MIX_MAXVOLUME
SDL_MOUSE_TOUCHID

SDL_touch.h: Used as the SDL_TouchID for touch events simulated with mouse input

SDL_MUTEX_TIMEDOUT
SDL_NONSHAPEABLE_WINDOW
SDL_NULL_WHILE_LOOP_CONDITION
SDL_PATCHLEVEL
SDL_POWER_MACOSX
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_TOUCH_MOUSEID

SDL_touch.h: Used as the device ID for mouse events simulated with touch input

SDL_VIDEO_DRIVER_COCOA
SDL_VIDEO_DRIVER_DUMMY
SDL_VIDEO_DRIVER_X11_DYNAMIC
SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA
SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE
SDL_VIDEO_DRIVER_X11_XDBE
SDL_VIDEO_DRIVER_X11_XINERAMA
SDL_VIDEO_DRIVER_X11_XRANDR
SDL_VIDEO_DRIVER_X11_XSCRNSAVER
SDL_VIDEO_DRIVER_X11_XSHAPE
SDL_VIDEO_DRIVER_X11_XVIDMODE
SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY
SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2
SDL_VIDEO_DRIVER_X11_XINPUT2
SDL_VIDEO_OPENGL
SDL_VIDEO_OPENGL_CGL
SDL_VIDEO_OPENGL_EGL
SDL_VIDEO_OPENGL_ES2
SDL_VIDEO_OPENGL_GLX
SDL_VIDEO_RENDER_METAL
SDL_VIDEO_RENDER_OGL
SDL_VIDEO_RENDER_OGL_ES2
SDL_VIDEO_VULKAN
SDL_WINDOWPOS_CENTERED_MASK
SDL_WINDOWPOS_UNDEFINED_MASK
SDL_WINDOW_LACKS_SHAPE

Functions

SDL_AddEventWatch
SDL_AddHintCallback
SDL_AddTimer
SDL_AllocFormat
SDL_AllocPalette
SDL_AllocRW
SDL_AtomicAdd
SDL_AtomicCAS
SDL_AtomicCASPtr
SDL_AtomicGet
SDL_AtomicGetPtr
SDL_AtomicLock
SDL_AtomicSet
SDL_AtomicSetPtr
SDL_AtomicTryLock
SDL_AtomicUnlock
SDL_AudioInit
SDL_AudioQuit
SDL_AudioStreamAvailable
SDL_AudioStreamClear
SDL_AudioStreamFlush
SDL_AudioStreamGet
SDL_AudioStreamPut
SDL_BITSPERPIXEL

SDL_pixels.h: Bits per pixel.

SDL_BYTESPERPIXEL

SDL_pixels.h: Bytes per pixel.

SDL_BuildAudioCVT
SDL_CalculateGammaRamp
SDL_CaptureMouse
SDL_ClearError
SDL_ClearHints
SDL_ClearQueuedAudio
SDL_CloseAudio
SDL_CloseAudioDevice
SDL_ComposeCustomBlendMode
SDL_CondBroadcast
SDL_CondSignal
SDL_CondWait
SDL_CondWaitTimeout
SDL_ConvertAudio
SDL_ConvertPixels
SDL_ConvertSurface
SDL_ConvertSurfaceFormat
SDL_CreateColorCursor
SDL_CreateCond
SDL_CreateCursor
SDL_CreateMutex
SDL_CreateRGBSurface
SDL_CreateRGBSurfaceFrom
SDL_CreateRGBSurfaceWithFormat
SDL_CreateRGBSurfaceWithFormatFrom
SDL_CreateRenderer
SDL_CreateSemaphore
SDL_CreateShapedWindow
SDL_CreateSoftwareRenderer
SDL_CreateSystemCursor
SDL_CreateTexture
SDL_CreateTextureFromSurface
SDL_CreateThread
SDL_CreateWindow
SDL_CreateWindowAndRenderer
SDL_CreateWindowFrom
SDL_DelEventWatch
SDL_DelHintCallback
SDL_Delay
SDL_DequeueAudio
SDL_DestroyCond
SDL_DestroyMutex
SDL_DestroyRenderer
SDL_DestroySemaphore
SDL_DestroyTexture
SDL_DestroyWindow
SDL_DetachThread
SDL_DisableScreenSaver
SDL_DuplicateSurface
SDL_EnableScreenSaver
SDL_EnclosePoints
SDL_Error
SDL_EventState
SDL_FillRect
SDL_FillRects
SDL_FilterEvents
SDL_FlushEvent
SDL_FlushEvents
SDL_FreeAudioStream
SDL_FreeCursor
SDL_FreeFormat
SDL_FreePalette
SDL_FreeRW
SDL_FreeSurface
SDL_FreeWAV
SDL_GL_BindTexture
SDL_GL_CreateContext
SDL_GL_DeleteContext
SDL_GL_ExtensionSupported
SDL_GL_GetAttribute
SDL_GL_GetCurrentContext
SDL_GL_GetCurrentWindow
SDL_GL_GetDrawableSize
SDL_GL_GetProcAddress
SDL_GL_GetSwapInterval
SDL_GL_LoadLibrary
SDL_GL_MakeCurrent
SDL_GL_ResetAttributes
SDL_GL_SetAttribute
SDL_GL_SetSwapInterval
SDL_GL_SwapWindow
SDL_GL_UnbindTexture
SDL_GL_UnloadLibrary
SDL_GameControllerAddMapping
SDL_GameControllerAddMappingsFromRW
SDL_GameControllerClose
SDL_GameControllerEventState
SDL_GameControllerFromInstanceID
SDL_GameControllerGetAttached
SDL_GameControllerGetAxis
SDL_GameControllerGetAxisFromString
SDL_GameControllerGetBindForAxis
SDL_GameControllerGetBindForButton
SDL_GameControllerGetButton
SDL_GameControllerGetButtonFromString
SDL_GameControllerGetJoystick
SDL_GameControllerGetProduct
SDL_GameControllerGetProductVersion
SDL_GameControllerGetStringForAxis
SDL_GameControllerGetStringForButton
SDL_GameControllerGetVendor
SDL_GameControllerMapping
SDL_GameControllerMappingForGUID
SDL_GameControllerMappingForIndex
SDL_GameControllerName
SDL_GameControllerNameForIndex
SDL_GameControllerNumMappings
SDL_GameControllerOpen
SDL_GameControllerUpdate
SDL_GetAssertionHandler
SDL_GetAssertionReport
SDL_GetAudioDeviceName
SDL_GetAudioDeviceStatus
SDL_GetAudioDriver
SDL_GetAudioStatus
SDL_GetBasePath
SDL_GetCPUCacheLineSize
SDL_GetCPUCount
SDL_GetClipRect
SDL_GetClipboardText
SDL_GetClosestDisplayMode
SDL_GetColorKey
SDL_GetCurrentAudioDriver
SDL_GetCurrentDisplayMode
SDL_GetCurrentVideoDriver
SDL_GetCursor
SDL_GetDefaultAssertionHandler
SDL_GetDefaultCursor
SDL_GetDesktopDisplayMode
SDL_GetDisplayBounds
SDL_GetDisplayDPI
SDL_GetDisplayMode
SDL_GetDisplayName
SDL_GetDisplayUsableBounds
SDL_GetError
SDL_GetEventFilter
SDL_GetGlobalMouseState
SDL_GetGrabbedWindow
SDL_GetHint
SDL_GetHintBoolean
SDL_GetKeyFromName
SDL_GetKeyFromScancode
SDL_GetKeyName
SDL_GetKeyboardFocus
SDL_GetKeyboardState
SDL_GetMemoryFunctions
SDL_GetModState
SDL_GetMouseFocus
SDL_GetMouseState
SDL_GetNumAllocations
SDL_GetNumAudioDevices
SDL_GetNumAudioDrivers
SDL_GetNumDisplayModes
SDL_GetNumRenderDrivers
SDL_GetNumTouchDevices
SDL_GetNumTouchFingers
SDL_GetNumVideoDisplays
SDL_GetNumVideoDrivers
SDL_GetPerformanceCounter
SDL_GetPerformanceFrequency
SDL_GetPixelFormatName
SDL_GetPlatform
SDL_GetPowerInfo
SDL_GetPrefPath
SDL_GetQueuedAudioSize
SDL_GetRGB
SDL_GetRGBA
SDL_GetRelativeMouseMode
SDL_GetRelativeMouseState
SDL_GetRenderDrawBlendMode
SDL_GetRenderDrawColor
SDL_GetRenderDriverInfo
SDL_GetRenderTarget
SDL_GetRenderer
SDL_GetRendererInfo
SDL_GetRendererOutputSize
SDL_GetRevision
SDL_GetRevisionNumber
SDL_GetScancodeFromKey
SDL_GetScancodeFromName
SDL_GetScancodeName
SDL_GetShapedWindowMode
SDL_GetSurfaceAlphaMod
SDL_GetSurfaceBlendMode
SDL_GetSurfaceColorMod
SDL_GetSystemRAM
SDL_GetTextureAlphaMod
SDL_GetTextureBlendMode
SDL_GetTextureColorMod
SDL_GetThreadID
SDL_GetThreadName
SDL_GetTicks
SDL_GetTouchDevice
SDL_GetTouchFinger
SDL_GetVersion
SDL_GetVideoDriver
SDL_GetWindowBordersSize
SDL_GetWindowBrightness
SDL_GetWindowData
SDL_GetWindowDisplayIndex
SDL_GetWindowDisplayMode
SDL_GetWindowFlags
SDL_GetWindowFromID
SDL_GetWindowGammaRamp
SDL_GetWindowGrab
SDL_GetWindowID
SDL_GetWindowMaximumSize
SDL_GetWindowMinimumSize
SDL_GetWindowOpacity
SDL_GetWindowPixelFormat
SDL_GetWindowPosition
SDL_GetWindowSize
SDL_GetWindowSurface
SDL_GetWindowTitle
SDL_GetWindowWMInfo
SDL_GetYUVConversionMode
SDL_GetYUVConversionModeForResolution
SDL_HapticClose
SDL_HapticDestroyEffect
SDL_HapticEffectSupported
SDL_HapticGetEffectStatus
SDL_HapticIndex
SDL_HapticName
SDL_HapticNewEffect
SDL_HapticNumAxes
SDL_HapticNumEffects
SDL_HapticNumEffectsPlaying
SDL_HapticOpen
SDL_HapticOpenFromJoystick
SDL_HapticOpenFromMouse
SDL_HapticOpened
SDL_HapticPause
SDL_HapticQuery
SDL_HapticRumbleInit
SDL_HapticRumblePlay
SDL_HapticRumbleStop
SDL_HapticRumbleSupported
SDL_HapticRunEffect
SDL_HapticSetAutocenter
SDL_HapticSetGain
SDL_HapticStopAll
SDL_HapticStopEffect
SDL_HapticUnpause
SDL_HapticUpdateEffect
SDL_Has3DNow
SDL_HasAVX
SDL_HasAVX2
SDL_HasAltiVec
SDL_HasClipboardText
SDL_HasEvent
SDL_HasEvents
SDL_HasIntersection
SDL_HasMMX
SDL_HasNEON
SDL_HasRDTSC
SDL_HasSSE
SDL_HasSSE2
SDL_HasSSE3
SDL_HasSSE41
SDL_HasSSE42
SDL_HasScreenKeyboardSupport
SDL_HideWindow
SDL_ISPIXELFORMAT_ALPHA

SDL_pixels.h: Does this format have an alpha channel?

SDL_ISPIXELFORMAT_ARRAY

SDL_pixels.h: Is this an array format?

SDL_ISPIXELFORMAT_FOURCC

SDL_pixels.h: Is this a FourCC format?

SDL_ISPIXELFORMAT_INDEXED

SDL_pixels.h: Is this an indexed format?

SDL_ISPIXELFORMAT_PACKED

SDL_pixels.h: Is this a packed format?

SDL_Init
SDL_InitSubSystem
SDL_IntersectRect
SDL_IntersectRectAndLine
SDL_IsGameController
SDL_IsScreenKeyboardShown
SDL_IsScreenSaverEnabled
SDL_IsShapedWindow
SDL_IsTextInputActive
SDL_JoystickClose
SDL_JoystickCurrentPowerLevel
SDL_JoystickEventState
SDL_JoystickFromInstanceID
SDL_JoystickGetAttached
SDL_JoystickGetAxis
SDL_JoystickGetAxisInitialState
SDL_JoystickGetBall
SDL_JoystickGetButton
SDL_JoystickGetDeviceGUID
SDL_JoystickGetDeviceInstanceID
SDL_JoystickGetDeviceProduct
SDL_JoystickGetDeviceProductVersion
SDL_JoystickGetDeviceType
SDL_JoystickGetDeviceVendor
SDL_JoystickGetGUID
SDL_JoystickGetGUIDFromString
SDL_JoystickGetGUIDString
SDL_JoystickGetHat
SDL_JoystickGetProduct
SDL_JoystickGetProductVersion
SDL_JoystickGetType
SDL_JoystickGetVendor
SDL_JoystickInstanceID
SDL_JoystickIsHaptic
SDL_JoystickName
SDL_JoystickNameForIndex
SDL_JoystickNumAxes
SDL_JoystickNumBalls
SDL_JoystickNumButtons
SDL_JoystickNumHats
SDL_JoystickOpen
SDL_JoystickUpdate
SDL_LoadBMP_RW
SDL_LoadDollarTemplates
SDL_LoadFile_RW
SDL_LoadFunction
SDL_LoadObject
SDL_LoadWAV_RW
SDL_LockAudio
SDL_LockAudioDevice
SDL_LockJoysticks
SDL_LockMutex
SDL_LockSurface
SDL_LockTexture
SDL_Log
SDL_LogCritical
SDL_LogDebug
SDL_LogError
SDL_LogGetOutputFunction
SDL_LogGetPriority
SDL_LogInfo
SDL_LogMessage
SDL_LogMessageV
SDL_LogResetPriorities
SDL_LogSetAllPriority
SDL_LogSetOutputFunction
SDL_LogSetPriority
SDL_LogVerbose
SDL_LogWarn
SDL_LowerBlit
SDL_LowerBlitScaled
SDL_MUSTLOCK

SDL_surface.h: Evaluates to true if the surface needs to be locked before access.

SDL_MapRGB
SDL_MapRGBA
SDL_MasksToPixelFormatEnum
SDL_MaximizeWindow
SDL_MemoryBarrierAcquireFunction
SDL_MemoryBarrierReleaseFunction
SDL_MinimizeWindow
SDL_MixAudio
SDL_MixAudioFormat
SDL_MouseIsHaptic
SDL_NewAudioStream
SDL_NumHaptics
SDL_NumJoysticks
SDL_OpenAudio
SDL_OpenAudioDevice
SDL_PIXELFLAG

SDL_pixels.h: "internal" macro to check if a value is a pixel format value.

SDL_PIXELLAYOUT

SDL_pixels.h: Channel width layout of this format.

SDL_PIXELORDER

SDL_pixels.h: Component ordering of this format.

SDL_PIXELTYPE

SDL_pixels.h: Pixel type of this format.

SDL_PauseAudio
SDL_PauseAudioDevice
SDL_PeepEvents
SDL_PixelFormatEnumToMasks
SDL_PollEvent
SDL_PumpEvents
SDL_PushEvent
SDL_QueryTexture
SDL_QueueAudio
SDL_Quit
SDL_QuitSubSystem
SDL_RWFromConstMem
SDL_RWFromFP
SDL_RWFromFile
SDL_RWFromMem
SDL_RaiseWindow
SDL_ReadBE16
SDL_ReadBE32
SDL_ReadBE64
SDL_ReadLE16
SDL_ReadLE32
SDL_ReadLE64
SDL_ReadU8
SDL_RecordGesture
SDL_RegisterEvents
SDL_RemoveTimer
SDL_RenderClear
SDL_RenderCopy
SDL_RenderCopyEx
SDL_RenderDrawLine
SDL_RenderDrawLines
SDL_RenderDrawPoint
SDL_RenderDrawPoints
SDL_RenderDrawRect
SDL_RenderDrawRects
SDL_RenderFillRect
SDL_RenderFillRects
SDL_RenderGetClipRect
SDL_RenderGetIntegerScale
SDL_RenderGetLogicalSize
SDL_RenderGetMetalCommandEncoder
SDL_RenderGetMetalLayer
SDL_RenderGetScale
SDL_RenderGetViewport
SDL_RenderIsClipEnabled
SDL_RenderPresent
SDL_RenderReadPixels
SDL_RenderSetClipRect
SDL_RenderSetIntegerScale
SDL_RenderSetLogicalSize
SDL_RenderSetScale
SDL_RenderSetViewport
SDL_RenderTargetSupported
SDL_ReportAssertion
SDL_ResetAssertionReport
SDL_RestoreWindow
SDL_SaveAllDollarTemplates
SDL_SaveBMP_RW
SDL_SaveDollarTemplate
SDL_SemPost
SDL_SemTryWait
SDL_SemValue
SDL_SemWait
SDL_SemWaitTimeout
SDL_SetAssertionHandler
SDL_SetClipRect
SDL_SetClipboardText
SDL_SetColorKey
SDL_SetCursor
SDL_SetError
SDL_SetEventFilter
SDL_SetHint
SDL_SetHintWithPriority
SDL_SetMainReady
SDL_SetMemoryFunctions
SDL_SetModState
SDL_SetPaletteColors
SDL_SetPixelFormatPalette
SDL_SetRelativeMouseMode
SDL_SetRenderDrawBlendMode
SDL_SetRenderDrawColor
SDL_SetRenderTarget
SDL_SetSurfaceAlphaMod
SDL_SetSurfaceBlendMode
SDL_SetSurfaceColorMod
SDL_SetSurfacePalette
SDL_SetSurfaceRLE
SDL_SetTextInputRect
SDL_SetTextureAlphaMod
SDL_SetTextureBlendMode
SDL_SetTextureColorMod
SDL_SetThreadPriority
SDL_SetWindowBordered
SDL_SetWindowBrightness
SDL_SetWindowData
SDL_SetWindowDisplayMode
SDL_SetWindowFullscreen
SDL_SetWindowGammaRamp
SDL_SetWindowGrab
SDL_SetWindowHitTest
SDL_SetWindowIcon
SDL_SetWindowInputFocus
SDL_SetWindowMaximumSize
SDL_SetWindowMinimumSize
SDL_SetWindowModalFor
SDL_SetWindowOpacity
SDL_SetWindowPosition
SDL_SetWindowResizable
SDL_SetWindowShape
SDL_SetWindowSize
SDL_SetWindowTitle
SDL_SetYUVConversionMode
SDL_ShowCursor
SDL_ShowMessageBox
SDL_ShowSimpleMessageBox
SDL_ShowWindow
SDL_SoftStretch
SDL_StartTextInput
SDL_StopTextInput
SDL_TLSCreate
SDL_TLSGet
SDL_TLSSet
SDL_ThreadID
SDL_TryLockMutex
SDL_UnionRect
SDL_UnloadObject
SDL_UnlockAudio
SDL_UnlockAudioDevice
SDL_UnlockJoysticks
SDL_UnlockMutex
SDL_UnlockSurface
SDL_UnlockTexture
SDL_UpdateTexture
SDL_UpdateWindowSurface
SDL_UpdateWindowSurfaceRects
SDL_UpdateYUVTexture
SDL_UpperBlit
SDL_UpperBlitScaled
SDL_VideoInit
SDL_VideoQuit
SDL_Vulkan_CreateSurface
SDL_Vulkan_GetDrawableSize
SDL_Vulkan_GetInstanceExtensions
SDL_Vulkan_GetVkGetInstanceProcAddr
SDL_Vulkan_LoadLibrary
SDL_Vulkan_UnloadLibrary
SDL_WaitEvent
SDL_WaitEventTimeout
SDL_WaitThread
SDL_WarpMouseGlobal
SDL_WarpMouseInWindow
SDL_WasInit
SDL_WriteBE16
SDL_WriteBE32
SDL_WriteBE64
SDL_WriteLE16
SDL_WriteLE32
SDL_WriteLE64
SDL_WriteU8
SDL_abs
SDL_acos
SDL_acosf
SDL_asin
SDL_asinf
SDL_atan
SDL_atan2
SDL_atan2f
SDL_atanf
SDL_atof
SDL_atoi
SDL_calloc
SDL_ceil
SDL_ceilf
SDL_copysign
SDL_copysignf
SDL_cos
SDL_cosf
SDL_fabs
SDL_fabsf
SDL_floor
SDL_floorf
SDL_fmod
SDL_fmodf
SDL_free
SDL_getenv
SDL_iconv
SDL_iconv_close
SDL_iconv_open
SDL_iconv_string
SDL_isdigit
SDL_isspace
SDL_itoa
SDL_lltoa
SDL_log
SDL_log10
SDL_log10f
SDL_logf
SDL_ltoa
SDL_main
SDL_malloc
SDL_memcmp
SDL_memcpy
SDL_memmove
SDL_memset
SDL_pow
SDL_powf
SDL_qsort
SDL_realloc
SDL_scalbn
SDL_scalbnf
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_utf8strlen
SDL_vsnprintf
SDL_vsscanf
SDL_wcscmp
SDL_wcslcat
SDL_wcslcpy
SDL_wcslen

Type Definitions

ArrayOrder

See remarks of SDL_PixelFormatEnum

BitmapOrder

See remarks of SDL_PixelFormatEnum

FILE
LogCategory

See SDL_LOG_CATEGORY

NSWindow
PackedLayout

See remarks of SDL_PixelFormatEnum

PackedOrder

See remarks of SDL_PixelFormatEnum

PixelType

See remarks of SDL_PixelFormatEnum

SDL_AssertionHandler
SDL_AudioCallback
SDL_AudioDeviceID
SDL_AudioFilter
SDL_AudioFormat
SDL_AudioStream
SDL_EventFilter
SDL_FingerID
SDL_GLContext
SDL_GameController
SDL_GestureID
SDL_Haptic
SDL_HintCallback
SDL_HitTest
SDL_Joystick
SDL_JoystickID
SDL_Keycode
SDL_LogOutputFunction
SDL_PixelFormatEnum

See SDL_PixelFormatEnum

SDL_SpinLock
SDL_TLSID
SDL_ThreadFunction
SDL_TimerCallback
SDL_TimerID
SDL_TouchID
SDL_blit
SDL_calloc_func
SDL_compile_time_assert_enum
SDL_compile_time_assert_sint8
SDL_compile_time_assert_sint16
SDL_compile_time_assert_sint32
SDL_compile_time_assert_sint64
SDL_compile_time_assert_uint8
SDL_compile_time_assert_uint16
SDL_compile_time_assert_uint32
SDL_compile_time_assert_uint64
SDL_free_func
SDL_iconv_t
SDL_malloc_func
SDL_realloc_func
SDL_sem
SDL_threadID
SDL_vulkanInstance
SDL_vulkanSurface
Sint16
Sint32
Sint64
Uint8
Uint16
Uint32
Uint64
VkInstance
VkSurfaceKHR
__builtin_va_list
__darwin_off_t
__darwin_size_t
__darwin_va_list
__darwin_wchar_t
__int64_t
c_char
c_int
c_long
c_longlong
c_short
c_uint
c_ulong
c_ulonglong
c_ushort
fpos_t
va_list
wchar_t

Unions

SDL_Event
SDL_GameControllerButtonBind__bindgen_ty_1
SDL_HapticEffect
SDL_RWops__bindgen_ty_1
SDL_SysWMinfo__bindgen_ty_1
SDL_SysWMmsg__bindgen_ty_1
SDL_WindowShapeParams