📦 libsdl3-doc
2201 pages · page 8 of 12
S (continued)
- SDL_log10f(3)Compute the base-10 logarithm of x.✨
- SDL_LogCategory(3type)The predefined log categories✨
- SDL_LogCritical(3)Log a message with SDL_LOG_PRIORITY_CRITICAL.✨
- SDL_LogDebug(3)Log a message with SDL_LOG_PRIORITY_DEBUG.✨
- SDL_LogError(3)Log a message with SDL_LOG_PRIORITY_ERROR.✨
- SDL_logf(3)Compute the natural logarithm of x.✨
- SDL_LogInfo(3)Log a message with SDL_LOG_PRIORITY_INFO.✨
- SDL_LogMessage(3)Log a message with the specified category and priority.✨
- SDL_LogMessageV(3)Log a message with the specified category and priority.✨
- SDL_LogOutputFunction(3type)The prototype for the log output callback function.✨
- SDL_LogPriority(3type)The predefined log priorities✨
- SDL_LogTrace(3)Log a message with SDL_LOG_PRIORITY_TRACE.✨
- SDL_LogVerbose(3)Log a message with SDL_LOG_PRIORITY_VERBOSE.✨
- SDL_LogWarn(3)Log a message with SDL_LOG_PRIORITY_WARN.✨
- SDL_lround(3)Round x to the nearest integer representable as a long✨
- SDL_lroundf(3)Round x to the nearest integer representable as a long✨
- SDL_LSX_INTRINSICS(3)Defined if (and only if) the compiler supports Loongarch LSX intrinsics.✨
- SDL_ltoa(3)Convert a long integer into a string.✨
- SDL_main(3)An app-supplied function for program entry.✨
- SDL_MAIN_AVAILABLE(3)Defined if the target platform offers a special mainline through SDL.✨
- SDL_main_func(3type)The prototype for the application's main() function✨
- SDL_MAIN_HANDLED(3)Inform SDL that the app is providing an entry point instead of SDL.✨
- SDL_MAIN_NEEDED(3)Defined if the target platform _requires_ a special mainline through SDL.✨
- SDL_MAIN_USE_CALLBACKS(3)Inform SDL to use the main callbacks instead of main.✨
- SDL_MainThreadCallback(3type)Callback run on the main thread.✨
- SDL_MAJOR_VERSION(3)The current major version of SDL headers.✨
- SDL_MALLOC(3)A macro to tag a function as an allocator.✨
- SDL_malloc(3)Allocate uninitialized memory.✨
- SDL_malloc_func(3type)A callback used to implement SDL_malloc().✨
- SDL_MapGPUTransferBuffer(3)Maps a transfer buffer into application address space.✨
- SDL_MapRGB(3)Map an RGB triple to an opaque pixel value for a given pixel format.✨
- SDL_MapRGBA(3)Map an RGBA quadruple to a pixel value for a given pixel format.✨
- SDL_MapSurfaceRGB(3)Map an RGB triple to an opaque pixel value for a surface.✨
- SDL_MapSurfaceRGBA(3)Map an RGBA quadruple to a pixel value for a surface.✨
- SDL_MatrixCoefficients(3type)Colorspace matrix coefficients.✨
- SDL_max(3)Return the greater of two values.✨
- SDL_MaximizeWindow(3)Request that the window be made as large as possible.✨
- SDL_memcmp(3)Compare two buffers of memory.✨
- SDL_memcpy(3)Copy non-overlapping memory.✨
- SDL_memmove(3)Copy memory ranges that might overlap.✨
- SDL_MemoryBarrierAcquire(3)Insert a memory acquire barrier (macro version).✨
- SDL_MemoryBarrierAcquireFunction(3)Insert a memory acquire barrier (function version).✨
- SDL_MemoryBarrierRelease(3)Insert a memory release barrier (macro version).✨
- SDL_MemoryBarrierReleaseFunction(3)Insert a memory release barrier (function version).✨
- SDL_memset(3)Initialize all bytes of buffer of memory to a specific value.✨
- SDL_memset4(3)Initialize all 32-bit words of buffer of memory to a specific value.✨
- SDL_MessageBoxButtonData(3type)Individual button data.✨
- SDL_MessageBoxButtonFlags(3type)SDL_MessageBoxButtonData flags.✨
- SDL_MessageBoxColor(3type)RGB value used in a message box color scheme✨
- SDL_MessageBoxColorScheme(3type)A set of colors to use for message box dialogs✨
- SDL_MessageBoxColorType(3type)An enumeration of indices inside the colors array of SDL_MessageBoxColorScheme.✨
- SDL_MessageBoxData(3type)MessageBox structure containing title, text, window, etc.✨
- SDL_MessageBoxFlags(3type)Message box flags.✨
- SDL_Metal_CreateView(3)Create a CAMetalLayer-backed NSView/UIView and attach it to the specified window.✨
- SDL_Metal_DestroyView(3)Destroy an existing SDL_MetalView object.✨
- SDL_Metal_GetLayer(3)Get a pointer to the backing CAMetalLayer for the given view.✨
- SDL_MetalView(3type)A handle to a CAMetalLayer-backed NSView (macOS) or UIView (iOS/tvOS).✨
- SDL_MICRO_VERSION(3)The current micro (or patchlevel) version of the SDL headers.✨
- SDL_min(3)Return the lesser of two values.✨
- SDL_MinimizeWindow(3)Request that the window be minimized to an iconic representation.✨
- SDL_MINOR_VERSION(3)The current minor version of the SDL headers.✨
- SDL_MixAudio(3)Mix audio data in a specified format.✨
- SDL_MMX_INTRINSICS(3)Defined if (and only if) the compiler supports Intel MMX intrinsics.✨
- SDL_modf(3)Split x into integer and fractional parts✨
- SDL_modff(3)Split x into integer and fractional parts✨
- SDL_MostSignificantBitIndex32(3)Get the index of the most significant (set) bit in a 32-bit number.✨
- SDL_MOUSE_TOUCHID(3)The SDL_TouchID for touch events simulated with mouse input.✨
- SDL_MouseButtonEvent(3type)Mouse button event structure (event.button.*)✨
- SDL_MouseButtonFlags(3type)A bitmask of pressed mouse buttons, as reported by SDL_GetMouseState, etc.✨
- SDL_MouseDeviceEvent(3type)Mouse device event structure (event.mdevice.*)✨
- SDL_MouseID(3type)This is a unique ID for a mouse for the time it is connected to the system, and is never reused for the lifetime of the application.✨
- SDL_MouseMotionEvent(3type)Mouse motion event structure (event.motion.*)✨
- SDL_MouseMotionTransformCallback(3type)A callback used to transform mouse motion delta from raw values.✨
- SDL_MouseWheelDirection(3type)Scroll direction types for the Scroll event✨
- SDL_MouseWheelEvent(3type)Mouse wheel event structure (event.wheel.*)✨
- SDL_MS_PER_SECOND(3)Number of milliseconds in a second.✨
- SDL_MS_TO_NS(3)Convert milliseconds to nanoseconds.✨
- SDL_murmur3_32(3)Calculate a 32-bit MurmurHash3 value for a block of data.✨
- SDL_MUSTLOCK(3)Evaluates to true if the surface needs to be locked before access.✨
- SDL_Mutex(3type)A means to serialize access to a resource between threads.✨
- SDL_NEON_INTRINSICS(3)Defined if (and only if) the compiler supports ARM NEON intrinsics.✨
- SDL_NO_THREAD_SAFETY_ANALYSIS(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_NODISCARD(3)A macro to tag a function's return value as critical.✨
- SDL_NOLONGLONG(3)Don't let SDL use "long long" C types.✨
- SDL_NORETURN(3)A macro to tag a function as never-returning.✨
- SDL_NS_PER_MS(3)Number of nanoseconds in a millisecond.✨
- SDL_NS_PER_SECOND(3)Number of nanoseconds in a second.✨
- SDL_NS_PER_US(3)Number of nanoseconds in a microsecond.✨
- SDL_NS_TO_MS(3)Convert nanoseconds to milliseconds.✨
- SDL_NS_TO_SECONDS(3)Convert nanoseconds to seconds.✨
- SDL_NS_TO_US(3)Convert nanoseconds to microseconds.✨
- SDL_NSTimerCallback(3type)Function prototype for the nanosecond timer callback function.✨
- SDL_NULL_WHILE_LOOP_CONDITION(3)A macro for wrapping code in do {} while (0); without compiler warnings.✨
- SDL_OnApplicationDidChangeStatusBarOrientation(3)Let iOS apps with external event handling report onApplicationDidChangeStatusBarOrientation.✨
- SDL_OnApplicationDidEnterBackground(3)Let iOS apps with external event handling report onApplicationDidEnterBackground.✨
- SDL_OnApplicationDidEnterForeground(3)Let iOS apps with external event handling report onApplicationDidBecomeActive.✨
- SDL_OnApplicationDidReceiveMemoryWarning(3)Let iOS apps with external event handling report onApplicationDidReceiveMemoryWarning.✨
- SDL_OnApplicationWillEnterBackground(3)Let iOS apps with external event handling report onApplicationWillResignActive.✨
- SDL_OnApplicationWillEnterForeground(3)Let iOS apps with external event handling report onApplicationWillEnterForeground.✨
- SDL_OnApplicationWillTerminate(3)Let iOS apps with external event handling report onApplicationWillTerminate.✨
- SDL_OpenAudioDevice(3)Open a specific audio device.✨
- SDL_OpenAudioDeviceStream(3)Convenience function for straightforward audio init for the common case.✨
- SDL_OpenCamera(3)Open a video recording device (a "camera").✨
- SDL_OpenFileStorage(3)Opens up a container for local filesystem storage.✨
- SDL_OpenGamepad(3)Open a gamepad for use.✨
- SDL_OpenHaptic(3)Open a haptic device for use.✨
- SDL_OpenHapticFromJoystick(3)Open a haptic device for use from a joystick device.✨
- SDL_OpenHapticFromMouse(3)Try to open a haptic device from the current mouse.✨
- SDL_OpenIO(3)Create a custom SDL_IOStream.✨
- SDL_OpenJoystick(3)Open a joystick for use.✨
- SDL_OpenSensor(3)Open a sensor for use.✨
- SDL_OpenStorage(3)Opens up a container using a client-provided storage interface.✨
- SDL_OpenTitleStorage(3)Opens up a read-only container for the application's filesystem.✨
- SDL_OpenURL(3)Open a URL/URI in the browser or other appropriate external application.✨
- SDL_OpenUserStorage(3)Opens up a container for a user's unique read/write filesystem.✨
- SDL_OUT_BYTECAP(3)Macro that annotates function params with output buffer size.✨
- SDL_OUT_CAP(3)Macro that annotates function params with output buffer size.✨
- SDL_OUT_Z_BYTECAP(3)Macro that annotates function params with output buffer string size.✨
- SDL_OUT_Z_CAP(3)Macro that annotates function params with output string buffer size.✨
- SDL_OutOfMemory(3)Set an error indicating that memory allocation failed.✨
- SDL_PackedLayout(3type)Packed component layout.✨
- SDL_PackedOrder(3type)Packed component order, high bit -> low bit.✨
- SDL_Palette(3type)A set of indexed colors representing a palette.✨
- SDL_PathInfo(3type)Information about a path on the filesystem.✨
- SDL_PathType(3type)Types of filesystem entries.✨
- SDL_PauseAudioDevice(3)Use this function to pause audio playback on a specified device.✨
- SDL_PauseAudioStreamDevice(3)Use this function to pause audio playback on the audio device associated with an audio stream.✨
- SDL_PauseHaptic(3)Pause a haptic device.✨
- SDL_PeepEvents(3)Check the event queue for messages and optionally return them.✨
- SDL_PEN_MOUSEID(3)The SDL_MouseID for mouse events simulated with pen input.✨
- SDL_PEN_TOUCHID(3)The SDL_TouchID for touch events simulated with pen input.✨
- SDL_PenAxis(3type)Pen axis indices.✨
- SDL_PenAxisEvent(3type)Pressure-sensitive pen pressure / angle event structure (event.paxis.*)✨
- SDL_PenButtonEvent(3type)Pressure-sensitive pen button event structure (event.pbutton.*)✨
- SDL_PenDeviceType(3type)An enum that describes the type of a pen device.✨
- SDL_PenID(3type)SDL pen instance IDs.✨
- SDL_PenInputFlags(3type)Pen input flags, as reported by various pen events' pen_state field.✨
- SDL_PenMotionEvent(3type)Pressure-sensitive pen motion event structure (event.pmotion.*)✨
- SDL_PenProximityEvent(3type)Pressure-sensitive pen proximity event structure (event.pproximity.*)✨
- SDL_PenTouchEvent(3type)Pressure-sensitive pen touched event structure (event.ptouch.*)✨
- SDL_PI_D(3)The value of Pi, as a double-precision floating point literal.✨
- SDL_PI_F(3)The value of Pi, as a single-precision floating point literal.✨
- SDL_PinchFingerEvent(3type)Pinch event structure (event.pinch.*)✨
- SDL_PIXELFLAG(3)A macro to retrieve the flags of an SDL_PixelFormat.✨
- SDL_PixelFormat(3type)Pixel format.✨
- SDL_PixelFormatDetails(3type)Details about the format of a pixel.✨
- SDL_PIXELLAYOUT(3)A macro to retrieve the layout of an SDL_PixelFormat.✨
- SDL_PIXELORDER(3)A macro to retrieve the order of an SDL_PixelFormat.✨
- SDL_PIXELTYPE(3)A macro to retrieve the type of an SDL_PixelFormat.✨
- SDL_PixelType(3type)Pixel type.✨
- SDL_PLATFORM_3DS(3)A preprocessor macro that is only defined if compiling for Nintendo 3DS.✨
- SDL_PLATFORM_AIX(3)A preprocessor macro that is only defined if compiling for AIX.✨
- SDL_PLATFORM_ANDROID(3)A preprocessor macro that is only defined if compiling for Android.✨
- SDL_PLATFORM_APPLE(3)A preprocessor macro that is only defined if compiling for Apple platforms.✨
- SDL_PLATFORM_BSDI(3)A preprocessor macro that is only defined if compiling for BSDi✨
- SDL_PLATFORM_CYGWIN(3)A preprocessor macro that is only defined if compiling for Cygwin.✨
- SDL_PLATFORM_EMSCRIPTEN(3)A preprocessor macro that is only defined if compiling for Emscripten.✨
- SDL_PLATFORM_FREEBSD(3)A preprocessor macro that is only defined if compiling for FreeBSD.✨
- SDL_PLATFORM_GDK(3)A preprocessor macro that is only defined if compiling for Microsoft GDK on any platform.✨
- SDL_PLATFORM_HAIKU(3)A preprocessor macro that is only defined if compiling for Haiku OS.✨
- SDL_PLATFORM_HPUX(3)A preprocessor macro that is only defined if compiling for HP-UX.✨
- SDL_PLATFORM_HURD(3)A preprocessor macro that is only defined if compiling for GNU/Hurd.✨
- SDL_PLATFORM_IOS(3)A preprocessor macro that is only defined if compiling for iOS or visionOS.✨
- SDL_PLATFORM_IRIX(3)A preprocessor macro that is only defined if compiling for IRIX.✨
- SDL_PLATFORM_LINUX(3)A preprocessor macro that is only defined if compiling for Linux.✨
- SDL_PLATFORM_MACOS(3)A preprocessor macro that is only defined if compiling for macOS.✨
- SDL_PLATFORM_NETBSD(3)A preprocessor macro that is only defined if compiling for NetBSD.✨
- SDL_PLATFORM_NGAGE(3)A preprocessor macro that is only defined if compiling for the Nokia N-Gage.✨
- SDL_PLATFORM_OPENBSD(3)A preprocessor macro that is only defined if compiling for OpenBSD.✨
- SDL_PLATFORM_OS2(3)A preprocessor macro that is only defined if compiling for OS/2.✨
- SDL_PLATFORM_OSF(3)A preprocessor macro that is only defined if compiling for Tru64 (OSF/1).✨
- SDL_PLATFORM_PS2(3)A preprocessor macro that is only defined if compiling for Sony PlayStation 2.✨
- SDL_PLATFORM_PSP(3)A preprocessor macro that is only defined if compiling for Sony PSP.✨
- SDL_PLATFORM_QNXNTO(3)A preprocessor macro that is only defined if compiling for QNX Neutrino.✨
- SDL_PLATFORM_RISCOS(3)A preprocessor macro that is only defined if compiling for RISC OS.✨
- SDL_PLATFORM_SOLARIS(3)A preprocessor macro that is only defined if compiling for SunOS/Solaris.✨
- SDL_PLATFORM_TVOS(3)A preprocessor macro that is only defined if compiling for tvOS.✨
- SDL_PLATFORM_UNIX(3)A preprocessor macro that is only defined if compiling for a Unix-like system.✨
- SDL_PLATFORM_VISIONOS(3)A preprocessor macro that is only defined if compiling for visionOS.✨
- SDL_PLATFORM_VITA(3)A preprocessor macro that is only defined if compiling for Sony Vita.✨
- SDL_PLATFORM_WIN32(3)A preprocessor macro that is only defined if compiling for desktop Windows.✨
- SDL_PLATFORM_WINDOWS(3)A preprocessor macro that is only defined if compiling for Windows.✨
- SDL_PLATFORM_WINGDK(3)A preprocessor macro that is only defined if compiling for Microsoft GDK for Windows.✨
- SDL_PLATFORM_XBOXONE(3)A preprocessor macro that is only defined if compiling for Xbox One.✨
- SDL_PLATFORM_XBOXSERIES(3)A preprocessor macro that is only defined if compiling for Xbox Series.✨
- SDL_PlayHapticRumble(3)Run a simple rumble effect on a haptic device.✨
- SDL_Point(3type)The structure that defines a point (using integers).✨
- SDL_PointInRect(3)Determine whether a point resides inside a rectangle.✨
- SDL_PointInRectFloat(3)Determine whether a point resides inside a floating point rectangle.✨
- SDL_PollEvent(3)Poll for currently pending events.✨
- SDL_PopGPUDebugGroup(3)Ends the most-recently pushed debug group.✨
- SDL_pow(3)Raise x to the power y✨
- SDL_PowerState(3type)The basic state for the system's power supply.✨
- SDL_powf(3)Raise x to the power y✨
- SDL_PremultiplyAlpha(3)Premultiply the alpha on a block of pixels.✨
- SDL_PremultiplySurfaceAlpha(3)Premultiply the alpha in a surface.✨
- SDL_PRILL_PREFIX(3)A printf-formatting string prefix for a long long value.✨
- SDL_PRILLd(3)A printf-formatting string for a long long value.✨
- SDL_PRILLu(3)A printf-formatting string for a unsigned long long value.✨
- SDL_PRILLX(3)A printf-formatting string for an unsigned long long value as upper-case hexadecimal.✨
💅
getting it ready, bestie…