3 Library functions
79,992 pages in section 3.
sd
-
SDL_Evaluates to true if the surface needs to be locked before access.MUSTLOCK -
SDL_Lock a mutexmutex P -
SDL_Unlock a mutexmutex V -
SDL_Defined if (and only if) the compiler supports ARM NEON intrinsics.NEON_ INTRINSICS -
SDL_(src/SDL_stretchcode.h)New Row Stretch Code -
SDL_Wrapper around Clang thread safety analysis annotations.NO_ THREAD_ SAFETY_ ANALYSIS -
SDL_A macro to tag a function's return value as critical.NODISCARD -
SDL_Don't let SDL use "long long" C types.NOLONGLONG -
SDL_A macro to tag a function as never-returning.NORETURN -
SDL_Number of nanoseconds in a millisecond.NS_ PER_ MS -
SDL_Number of nanoseconds in a second.NS_ PER_ SECOND -
SDL_Number of nanoseconds in a microsecond.NS_ PER_ US -
SDL_Convert nanoseconds to milliseconds.NS_ TO_ MS -
SDL_Convert nanoseconds to seconds.NS_ TO_ SECONDS -
SDL_Convert nanoseconds to microseconds.NS_ TO_ US -
SDL_A macro for wrapping code in do{}while(0); without compiler warnings.NULL_ WHILE_ LOOP_ CONDITION -
SDL_Count available joysticks.Num Joysticks -
SDL_Let iOS apps with external event handling report onApplicationDidChangeStatusBarOrientation.On Application Did Change Status Bar Orientation -
SDL_Let iOS apps with external event handling report onApplicationDidEnterBackground.On Application Did Enter Background -
SDL_Let iOS apps with external event handling report onApplicationDidBecomeActive.On Application Did Enter Foreground -
SDL_Let iOS apps with external event handling report onApplicationDidReceiveMemoryWarning.On Application Did Receive Memory Warning -
SDL_Let iOS apps with external event handling report onApplicationWillResignActive.On Application Will Enter Background -
SDL_Let iOS apps with external event handling report onApplicationWillEnterForeground.On Application Will Enter Foreground -
SDL_Let iOS apps with external event handling report onApplicationWillTerminate.On Application Will Terminate -
SDL_Opens the audio device with the desired parameters.Open Audio -
SDL_Open a specific audio device.Open Audio Device -
SDL_Convenience function for straightforward audio init for the common case.Open Audio Device Stream -
SDL_Open a video recording device (a "camera").Open Camera -
SDL_Opens up a container for local filesystem storage.Open File Storage -
SDL_Open a gamepad for use.Open Gamepad -
SDL_Open a haptic device for use.Open Haptic -
SDL_Open a haptic device for use from a joystick device.Open Haptic From Joystick -
SDL_Try to open a haptic device from the current mouse.Open Haptic From Mouse -
SDL_Create a custom SDL_IOStream .Open IO -
SDL_Open a joystick for use.Open Joystick -
SDL_Open a sensor for use.Open Sensor -
SDL_Opens up a container using a client-provided storage interface.Open Storage -
SDL_Opens up a read-only container for the application's filesystem.Open Title Storage -
SDL_Open a URL/URI in the browser or other appropriate external application.Open URL -
SDL_Opens up a container for a user's unique read/write filesystem.Open User Storage -
SDL_Macro that annotates function params with output buffer size.OUT_ BYTECAP -
SDL_Macro that annotates function params with output buffer size.OUT_ CAP -
SDL_Macro that annotates function params with output buffer string size.OUT_ Z_ BYTECAP -
SDL_Macro that annotates function params with output string buffer size.OUT_ Z_ CAP -
SDL_Set an error indicating that memory allocation failed.Out Of Memory -
SDL_YUV video overlayOverlay -
SDL_Color palette for 8-bit pixel formatsPalette -
SDL_Pauses and unpauses the audio callback processingPause Audio -
SDL_Use this function to pause audio playback on a specified device.Pause Audio Device -
SDL_Use this function to pause audio playback on the audio device associated with an audio stream.Pause Audio Stream Device -
SDL_Pause a haptic device.Pause Haptic -
SDL_Check the event queue for messages and optionally return them.Peep Events -
SDL_The SDL_MouseID for mouse events simulated with pen input.PEN_ MOUSEID -
SDL_The SDL_TouchID for touch events simulated with pen input.PEN_ TOUCHID -
SDL_The value of Pi, as a double-precision floating point literal.PI_ D -
SDL_The value of Pi, as a single-precision floating point literal.PI_ F -
SDL_A macro to retrieve the flags of an SDL_PixelFormat .PIXELFLAG -
SDL_Stores surface format informationPixel Format -
SDL_A macro to retrieve the layout of an SDL_PixelFormat .PIXELLAYOUT -
SDL_A macro to retrieve the order of an SDL_PixelFormat .PIXELORDER -
SDL_A macro to retrieve the type of an SDL_PixelFormat .PIXELTYPE -
SDL_A preprocessor macro that is only defined if compiling for Nintendo 3DS.PLATFORM_ 3DS -
SDL_A preprocessor macro that is only defined if compiling for AIX.PLATFORM_ AIX -
SDL_A preprocessor macro that is only defined if compiling for Android.PLATFORM_ ANDROID -
SDL_A preprocessor macro that is only defined if compiling for Apple platforms.PLATFORM_ APPLE -
SDL_A preprocessor macro that is only defined if compiling for BSDiPLATFORM_ BSDI -
SDL_A preprocessor macro that is only defined if compiling for Cygwin.PLATFORM_ CYGWIN -
SDL_A preprocessor macro that is only defined if compiling for Emscripten.PLATFORM_ EMSCRIPTEN -
SDL_A preprocessor macro that is only defined if compiling for FreeBSD.PLATFORM_ FREEBSD -
SDL_A preprocessor macro that is only defined if compiling for Microsoft GDK on any platform.PLATFORM_ GDK -
SDL_A preprocessor macro that is only defined if compiling for Haiku OS.PLATFORM_ HAIKU -
SDL_A preprocessor macro that is only defined if compiling for HP-UX.PLATFORM_ HPUX -
SDL_A preprocessor macro that is only defined if compiling for iOS.PLATFORM_ IOS -
SDL_A preprocessor macro that is only defined if compiling for IRIX.PLATFORM_ IRIX -
SDL_A preprocessor macro that is only defined if compiling for Linux.PLATFORM_ LINUX -
SDL_A preprocessor macro that is only defined if compiling for macOS.PLATFORM_ MACOS -
SDL_A preprocessor macro that is only defined if compiling for NetBSD.PLATFORM_ NETBSD -
SDL_A preprocessor macro that is only defined if compiling for OpenBSD.PLATFORM_ OPENBSD -
SDL_A preprocessor macro that is only defined if compiling for OS/2.PLATFORM_ OS2 -
SDL_A preprocessor macro that is only defined if compiling for Tru64 (OSF/1).PLATFORM_ OSF -
SDL_A preprocessor macro that is only defined if compiling for Sony PlayStation 2.PLATFORM_ PS2 -
SDL_A preprocessor macro that is only defined if compiling for Sony PSP.PLATFORM_ PSP -
SDL_A preprocessor macro that is only defined if compiling for QNX Neutrino.PLATFORM_ QNXNTO -
SDL_A preprocessor macro that is only defined if compiling for RISC OS.PLATFORM_ RISCOS -
SDL_A preprocessor macro that is only defined if compiling for SunOS/Solaris.PLATFORM_ SOLARIS -
SDL_A preprocessor macro that is only defined if compiling for tvOS.PLATFORM_ TVOS -
SDL_A preprocessor macro that is only defined if compiling for a Unix-like system.PLATFORM_ UNIX -
SDL_A preprocessor macro that is only defined if compiling for VisionOS.PLATFORM_ VISIONOS -
SDL_A preprocessor macro that is only defined if compiling for Sony Vita.PLATFORM_ VITA -
SDL_A preprocessor macro that is only defined if compiling for desktop Windows.PLATFORM_ WIN32 -
SDL_A preprocessor macro that is only defined if compiling for Windows.PLATFORM_ WINDOWS -
SDL_A preprocessor macro that is only defined if compiling for Microsoft GDK for Windows.PLATFORM_ WINGDK -
SDL_A preprocessor macro that is only defined if compiling for Xbox One.PLATFORM_ XBOXONE -
SDL_A preprocessor macro that is only defined if compiling for Xbox Series.PLATFORM_ XBOXSERIES -
SDL_Run a simple rumble effect on a haptic device.Play Haptic Rumble -
SDL_Determine whether a point resides inside a rectangle.Point In Rect -
SDL_Determine whether a point resides inside a floating point rectangle.Point In Rect Float -
SDL_Poll for currently pending events.Poll Event -
SDL_Ends the most-recently pushed debug group.Pop GPUDebug Group -
SDL_Raise x to the power ypow -
SDL_Raise x to the power ypowf -
SDL_Premultiply the alpha on a block of pixels.Premultiply Alpha -
SDL_Premultiply the alpha in a surface.Premultiply Surface Alpha -
SDL_A printf-formatting string prefix for a longlong value.PRILL_ PREFIX -
SDL_A printf-formatting string for a longlong value.PRILLd -
SDL_A printf-formatting string for a unsignedlonglong value.PRILLu -
SDL_A printf-formatting string for an unsignedlonglong value as upper-case hexadecimal.PRILLX -
SDL_A printf-formatting string for an unsignedlonglong value as lower-case hexadecimal.PRILLx -
SDL_Macro that annotates function params as printf-style format strings.PRINTF_ FORMAT_ STRING -
SDL_Macro that annotates a vararg function that operates like printf.PRINTF_ VARARG_ FUNC -
SDL_Macro that annotates a va_list function that operates like printf.PRINTF_ VARARG_ FUNCV -
SDL_A printf-formatting string for an Sint32 value.PRIs32 -
SDL_A printf-formatting string for an Sint64 value.PRIs64 -
SDL_A printf-formatting string for a Uint32 value.PRIu32 -
SDL_A printf-formatting string for a Uint64 value.PRIu64 -
SDL_A printf-formatting string for a Uint32 value as upper-case hexadecimal.PRIX32 -
SDL_A printf-formatting string for a Uint32 value as lower-case hexadecimal.PRIx32 -
SDL_A printf-formatting string for a Uint64 value as upper-case hexadecimal.PRIX64 -
SDL_A printf-formatting string for a Uint64 value as lower-case hexadecimal.PRIx64 -
SDL_The pointer to the global wl_display object used by the Wayland video backend.PROP_ GLOBAL_ VIDEO_ WAYLAND_ WL_ DISPLAY_ POINTER -
SDL_Wrapper around Clang thread safety analysis annotations.PT_ GUARDED_ BY -
SDL_Pump the event loop, gathering events from the input devices.Pump Events -
SDL_Add an event to the event queue.Push Event -
SDL_Pushes data to a uniform slot on the command buffer.Push GPUCompute Uniform Data -
SDL_Begins a debug group with an arbitary name.Push GPUDebug Group -
SDL_Pushes data to a fragment uniform slot on the command buffer.Push GPUFragment Uniform Data -
SDL_Pushes data to a vertex uniform slot on the command buffer.Push GPUVertex Uniform Data -
SDL_Add data to the stream.Put Audio Stream Data -
SDL_(src/SDL_stretchcode.h)Put Row Stretch Code -
SDL_Sort an array.qsort -
SDL_Sort an array, passing a userdata pointer to the compare function.qsort_ r -
SDL_Checks the status of a fence.Query GPUFence -
SDL_Clean up all initialized subsystems.Quit -
SDL_Quit requested eventQuit Event -
SDL_Shut down specific SDL subsystems.Quit Sub System -
SDL_Request that a window be raised above other windows and gain the input focus.Raise Window -
SDL_Generate a pseudo-random number less than n for positive nrand -
SDL_Generate 32 pseudo-random bits.rand_ bits -
SDL_Generate 32 pseudo-random bits.rand_ bits_ r -
SDL_Generate a pseudo-random number less than n for positive nrand_ r -
SDL_Generate a uniform pseudo-random floating point number less than 1.0randf -
SDL_Generate a uniform pseudo-random floating point number less than 1.0randf_ r -
SDL_Start an async read.Read Async IO -
SDL_Read from a data source.Read IO -
SDL_Read all the output from a process.Read Process -
SDL_Use this function to read 16 bits of big-endian data from an SDL_IOStream and return in native format.Read S16BE -
SDL_Use this function to read 16 bits of little-endian data from an SDL_IOStream and return in native format.Read S16LE -
SDL_Use this function to read 32 bits of big-endian data from an SDL_IOStream and return in native format.Read S32BE -
SDL_Use this function to read 32 bits of little-endian data from an SDL_IOStream and return in native format.Read S32LE -
SDL_Use this function to read 64 bits of big-endian data from an SDL_IOStream and return in native format.Read S64BE -
SDL_Use this function to read 64 bits of little-endian data from an SDL_IOStream and return in native format.Read S64LE -
SDL_Use this function to read a signed byte from an SDL_IOStream .Read S8 -
SDL_Synchronously read a file from a storage container into a client-provided buffer.Read Storage File -
SDL_Retrieves a single pixel from a surface.Read Surface Pixel -
SDL_Retrieves a single pixel from a surface.Read Surface Pixel Float -
SDL_Use this function to read 16 bits of big-endian data from an SDL_IOStream and return in native format.Read U16BE -
SDL_Use this function to read 16 bits of little-endian data from an SDL_IOStream and return in native format.Read U16LE -
SDL_Use this function to read 32 bits of big-endian data from an SDL_IOStream and return in native format.Read U32BE -
SDL_Use this function to read 32 bits of little-endian data from an SDL_IOStream and return in native format.Read U32LE -
SDL_Use this function to read 64 bits of big-endian data from an SDL_IOStream and return in native format.Read U64BE -
SDL_Use this function to read 64 bits of little-endian data from an SDL_IOStream and return in native format.Read U64LE -
SDL_Use this function to read a byte from an SDL_IOStream .Read U8 -
SDL_Change the size of allocated memory.realloc -
SDL_Defines a rectangular areaRect -
SDL_Determine whether a rectangle has no area.Rect Empty -
SDL_Determine whether a floating point rectangle can contain any point.Rect Empty Float -
SDL_Determine whether two rectangles are equal.Rects Equal -
SDL_Determine whether two floating point rectangles are equal, within some given epsilon.Rects Equal Epsilon -
SDL_Determine whether two floating point rectangles are equal, within a default epsilon.Rects Equal Float -
SDL_Convert an SDL_Rect to SDL_FRectRect To FRect -
SDL_Register a win32 window class for SDL's use.Register App -
SDL_Allocate a set of user-defined events, and return the beginning event number for that set of events.Register Events -
SDL_Handle a Reinterpret Cast properly whether using C or C++.reinterpret_ cast -
SDL_Wrapper around Clang thread safety analysis annotations.RELEASE -
SDL_Wrapper around Clang thread safety analysis annotations.RELEASE_ GENERIC -
SDL_Wrapper around Clang thread safety analysis annotations.RELEASE_ SHARED -
SDL_Release a frame of video acquired from a camera.Release Camera Frame -
SDL_Frees the given buffer as soon as it is safe to do so.Release GPUBuffer -
SDL_Frees the given compute pipeline as soon as it is safe to do so.Release GPUCompute Pipeline -
SDL_Releases a fence obtained from SDL_SubmitGPUCommandBufferAndAcquireFence .Release GPUFence -
SDL_Frees the given graphics pipeline as soon as it is safe to do so.Release GPUGraphics Pipeline -
SDL_Frees the given sampler as soon as it is safe to do so.Release GPUSampler -
SDL_Frees the given shader as soon as it is safe to do so.Release GPUShader -
SDL_Frees the given texture as soon as it is safe to do so.Release GPUTexture -
SDL_Frees the given transfer buffer as soon as it is safe to do so.Release GPUTransfer Buffer -
SDL_Unclaims a window, destroying its swapchain structure.Release Window From GPUDevice -
SDL_Reinitialize the SDL mapping database to its initial state.Reload Gamepad Mappings -
SDL_Remove an event watch callback added with SDL_AddEventWatch ().Remove Event Watch -
SDL_Remove a function watching a particular hint.Remove Hint Callback -
SDL_Remove a file or an empty directory.Remove Path -
SDL_Remove a file or an empty directory in a writable storage container.Remove Storage Path -
SDL_Remove all alternate versions of a surface.Remove Surface Alternate Images -
SDL_Remove a timer created with SDL_AddTimer ().Remove Timer -
SDL_Removes a tray entry.Remove Tray Entry -
SDL_Rename a file or directory.Rename Path -
SDL_Rename a file or directory in a writable storage container.Rename Storage Path -
SDL_Clear the current rendering target with the drawing color.Render Clear -
SDL_Get whether clipping is enabled on the given render target.Render Clip Enabled -
SDL_Get a point in render coordinates when given a point in window coordinates.Render Coordinates From Window -
SDL_Get a point in window coordinates when given a point in render coordinates.Render Coordinates To Window -
SDL_Draw debug text to an SDL_Renderer .Render Debug Text -
SDL_Draw debug text to an SDL_Renderer .Render Debug Text Format -
SDL_Fill a rectangle on the current rendering target with the drawing color at subpixel precision.Render Fill Rect -
SDL_Fill some number of rectangles on the current rendering target with the drawing color at subpixel precision.Render Fill Rects -
SDL_Render a list of triangles, optionally using a texture and indices into the vertex array Color and alpha modulation is done per vertex ( SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).Render Geometry -
SDL_Render a list of triangles, optionally using a texture and indices into the vertex arrays Color and alpha modulation is done per vertex ( SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).Render Geometry Raw -
SDL_Draw a line on the current rendering target at subpixel precision.Render Line -
SDL_Draw a series of connected lines on the current rendering target at subpixel precision.Render Lines -
SDL_Draw a point on the current rendering target at subpixel precision.Render Point -
SDL_Draw multiple points on the current rendering target at subpixel precision.Render Points -
SDL_Update the screen with any rendering performed since the previous call.Render Present -
SDL_Read pixels from the current rendering target.Render Read Pixels -
SDL_Draw a rectangle on the current rendering target at subpixel precision.Render Rect -
SDL_Draw some number of rectangles on the current rendering target at subpixel precision.Render Rects -
SDL_Copy a portion of the texture to the current rendering target at subpixel precision.Render Texture -
SDL_Perform a scaled copy using the 9-grid algorithm to the current rendering target at subpixel precision.Render Texture9Grid -
SDL_Copy a portion of the source texture to the current rendering target, with affine transform, at subpixel precision.Render Texture Affine -
SDL_Copy a portion of the source texture to the current rendering target, with rotation and flipping, at subpixel precision.Render Texture Rotated -
SDL_Tile a portion of the texture to the current rendering target at subpixel precision.Render Texture Tiled -
SDL_Return whether an explicit rectangle was set as the viewport.Render Viewport Set -
SDL_Never call this directly.Report Assertion -
SDL_Request permissions at runtime, asynchronously.Request Android Permission -
SDL_Wrapper around Clang thread safety analysis annotations.REQUIRES -
SDL_Wrapper around Clang thread safety analysis annotations.REQUIRES_ SHARED -
SDL_Clear the list of all assertion failures.Reset Assertion Report -
SDL_Reset a hint to the default value.Reset Hint -
SDL_Reset all hints to the default values.Reset Hints -
SDL_Clear the state of the keyboard.Reset Keyboard -
SDL_Reset all priorities to default.Reset Log Priorities -
SDL_Window resize event structureResize Event -
SDL_Request that the size and position of a minimized or maximized window be restored.Restore Window -
SDL_A macro to tag a pointer variable, to help with pointer aliasing.RESTRICT -
SDL_Use this function to unpause audio playback on a specified device.Resume Audio Device -
SDL_Use this function to unpause audio playback on the audio device associated with an audio stream.Resume Audio Stream Device -
SDL_Resume a haptic device.Resume Haptic -
SDL_Wrapper around Clang thread safety analysis annotations.RETURN_ CAPABILITY -
SDL_This macro is a string describing the source at a particular point in development.REVISION -
SDL_Round x to the nearest integer.round -
SDL_Round x to the nearest integer.roundf -
SDL_Start a rumble effect on a gamepad.Rumble Gamepad -
SDL_Start a rumble effect in the gamepad's triggers.Rumble Gamepad Triggers -
SDL_Start a rumble effect.Rumble Joystick -
SDL_Start a rumble effect in the joystick's triggers.Rumble Joystick Triggers -
SDL_Initializes and launches an SDL application, by doing platform-specific initialization before calling your mainFunction and cleanups after it returns, if that is needed for a specific platform, otherwise it just calls mainFunction.Run App -
SDL_Run the haptic effect on its associated haptic device.Run Haptic Effect -
SDL_Call a function on the main thread during event processing.Run On Main Thread -
SDL_(src/SDL_stretchcode.h)Run Row Stretch Code -
SDL_Short description of functionRWFrom File -
SDL_Save a surface to a file.Save BMP -
SDL_Save a surface to a seekable SDL data stream in BMP format.Save BMP_ IO -
SDL_Save all the data into a file path.Save File -
SDL_Save all the data into an SDL data stream.Save File_ IO -
SDL_Scale x by an integer power of two.scalbn -
SDL_Scale x by an integer power of two.scalbnf -
SDL_Creates a new surface identical to the existing surface, scaled to the desired size.Scale Surface -
SDL_Macro that annotates function params as scanf-style format strings.SCANF_ FORMAT_ STRING -
SDL_Macro that annotates a vararg function that operates like scanf.SCANF_ VARARG_ FUNC -
SDL_Macro that annotates a va_list function that operates like scanf.SCANF_ VARARG_ FUNCV -
SDL_Wrapper around Clang thread safety analysis annotations.SCOPED_ CAPABILITY -
SDL_Check whether the screen keyboard is shown for given window.Screen Keyboard Shown -
SDL_Check whether the screensaver is currently enabled.Screen Saver Enabled -
SDL_Convert seconds to nanoseconds.SECONDS_ TO_ NS -
SDL_Seek within an SDL_IOStream data stream.Seek IO -
SDL_Unlock a semaphore.Sem Post -
SDL_Attempt to lock a semaphore but don't suspend the thread.Sem Try Wait -
SDL_Return the current value of a semaphore.Sem Value -
SDL_Lock a semaphore and suspend the thread if the semaphore value is zero.Sem Wait -
SDL_Lock a semaphore, but only wait up to a specified maximum time.Sem Wait Timeout -
SDL_Trigger the Android system back button behavior.Send Android Back Button -
SDL_Send a user command to SDLActivity.Send Android Message -
SDL_Send a gamepad specific effect packet.Send Gamepad Effect -
SDL_Send a joystick specific effect packet.Send Joystick Effect -
SDL_Send a sensor update for an opened virtual joystick.Send Joystick Virtual Sensor Data -
SDL_Adjust the alpha properties of a surfaceSet Alpha -
SDL_Specify basic metadata about your app.Set App Metadata -
SDL_Specify metadata about your app through a set of properties.Set App Metadata Property -
SDL_Set an application-defined assertion handler.Set Assertion Handler -
SDL_Set an atomic variable to a value.Set Atomic Int -
SDL_Set a pointer to a value atomically.Set Atomic Pointer -
SDL_Set an atomic variable to a value.Set Atomic U32 -
SDL_Change the gain of an audio device.Set Audio Device Gain -
SDL_Set a callback that fires when data is about to be fed to an audio device.Set Audio Postmix Callback -
SDL_Change the input and output formats of an audio stream.Set Audio Stream Format -
SDL_Change the frequency ratio of an audio stream.Set Audio Stream Frequency Ratio -
SDL_Change the gain of an audio stream.Set Audio Stream Gain -
SDL_Set a callback that runs when data is requested from an audio stream.Set Audio Stream Get Callback -
SDL_Set the current input channel map of an audio stream.Set Audio Stream Input Channel Map -
SDL_Set the current output channel map of an audio stream.Set Audio Stream Output Channel Map -
SDL_Set a callback that runs when data is added to an audio stream.Set Audio Stream Put Callback -
SDL_Set a boolean property in a group of properties.Set Boolean Property -
SDL_Offer clipboard data to the OS.Set Clipboard Data -
SDL_Put UTF-8 text into the clipboard.Set Clipboard Text -
SDL_Sets the clipping rectangle for a surface.Set Clip Rect -
SDL_Sets the color key (transparent pixel) in a blittable surface and RLE acceleration.Set Color Key -
SDL_Sets a portion of the colormap for the given 8-bit surface.Set Colors -
SDL_Set the priority for the current thread.Set Current Thread Priority -
SDL_Set the active cursor.Set Cursor -
SDL_Set the value of a variable in the environment.setenv_ unsafe -
SDL_Set the value of a variable in the environment.Set Environment Variable -
SDL_Set the SDL error message for the current thread.Set Error -
SDL_Set the SDL error message for the current thread.Set Error V -
SDL_Set the state of processing events by type.Set Event Enabled -
SDL_Set up a filter to process all events before they are added to the internal event queue.Set Event Filter -
SDL_Set a floating point property in a group of properties.Set Float Property -
SDL_Set the state of gamepad event processing.Set Gamepad Events Enabled -
SDL_Update a gamepad's LED color.Set Gamepad LED -
SDL_Set the current mapping of a joystick or gamepad.Set Gamepad Mapping -
SDL_Set the player index of an opened gamepad.Set Gamepad Player Index -
SDL_Set whether data reporting for a gamepad sensor is enabled.Set Gamepad Sensor Enabled -
SDL_Sets the color gamma function for the displaySet Gamma -
SDL_Sets the color gamma lookup tables for the displaySet Gamma Ramp -
SDL_Configures the maximum allowed number of frames in flight.Set GPUAllowed Frames In Flight -
SDL_Sets the current blend constants on a command buffer.Set GPUBlend Constants -
SDL_Sets an arbitrary string constant to label a buffer.Set GPUBuffer Name -
SDL_Sets the current scissor state on a command buffer.Set GPUScissor -
SDL_Sets the current stencil reference value on a command buffer.Set GPUStencil Reference -
SDL_Changes the swapchain parameters for the given claimed window.Set GPUSwapchain Parameters -
SDL_Sets an arbitrary string constant to label a texture.Set GPUTexture Name -
SDL_Sets the current viewport state on a command buffer.Set GPUViewport -
SDL_Set the global autocenter of the device.Set Haptic Autocenter -
SDL_Set the global gain of the specified haptic device.Set Haptic Gain -
SDL_Set a hint with normal priority.Set Hint -
SDL_Set a hint with a specific priority.Set Hint With Priority -
SDL_Finish an initialization state transition.Set Initialized -
SDL_Use this function to set the animation callback on Apple iOS.Seti OSAnimation Callback -
SDL_Use this function to enable or disable the SDL event pump on Apple iOS.Seti OSEvent Pump -
SDL_Set the state of joystick event processing.Set Joystick Events Enabled -
SDL_Update a joystick's LED color.Set Joystick LED -
SDL_Set the player index of an opened joystick.Set Joystick Player Index -
SDL_Set the state of an axis on an opened virtual joystick.Set Joystick Virtual Axis -
SDL_Generate ball motion on an opened virtual joystick.Set Joystick Virtual Ball -
SDL_Set the state of a button on an opened virtual joystick.Set Joystick Virtual Button -
SDL_Set the state of a hat on an opened virtual joystick.Set Joystick Virtual Hat -
SDL_Set touchpad finger state on an opened virtual joystick.Set Joystick Virtual Touchpad -
SDL_Sets the UNIX nice value for a thread.Set Linux Thread Priority -
SDL_Sets the priority (not nice level) and scheduling policy for a thread.Set Linux Thread Priority And Policy -
SDL_Replace the default log output function with one of your own.Set Log Output Function -
SDL_Set the priority of all log categories.Set Log Priorities -
SDL_Set the priority of a particular log category.Set Log Priority -
SDL_Set the text prepended to log messages of a given priority.Set Log Priority Prefix -
SDL_Circumvent failure of SDL_Init () when not using SDL_main () as an entry point.Set Main Ready -
SDL_Replace SDL's memory allocation functions with a custom set.Set Memory Functions -
SDL_Set the current key modifier state for the keyboard.Set Mod State -
SDL_Set an integer property in a group of properties.Set Number Property -
SDL_Sets the colors in the palette of an 8-bit surface.Set Palette -
SDL_Set a range of colors in a palette.Set Palette Colors -
SDL_Set a pointer property in a group of properties.Set Pointer Property -
SDL_Set a pointer property in a group of properties with a cleanup function that is called when the property is deleted.Set Pointer Property With Cleanup -
SDL_Put UTF-8 text into the primary selection.Set Primary Selection Text -
SDL_Set the clip rectangle for rendering on the specified target.Set Render Clip Rect -
SDL_Set the color scale used for render operations.Set Render Color Scale -
SDL_Set the blend mode used for drawing operations (Fill and Line).Set Render Draw Blend Mode -
SDL_Set the color used for drawing operations.Set Render Draw Color -
SDL_Set the color used for drawing operations (Rect, Line and Clear).Set Render Draw Color Float -
SDL_Set a device-independent resolution and presentation mode for rendering.Set Render Logical Presentation -
SDL_Set the drawing scale for rendering on the current target.Set Render Scale -
SDL_Set a texture as the current rendering target.Set Render Target -
SDL_Set the drawing area for rendering on the current target.Set Render Viewport -
SDL_Toggle VSync of the given renderer.Set Render VSync -
SDL_(src/SDL_stretchcode.h)Set Row Stretch Code -
SDL_Set a human-readable name for a scancode.Set Scancode Name -
SDL_Set a string property in a group of properties.Set String Property -
SDL_Set an additional alpha value used in blit operations.Set Surface Alpha Mod -
SDL_Set the blend mode used for blit operations.Set Surface Blend Mode -
SDL_Set the clipping rectangle for a surface.Set Surface Clip Rect -
SDL_Set the color key (transparent pixel) in a surface.Set Surface Color Key -
SDL_Set an additional color value multiplied into blit operations.Set Surface Color Mod -
SDL_Set the colorspace used by a surface.Set Surface Colorspace -
SDL_Set the palette used by a surface.Set Surface Palette -
SDL_Set the RLE acceleration hint for a surface.Set Surface RLE -
SDL_Set the area used to type Unicode text input.Set Text Input Area -
SDL_Set an additional alpha value multiplied into render copy operations.Set Texture Alpha Mod -
SDL_Set an additional alpha value multiplied into render copy operations.Set Texture Alpha Mod Float -
SDL_Set the blend mode for a texture, used by SDL_RenderTexture ().Set Texture Blend Mode -
SDL_Set an additional color value multiplied into render copy operations.Set Texture Color Mod -
SDL_Set an additional color value multiplied into render copy operations.Set Texture Color Mod Float -
SDL_Set the scale mode used for texture scale operations.Set Texture Scale Mode -
SDL_Set a callback to run after the specified number of milliseconds has elapsed.Set Timer -
SDL_Set the current thread's value associated with a thread local storage ID.Set TLS -
SDL_Sets a callback to be invoked when the entry is selected.Set Tray Entry Callback -
SDL_Sets whether or not an entry is checked.Set Tray Entry Checked -
SDL_Sets whether or not an entry is enabled.Set Tray Entry Enabled -
SDL_Sets the label of an entry.Set Tray Entry Label -
SDL_Updates the system tray icon's icon.Set Tray Icon -
SDL_Updates the system tray icon's tooltip.Set Tray Tooltip -
SDL_Set up a video mode with the specified width, height and bits-per-pixel.Set Video Mode -
SDL_Set the window to always be above the others.Set Window Always On Top -
SDL_Request that the aspect ratio of a window's client area be set.Set Window Aspect Ratio -
SDL_Set the border state of a window.Set Window Bordered -
SDL_Set whether the window may have input focus.Set Window Focusable -
SDL_Request that the window's fullscreen state be changed.Set Window Fullscreen -
SDL_Set the display mode to use when a window is visible and fullscreen.Set Window Fullscreen Mode -
SDL_Provide a callback that decides if a window region has special properties.Set Window Hit Test -
SDL_Set the icon for a window.Set Window Icon -
SDL_Set a window's keyboard grab mode.Set Window Keyboard Grab -
SDL_Set the maximum size of a window's client area.Set Window Maximum Size -
SDL_Set the minimum size of a window's client area.Set Window Minimum Size -
SDL_Toggle the state of the window as modal.Set Window Modal -
SDL_Set a window's mouse grab mode.Set Window Mouse Grab -
SDL_Confines the cursor to the specified area of a window.Set Window Mouse Rect -
SDL_Set the opacity for a window.Set Window Opacity -
SDL_Set the window as a child of a parent window.Set Window Parent -
SDL_Request that the window's position be set.Set Window Position -
SDL_Set relative mouse mode for a window.Set Window Relative Mouse Mode -
SDL_Set the user-resizable state of a window.Set Window Resizable -
SDL_Set the shape of a transparent window.Set Window Shape -
SDL_Request that the size of a window's client area be set.Set Window Size -
SDL_Set a callback for every Windows message, run before TranslateMessage().Set Windows Message Hook -
SDL_Toggle VSync for the window surface.Set Window Surface VSync -
SDL_Set the title of a window.Set Window Title -
SDL_Set a callback for every X11 event.Set X11Event Hook -
SDL_Return whether initialization should be done.Should Init -
SDL_Return whether cleanup should be done.Should Quit -
SDL_Shows an Android toast notification.Show Android Toast -
SDL_Show the cursor.Show Cursor -
SDL_Create and launch a file dialog with the specified properties.Show File Dialog With Properties -
SDL_Create a modal message box.Show Message Box -
SDL_Displays a dialog that lets the user select a file on their filesystem.Show Open File Dialog -
SDL_Displays a dialog that lets the user select a folder on their filesystem.Show Open Folder Dialog -
SDL_Displays a dialog that lets the user choose a new or existing file on their filesystem.Show Save File Dialog -
SDL_Display a simple modal message box.Show Simple Message Box -
SDL_Show a window.Show Window -
SDL_Display the system-level window menu.Show Window System Menu -
SDL_Wake up any threads that are blocking in SDL_WaitAsyncIOResult ().Signal Async IOQueue -
SDL_Restart one of the threads that are waiting on the condition variable.Signal Condition -
SDL_Atomically increment a semaphore's value and wake waiting threads.Signal Semaphore -
SDL_Compute the sine of x .sin -
SDL_Compute the sine of x .sinf -
SDL_Append the 64 bit integer suffix to a signed integer literal.SINT64_ C -
SDL_Add two integers, checking for overflow.size_ add_ check_ overflow -
SDL_The largest value that a size_t can hold for the target platform.SIZE_ MAX -
SDL_Multiply two integers, checking for overflow.size_ mul_ check_ overflow -
SDL_This works exactly like snprintf() but doesn't require access to a C runtime.snprintf -
SDL_The name of the software renderer.SOFTWARE_ RENDERER -
SDL_Compute the square root of x .sqrt -
SDL_Compute the square root of x .sqrtf -
SDL_Seeds the pseudo-random number generator.srand -
SDL_This works exactly like sscanf() but doesn't require access to a C runtime.sscanf -
SDL_Defined if (and only if) the compiler supports Intel SSE2 intrinsics.SSE2_ INTRINSICS -
SDL_Defined if (and only if) the compiler supports Intel SSE3 intrinsics.SSE3_ INTRINSICS -
SDL_Defined if (and only if) the compiler supports Intel SSE4.1 intrinsics.SSE4_ 1_ INTRINSICS -
SDL_Defined if (and only if) the compiler supports Intel SSE4.2 intrinsics.SSE4_ 2_ INTRINSICS -
SDL_Defined if (and only if) the compiler supports Intel SSE intrinsics.SSE_ INTRINSICS -
SDL_Allocate memory on the stack (maybe).stack_ alloc -
SDL_A constant to represent standard gravity for accelerometer sensors.STANDARD_ GRAVITY -
SDL_Start accepting Unicode text input events in a window.Start Text Input -
SDL_Start accepting Unicode text input events in a window, with properties describing the input.Start Text Input With Properties -
SDL_Handle a Static Cast properly whether using C or C++.static_ cast -
SDL_Decode a UTF-8 string in reverse, one Unicode codepoint at a time.Step Back UTF8 -
SDL_Decode a UTF-8 string, one Unicode codepoint at a time.Step UTF8 -
SDL_Stop the haptic effect on its associated haptic device.Stop Haptic Effect -
SDL_Stop all the currently playing effects on a haptic device.Stop Haptic Effects -
SDL_Stop the simple rumble on a haptic device.Stop Haptic Rumble -
SDL_Stop receiving any text input events in a window.Stop Text Input -
SDL_Checks if the storage container is ready to use.Storage Ready -
SDL_Compare two null-terminated UTF-8 strings, case-insensitively.strcasecmp -
SDL_Search a UTF-8 string for the first instance of a specific substring, case-insensitively.strcasestr -
SDL_Search a string for the first instance of a specific byte.strchr -
SDL_Compare two null-terminated UTF-8 strings.strcmp -
SDL_Allocate a copy of a string.strdup -
SDL_librarystretch. h -
SDL_(src/SDL_stretch.h)Stretch Info -
SDL_(src/SDL_stretchcode.h)Stretch Row1 -
SDL_(src/SDL_stretchcode.h)Stretch Row2 -
SDL_(src/SDL_stretchcode.h)Stretch Row3 -
SDL_(src/SDL_stretchcode.h)Stretch Row4 -
SDL_(src/SDL_stretchcode.h)Stretch Row Info -
SDL_Perform a stretched pixel copy from one surface to another.Stretch Surface -
SDL_(src/SDL_stretch.h)Stretch Surface_ 23 -
SDL_Perform a stretch blit between two surfaces of the same format.Stretch Surface Blit -
SDL_Perform a stretch blit between two surfaces of the same format.Stretch Surface Rect -
SDL_Macro useful for building other macros with strings in them.STRINGIFY_ ARG -
SDL_Convert a GUID string into a SDL_GUID structure.String To GUID -
SDL_Concatenate strings.strlcat -
SDL_Copy a string.strlcpy -
SDL_This works exactly like strlen() but doesn't require access to a C runtime.strlen -
SDL_Convert a string to lowercase.strlwr -
SDL_Compare two UTF-8 strings, case-insensitively, up to a number of bytes.strncasecmp -
SDL_Compare two UTF-8 strings up to a number of bytes.strncmp -
SDL_Allocate a copy of a string, up to n characters.strndup -
SDL_This works exactly like strnlen() but doesn't require access to a C runtime.strnlen -
SDL_Search a string, up to n bytes, for the first instance of a specific substring.strnstr -
SDL_Searches a string for the first occurence of any character contained in a breakset, and returns a pointer from the string to that character.strpbrk -
SDL_Search a string for the last instance of a specific byte.strrchr -
SDL_Reverse a string's contents.strrev -
SDL_Search a string for the first instance of a specific substring.strstr -
SDL_Parse a double from a string.strtod -
SDL_This works exactly like strtok_r() but doesn't require access to a C runtime.strtok_ r -
SDL_Parse a long from a string.strtol -
SDL_Parse a longlong from a string.strtoll -
SDL_Parse an unsignedlong from a string.strtoul -
SDL_Parse an unsignedlonglong from a string.strtoull -
SDL_Convert a string to uppercase.strupr -
SDL_Submits a command buffer so its commands can be processed on the GPU.Submit GPUCommand Buffer -
SDL_Submits a command buffer so its commands can be processed on the GPU, and acquires a fence associated with the command buffer.Submit GPUCommand Buffer And Acquire Fence -
SDL_Graphical Surface StructureSurface -
SDL_Return whether a surface has alternate versions available.Surface Has Alternate Images -
SDL_Returns whether the surface has a color key.Surface Has Color Key -
SDL_Returns whether the surface is RLE enabled.Surface Has RLE -
SDL_Byte-swap an unsigned 16-bit number.Swap16