Module system
Available on crate feature
dep_sdl3
only.Expand description
Platform-specific SDL API functions. These are functions that deal with needs of specific operating systems, that didn’t make sense to offer as platform-independent, generic APIs.
Most apps can make do without these functions, but they can be useful for integrating with other parts of a specific system, adding platform-specific polish to an app, or solving problems that only affect one target.
Structs§
- SDL_
Sandbox - Application sandbox environment.
Constants§
Functions§
- SDL_
GetSandbox ⚠ - Get the application sandbox environment, if any.
- SDL_
IsTV ⚠ - Query if the current device is a TV.
- SDL_
IsTablet ⚠ - Query if the current device is a tablet.
- SDL_
OnApplication ⚠DidEnter Background - Let iOS apps with external event handling report onApplicationDidEnterBackground.
- SDL_
OnApplication ⚠DidEnter Foreground - Let iOS apps with external event handling report onApplicationDidBecomeActive.
- SDL_
OnApplication ⚠DidReceive Memory Warning - Let iOS apps with external event handling report onApplicationDidReceiveMemoryWarning.
- SDL_
OnApplication ⚠Will Enter Background - Let iOS apps with external event handling report onApplicationWillResignActive.
- SDL_
OnApplication ⚠Will Enter Foreground - Let iOS apps with external event handling report onApplicationWillEnterForeground.
- SDL_
OnApplication ⚠Will Terminate - Let iOS apps with external event handling report onApplicationWillTerminate.
- SDL_
SetLinux ⚠Thread Priority - Sets the UNIX nice value for a thread.
- SDL_
SetLinux ⚠Thread Priority AndPolicy - Sets the priority (not nice level) and scheduling policy for a thread.
- SDL_
SetX11 ⚠Event Hook - Set a callback for every X11 event.
Type Aliases§
- SDL_
X11Event Hook - A callback to be used with
SDL_SetX11EventHook
. - XEvent
- (
sdl3-sys
) Enable either ause-x11-*
or ause-x11-dl-*
feature to alias this toXEvent
from thex11
orx11-dl
crates, respectively. Otherwise it’s an opaque struct.