sdl2 library

Classes

ANativeWindow
ID3D11Device
ID3D12Device
IDirect3DDevice9
ImgAnimation
IPaddress
MixChunk
MixMusic
NSWindow
SdlAssertData
SdlAtomicT
SdlAudioCvt
SdlAudioDeviceEvent
SdlAudioSpec
SdlAudioStream
SdlBlitMap
SdlColor
SdlCommonEvent
SdlCond
SdlControllerAxisEvent
SdlControllerButtonEvent
SdlControllerDeviceEvent
SdlControllerSensorEvent
SdlControllerTouchpadEvent
SdlCursor
SdlDisplayEvent
SdlDisplayMode
SdlDollarGestureEvent
SdlDropEvent
SdlEvent
SdlFinger
SdlFPoint
SdlFRect
SdlGameController
SdlGameControllerButtonBind
SdlGuid
SdlHaptic
SdlHapticCondition
SdlHapticConstant
SdlHapticCustom
SdlHapticDirection
SdlHapticEffect
SdlHapticLeftRight
SdlHapticPeriodic
SdlHapticRamp
SdlHidDevice
SdlHidDeviceInfo
SdlIconvT
SdlJoyAxisEvent
SdlJoyBallEvent
SdlJoyBatteryEvent
SdlJoyButtonEvent
SdlJoyDeviceEvent
SdlJoyHatEvent
SdlJoystick
SdlKeyboardEvent
SdlKeysym
SdlLocale
SdlMessageBoxButtonData
SdlMessageBoxColor
SdlMessageBoxColorScheme
SdlMessageBoxData
SdlMouseButtonEvent
SdlMouseMotionEvent
SdlMouseWheelEvent
SdlMultiGestureEvent
SdlMutex
SdlNetGenericSocket
SdlNetSocketSet
SdlNetVersion
SdlPalette
SdlPixelFormat
SdlPoint
SdlQuitEvent
SdlRect
SdlRenderer
SdlRendererInfo
SdlRWops
SdlSem
SdlSensor
SdlSensorEvent
SdlSurface
SdlSysWmEvent
SdlSysWMinfo
SdlSysWMmsg
SdlTextEditingEvent
SdlTextEditingExtEvent
SdlTextInputEvent
SdlTexture
SdlThread
SdlTouchFingerEvent
SdlUserEvent
SdlVersion
SdlVertex
SdlVirtualJoystickDesc
SdlWindow
SdlWindowEvent
SdlWindowShapeMode
SdlWindowShapeParams
TCPsocket
TtfFont
UDPpacket
UDPsocket
UIViewController
UIWindow
XTaskQueueHandle
XUserHandle

Extensions

ImgAnimationPointerEx on Pointer<ImgAnimation>
IPaddressPointerEx on Pointer<IPaddress>
MixChunkEx on MixChunk
MixChunkPointerEx on Pointer<MixChunk>
MixMusicEx on MixMusic
MixMusicPointerEx on Pointer<MixMusic>
NativeTypePointerEx on Pointer<NativeType>
PointEx on Point<double>
PointsEx on List<Point<double>>
RectangleEx on Rectangle<double>
RectanglesEx on List<Rectangle<double>>
SdlAudioCvtExtension on Pointer<SdlAudioCvt>
SdlAudioSpecExtension on Pointer<SdlAudioSpec>
SdlColorEx on SdlColor
SdlColorPointerEx on Pointer<SdlColor>
SdlCursorEx on SdlCursor
SdlCursorPointerEx on Pointer<SdlCursor>
SdlEventEx on SdlEvent
SdlEventExtension on Pointer<SdlEvent>
SdlEventPointerEx on Pointer<SdlEvent>
SdlGameControllerEx on SdlGameController
SdlGameControllerPointerEx on Pointer<SdlGameController>
SdlHapticConditionExtension on Pointer<SdlHapticCondition>
SdlHapticConstantExtension on Pointer<SdlHapticConstant>
SdlHapticCustomExtension on Pointer<SdlHapticCustom>
SdlHapticEffectExtension on Pointer<SdlHapticEffect>
SdlHapticPeriodicExtension on Pointer<SdlHapticPeriodic>
SdlHapticRampExtension on Pointer<SdlHapticRamp>
SdlKeyboardEventExtension on Pointer<SdlKeyboardEvent>
SdlMessageBoxColorSchemeExtension on Pointer<SdlMessageBoxColorScheme>
SdlNetSocketSetPointerEx on Pointer<SdlNetSocketSet>
SdlPointPointerEx on Pointer<SdlPoint>
SdlRectPointerEx on Pointer<SdlRect>
SdlRendererPointerEx on Pointer<SdlRenderer>
SdlRWopsEx on SdlRWops
SdlRWopsPointerEx on Pointer<SdlRWops>
SdlSurfaceEx on SdlSurface
SdlSurfaceExtension on Pointer<SdlSurface>
SdlSurfacePointerEx on Pointer<SdlSurface>
SdlTextEditingEventExtension on Pointer<SdlTextEditingEvent>
SdlTextInputEventExtension on Pointer<SdlTextInputEvent>
SdlTexturePointerEx on Pointer<SdlTexture>
SdlVertexExtension on Pointer<SdlVertex>
SdlWindowEx on SdlWindow
SdlWindowPointerEx on Pointer<SdlWindow>
SdlWindowShapeModeExtension on Pointer<SdlWindowShapeMode>
SdlWindowShapeParamsExtension on Pointer<SdlWindowShapeParams>
TCPsocketPointerEx on Pointer<TCPsocket>
TtfFontEx on TtfFont
TtfFontPointerEx on Pointer<TtfFont>
UDPpacketExtension on Pointer<UDPpacket>
UdPsocketPointerEx on Pointer<UDPsocket>

Constants

AUDIO_F32 → const int
AUDIO_F32LSB → const int
AUDIO_F32MSB → const int
AUDIO_F32SYS → const int
AUDIO_S16 → const int
AUDIO_S16LSB → const int
AUDIO_S16MSB → const int
AUDIO_S16SYS → const int
AUDIO_S32 → const int
AUDIO_S32LSB → const int
AUDIO_S32MSB → const int
AUDIO_S32SYS → const int
AUDIO_S8 → const int
AUDIO_U16 → const int
AUDIO_U16LSB → const int
AUDIO_U16MSB → const int
AUDIO_U16SYS → const int
AUDIO_U8 → const int
DUMMY_ENUM_VALUE → const int
HAVE__COPYSIGN → const int
HAVE__FSEEKI64 → const int
HAVE__FTELLI64 → const int
HAVE__I64TOA → const int
HAVE__LTOA → const int
HAVE__SCALB → const int
HAVE__STRICMP → const int
HAVE__STRLWR → const int
HAVE__STRNICMP → const int
HAVE__STRREV → const int
HAVE__STRUPR → const int
HAVE__UI64TOA → const int
HAVE__ULTOA → const int
HAVE__WCSDUP → const int
HAVE__WCSICMP → const int
HAVE__WCSNICMP → const int
HAVE_ABS → const int
HAVE_ACOS → const int
HAVE_ACOSF → const int
HAVE_ALLOCA → const int
HAVE_ALLOCA_H → const int
HAVE_ASIN → const int
HAVE_ASINF → const int
HAVE_ATAN → const int
HAVE_ATAN2 → const int
HAVE_ATAN2F → const int
HAVE_ATANF → const int
HAVE_ATOF → const int
HAVE_ATOI → const int
HAVE_AUDIOCLIENT_H → const int
HAVE_BCOPY → const int
HAVE_BSEARCH → const int
HAVE_CALLOC → const int
HAVE_CEIL → const int
HAVE_CEILF → const int
HAVE_CLOCK_GETTIME → const int
HAVE_COPYSIGN → const int
HAVE_COPYSIGNF → const int
HAVE_COS → const int
HAVE_COSF → const int
HAVE_CTYPE_H → const int
HAVE_D3D11_H → const int
HAVE_D3D12_H → const int
HAVE_DDRAW_H → const int
HAVE_DINPUT_H → const int
HAVE_DLOPEN → const int
HAVE_DSOUND_H → const int
HAVE_DXGI_H → const int
HAVE_EXP → const int
HAVE_EXPF → const int
HAVE_FABS → const int
HAVE_FABSF → const int
HAVE_FLOAT_H → const int
HAVE_FLOOR → const int
HAVE_FLOORF → const int
HAVE_FMOD → const int
HAVE_FMODF → const int
HAVE_FREE → const int
HAVE_FSEEKO → const int
HAVE_FSEEKO64 → const int
HAVE_GCC_ATOMICS → const int
HAVE_GCC_SYNC_LOCK_TEST_AND_SET → const int
HAVE_GETENV → const int
HAVE_ICONV → const int
HAVE_ICONV_H → const int
HAVE_IMMINTRIN_H → const int
HAVE_INTTYPES_H → const int
HAVE_ITOA → const int
HAVE_LIBC → const int
HAVE_LIBUNWIND_H → const int
HAVE_LIBUSB → const int
HAVE_LIMITS_H → const int
HAVE_LOG → const int
HAVE_LOG10 → const int
HAVE_LOG10F → const int
HAVE_LOGF → const int
HAVE_LROUND → const int
HAVE_LROUNDF → const int
HAVE_M_PI → const int
HAVE_MALLOC → const int
HAVE_MALLOC_H → const int
HAVE_MATH_H → const int
HAVE_MEMCMP → const int
HAVE_MEMCPY → const int
HAVE_MEMMOVE → const int
HAVE_MEMORY_H → const int
HAVE_MEMSET → const int
HAVE_MMDEVICEAPI_H → const int
HAVE_MPROTECT → const int
HAVE_NANOSLEEP → const int
HAVE_O_CLOEXEC → const int
HAVE_POW → const int
HAVE_POWF → const int
HAVE_PUTENV → const int
HAVE_QSORT → const int
HAVE_REALLOC → const int
HAVE_ROAPI_H → const int
HAVE_ROUND → const int
HAVE_ROUNDF → const int
HAVE_SA_SIGACTION → const int
HAVE_SCALBN → const int
HAVE_SCALBNF → const int
HAVE_SDKDDKVER_H → const int
HAVE_SENSORSAPI_H → const int
HAVE_SETENV → const int
HAVE_SETJMP → const int
HAVE_SHELLSCALINGAPI_H → const int
HAVE_SIGACTION → const int
HAVE_SIGNAL_H → const int
HAVE_SIN → const int
HAVE_SINF → const int
HAVE_SNPRINTF → const int
HAVE_SQRT → const int
HAVE_SQRTF → const int
HAVE_SSCANF → const int
HAVE_STDARG_H → const int
HAVE_STDDEF_H → const int
HAVE_STDINT_H → const int
HAVE_STDIO_H → const int
HAVE_STDLIB_H → const int
HAVE_STRCASECMP → const int
HAVE_STRCASESTR → const int
HAVE_STRCHR → const int
HAVE_STRCMP → const int
HAVE_STRICMP → const int
HAVE_STRING_H → const int
HAVE_STRINGS_H → const int
HAVE_STRLCAT → const int
HAVE_STRLCPY → const int
HAVE_STRLEN → const int
HAVE_STRNCASECMP → const int
HAVE_STRNCMP → const int
HAVE_STRRCHR → const int
HAVE_STRSTR → const int
HAVE_STRTOD → const int
HAVE_STRTOK_R → const int
HAVE_STRTOL → const int
HAVE_STRTOLL → const int
HAVE_STRTOUL → const int
HAVE_STRTOULL → const int
HAVE_SYS_TYPES_H → const int
HAVE_SYSCONF → const int
HAVE_SYSCTLBYNAME → const int
HAVE_TAN → const int
HAVE_TANF → const int
HAVE_TPCSHRD_H → const int
HAVE_TRUNC → const int
HAVE_TRUNCF → const int
HAVE_UNSETENV → const int
HAVE_VSNPRINTF → const int
HAVE_VSSCANF → const int
HAVE_WCHAR_H → const int
HAVE_WCSCASECMP → const int
HAVE_WCSCMP → const int
HAVE_WCSDUP → const int
HAVE_WCSLCAT → const int
HAVE_WCSLCPY → const int
HAVE_WCSLEN → const int
HAVE_WCSNCASECMP → const int
HAVE_WCSNCMP → const int
HAVE_WCSSTR → const int
HAVE_WINAPIFAMILY_H → const int
HAVE_WINDOWS_GAMING_INPUT_H → const int
HAVE_WINSDKVER_H → const int
HAVE_XINPUT_H → const int
IMG_INIT_AVIF → const int
IMG_INIT_JPG → const int
IMG_INIT_JXL → const int
IMG_INIT_PNG → const int
IMG_INIT_TIF → const int
IMG_INIT_WEBP → const int
INADDR_ANY → const int
INADDR_BROADCAST → const int
INADDR_LOOPBACK → const int
INADDR_NONE → const int
KMOD_ALT → const int
KMOD_CAPS → const int
KMOD_CTRL → const int
KMOD_GUI → const int
KMOD_LALT → const int
KMOD_LCTRL → const int
KMOD_LGUI → const int
KMOD_LSHIFT → const int
KMOD_MODE → const int
KMOD_NONE → const int
KMOD_NUM → const int
KMOD_RALT → const int
KMOD_RCTRL → const int
KMOD_RESERVED → const int
KMOD_RGUI → const int
KMOD_RSHIFT → const int
KMOD_SCROLL → const int
KMOD_SHIFT → const int
LACKS_SYS_MMAN_H → const int
M_PI → const double
MIX_CHANNEL_POST → const int
MIX_CHANNELS → const int
MIX_DEFAULT_CHANNELS → const int
MIX_DEFAULT_FORMAT → const int
const MIX_DEFAULT_FORMAT = AUDIO_S16LSB;
MIX_DEFAULT_FREQUENCY → const int
MIX_EFFECTSMAXSPEED → const String
MIX_FADING_IN → const int
MIX_FADING_OUT → const int
MIX_INIT_FLAC → const int
MIX_INIT_MID → const int
MIX_INIT_MOD → const int
MIX_INIT_MP3 → const int
MIX_INIT_OGG → const int
MIX_INIT_OPUS → const int
MIX_INIT_WAVPACK → const int
MIX_MAJOR_VERSION → const int
MIX_MAX_VOLUME → const int
const MIX_MAX_VOLUME = SDL_MIX_MAXVOLUME;
MIX_MINOR_VERSION → const int
MIX_NO_FADING → const int
MIX_PATCHLEVEL → const int
MUS_CMD → const int
MUS_FLAC → const int
MUS_GME → const int
MUS_MID → const int
MUS_MOD → const int
MUS_MODPLUG_UNUSED → const int
MUS_MP3 → const int
MUS_MP3_MAD_UNUSED → const int
MUS_NONE → const int
MUS_OGG → const int
MUS_OPUS → const int
MUS_WAV → const int
MUS_WAVPACK → const int
NeedFunctionPrototypes → const int
NTDDI_WIN10 → const int
NTDDI_WINBLUE → const int
NULL → const int
RW_SEEK_CUR → const int
RW_SEEK_END → const int
RW_SEEK_SET → const int
SDL_ADDEVENT → const int
SDL_ALPHA_OPAQUE → const int
SDL_ALPHA_TRANSPARENT → const int
SDL_ALTIVEC_BLITTERS → const int
SDL_ANDROID_EXTERNAL_STORAGE_READ → const int
SDL_ANDROID_EXTERNAL_STORAGE_WRITE → const int
SDL_APP_DIDENTERBACKGROUND → const int
SDL_APP_DIDENTERFOREGROUND → const int
SDL_APP_LOWMEMORY → const int
SDL_APP_TERMINATING → const int
SDL_APP_WILLENTERBACKGROUND → const int
SDL_APP_WILLENTERFOREGROUND → const int
SDL_ARRAYORDER_ABGR → const int
SDL_ARRAYORDER_ARGB → const int
SDL_ARRAYORDER_BGR → const int
SDL_ARRAYORDER_BGRA → const int
SDL_ARRAYORDER_NONE → const int
SDL_ARRAYORDER_RGB → const int
SDL_ARRAYORDER_RGBA → const int
SDL_ASSERTION_ABORT → const int
SDL_ASSERTION_ALWAYS_IGNORE → const int
SDL_ASSERTION_BREAK → const int
SDL_ASSERTION_IGNORE → const int
SDL_ASSERTION_RETRY → const int
SDL_AUDIO_ALLOW_ANY_CHANGE → const int
SDL_AUDIO_ALLOW_CHANNELS_CHANGE → const int
SDL_AUDIO_ALLOW_FORMAT_CHANGE → const int
SDL_AUDIO_ALLOW_FREQUENCY_CHANGE → const int
SDL_AUDIO_ALLOW_SAMPLES_CHANGE → const int
SDL_AUDIO_DRIVER_AAUDIO → const int
SDL_AUDIO_DRIVER_ANDROID → const int
SDL_AUDIO_DRIVER_COREAUDIO → const int
SDL_AUDIO_DRIVER_DISK → const int
SDL_AUDIO_DRIVER_DSOUND → const int
SDL_AUDIO_DRIVER_DUMMY → const int
SDL_AUDIO_DRIVER_EMSCRIPTEN → const int
SDL_AUDIO_DRIVER_OPENSLES → const int
SDL_AUDIO_DRIVER_OS2 → const int
SDL_AUDIO_DRIVER_OSS → const int
SDL_AUDIO_DRIVER_WASAPI → const int
SDL_AUDIO_DRIVER_WINMM → const int
SDL_AUDIO_MASK_BITSIZE → const int
SDL_AUDIO_MASK_DATATYPE → const int
SDL_AUDIO_MASK_ENDIAN → const int
SDL_AUDIO_MASK_SIGNED → const int
SDL_AUDIO_PAUSED → const int
SDL_AUDIO_PLAYING → const int
SDL_AUDIO_STOPPED → const int
SDL_AUDIOCVT_MAX_FILTERS → const int
SDL_AUDIODEVICEADDED → const int
SDL_AUDIODEVICEREMOVED → const int
SDL_BIG_ENDIAN → const int
SDL_BITMAPORDER_1234 → const int
SDL_BITMAPORDER_4321 → const int
SDL_BITMAPORDER_NONE → const int
SDL_BLENDFACTOR_DST_ALPHA → const int
SDL_BLENDFACTOR_DST_COLOR → const int
SDL_BLENDFACTOR_ONE → const int
SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA → const int
SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR → const int
SDL_BLENDFACTOR_ONE_MINUS_SRC_ALPHA → const int
SDL_BLENDFACTOR_ONE_MINUS_SRC_COLOR → const int
SDL_BLENDFACTOR_SRC_ALPHA → const int
SDL_BLENDFACTOR_SRC_COLOR → const int
SDL_BLENDFACTOR_ZERO → const int
SDL_BLENDMODE_ADD → const int
SDL_BLENDMODE_BLEND → const int
SDL_BLENDMODE_INVALID → const int
SDL_BLENDMODE_MOD → const int
SDL_BLENDMODE_MUL → const int
SDL_BLENDMODE_NONE → const int
SDL_BLENDOPERATION_ADD → const int
SDL_BLENDOPERATION_MAXIMUM → const int
SDL_BLENDOPERATION_MINIMUM → const int
SDL_BLENDOPERATION_REV_SUBTRACT → const int
SDL_BLENDOPERATION_SUBTRACT → const int
SDL_BUTTON_LEFT → const int
SDL_BUTTON_MIDDLE → const int
SDL_BUTTON_RIGHT → const int
SDL_BUTTON_X1 → const int
SDL_BUTTON_X2 → const int
SDL_BYTEORDER → const int
SDL_CACHELINE_SIZE → const int
SDL_CLIPBOARDUPDATE → const int
SDL_CONTROLLER_AXIS_INVALID → const int
SDL_CONTROLLER_AXIS_LEFTX → const int
SDL_CONTROLLER_AXIS_LEFTY → const int
SDL_CONTROLLER_AXIS_MAX → const int
SDL_CONTROLLER_AXIS_RIGHTX → const int
SDL_CONTROLLER_AXIS_RIGHTY → const int
SDL_CONTROLLER_AXIS_TRIGGERLEFT → const int
SDL_CONTROLLER_AXIS_TRIGGERRIGHT → const int
SDL_CONTROLLER_BINDTYPE_AXIS → const int
SDL_CONTROLLER_BINDTYPE_BUTTON → const int
SDL_CONTROLLER_BINDTYPE_HAT → const int
SDL_CONTROLLER_BINDTYPE_NONE → const int
SDL_CONTROLLER_BUTTON_A → const int
SDL_CONTROLLER_BUTTON_B → const int
SDL_CONTROLLER_BUTTON_BACK → const int
SDL_CONTROLLER_BUTTON_DPAD_DOWN → const int
SDL_CONTROLLER_BUTTON_DPAD_LEFT → const int
SDL_CONTROLLER_BUTTON_DPAD_RIGHT → const int
SDL_CONTROLLER_BUTTON_DPAD_UP → const int
SDL_CONTROLLER_BUTTON_GUIDE → const int
SDL_CONTROLLER_BUTTON_INVALID → const int
SDL_CONTROLLER_BUTTON_LEFTSHOULDER → const int
SDL_CONTROLLER_BUTTON_LEFTSTICK → const int
SDL_CONTROLLER_BUTTON_MAX → const int
SDL_CONTROLLER_BUTTON_MISC1 → const int
SDL_CONTROLLER_BUTTON_PADDLE1 → const int
SDL_CONTROLLER_BUTTON_PADDLE2 → const int
SDL_CONTROLLER_BUTTON_PADDLE3 → const int
SDL_CONTROLLER_BUTTON_PADDLE4 → const int
SDL_CONTROLLER_BUTTON_RIGHTSHOULDER → const int
SDL_CONTROLLER_BUTTON_RIGHTSTICK → const int
SDL_CONTROLLER_BUTTON_START → const int
SDL_CONTROLLER_BUTTON_TOUCHPAD → const int
SDL_CONTROLLER_BUTTON_X → const int
SDL_CONTROLLER_BUTTON_Y → const int
SDL_CONTROLLER_TYPE_AMAZON_LUNA → const int
SDL_CONTROLLER_TYPE_GOOGLE_STADIA → const int
SDL_CONTROLLER_TYPE_MAX → const int
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_LEFT → const int
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_PAIR → const int
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT → const int
SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO → const int
SDL_CONTROLLER_TYPE_NVIDIA_SHIELD → const int
SDL_CONTROLLER_TYPE_PS3 → const int
SDL_CONTROLLER_TYPE_PS4 → const int
SDL_CONTROLLER_TYPE_PS5 → const int
SDL_CONTROLLER_TYPE_UNKNOWN → const int
SDL_CONTROLLER_TYPE_VIRTUAL → const int
SDL_CONTROLLER_TYPE_XBOX360 → const int
SDL_CONTROLLER_TYPE_XBOXONE → const int
SDL_CONTROLLERAXISMOTION → const int
SDL_CONTROLLERBUTTONDOWN → const int
SDL_CONTROLLERBUTTONUP → const int
SDL_CONTROLLERDEVICEADDED → const int
SDL_CONTROLLERDEVICEREMAPPED → const int
SDL_CONTROLLERDEVICEREMOVED → const int
SDL_CONTROLLERSENSORUPDATE → const int
SDL_CONTROLLERSTEAMHANDLEUPDATED → const int
SDL_CONTROLLERTOUCHPADDOWN → const int
SDL_CONTROLLERTOUCHPADMOTION → const int
SDL_CONTROLLERTOUCHPADUP → const int
SDL_CONTROLLERUPDATECOMPLETE_RESERVED_FOR_SDL3 → const int
SDL_CPUINFO_DISABLED → const int
SDL_DATA_ALIGNED → const int
SDL_DISABLE → const int
SDL_DISABLE_WINDOWS_IME → const int
SDL_DISPLAYEVENT → const int
SDL_DISPLAYEVENT_CONNECTED → const int
SDL_DISPLAYEVENT_DISCONNECTED → const int
SDL_DISPLAYEVENT_MOVED → const int
SDL_DISPLAYEVENT_NONE → const int
SDL_DISPLAYEVENT_ORIENTATION → const int
SDL_DOLLARGESTURE → const int
SDL_DOLLARRECORD → const int
SDL_DONTFREE → const int
SDL_DROPBEGIN → const int
SDL_DROPCOMPLETE → const int
SDL_DROPFILE → const int
SDL_DROPTEXT → const int
SDL_EFREAD → const int
SDL_EFSEEK → const int
SDL_EFWRITE → const int
SDL_ENABLE → const int
SDL_ENOMEM → const int
SDL_FALSE → const int
SDL_FILESYSTEM_ANDROID → const int
SDL_FILESYSTEM_COCOA → const int
SDL_FILESYSTEM_DUMMY → const int
SDL_FILESYSTEM_EMSCRIPTEN → const int
SDL_FILESYSTEM_OS2 → const int
SDL_FILESYSTEM_UNIX → const int
SDL_FILESYSTEM_WINDOWS → const int
SDL_FILESYSTEM_XBOX → const int
SDL_FINGERDOWN → const int
SDL_FINGERMOTION → const int
SDL_FINGERUP → const int
SDL_FIRSTEVENT → const int
SDL_FLASH_BRIEFLY → const int
SDL_FLASH_CANCEL → const int
SDL_FLASH_UNTIL_FOCUSED → const int
SDL_FLIP_HORIZONTAL → const int
SDL_FLIP_NONE → const int
SDL_FLIP_VERTICAL → const int
SDL_FLOATWORDORDER → const int
SDL_GETEVENT → const int
SDL_GL_ACCELERATED_VISUAL → const int
SDL_GL_ACCUM_ALPHA_SIZE → const int
SDL_GL_ACCUM_BLUE_SIZE → const int
SDL_GL_ACCUM_GREEN_SIZE → const int
SDL_GL_ACCUM_RED_SIZE → const int
SDL_GL_ALPHA_SIZE → const int
SDL_GL_BLUE_SIZE → const int
SDL_GL_BUFFER_SIZE → const int
SDL_GL_CONTEXT_DEBUG_FLAG → const int
SDL_GL_CONTEXT_EGL → const int
SDL_GL_CONTEXT_FLAGS → const int
SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG → const int
SDL_GL_CONTEXT_MAJOR_VERSION → const int
SDL_GL_CONTEXT_MINOR_VERSION → const int
SDL_GL_CONTEXT_NO_ERROR → const int
SDL_GL_CONTEXT_PROFILE_COMPATIBILITY → const int
SDL_GL_CONTEXT_PROFILE_CORE → const int
SDL_GL_CONTEXT_PROFILE_ES → const int
SDL_GL_CONTEXT_PROFILE_MASK → const int
SDL_GL_CONTEXT_RELEASE_BEHAVIOR → const int
SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH → const int
SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE → const int
SDL_GL_CONTEXT_RESET_ISOLATION_FLAG → const int
SDL_GL_CONTEXT_RESET_LOSE_CONTEXT → const int
SDL_GL_CONTEXT_RESET_NO_NOTIFICATION → const int
SDL_GL_CONTEXT_RESET_NOTIFICATION → const int
SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG → const int
SDL_GL_DEPTH_SIZE → const int
SDL_GL_DOUBLEBUFFER → const int
SDL_GL_FLOATBUFFERS → const int
SDL_GL_FRAMEBUFFER_SRGB_CAPABLE → const int
SDL_GL_GREEN_SIZE → const int
SDL_GL_MULTISAMPLEBUFFERS → const int
SDL_GL_MULTISAMPLESAMPLES → const int
SDL_GL_RED_SIZE → const int
SDL_GL_RETAINED_BACKING → const int
SDL_GL_SHARE_WITH_CURRENT_CONTEXT → const int
SDL_GL_STENCIL_SIZE → const int
SDL_GL_STEREO → const int
SDL_HAPTIC_ANDROID → const int
SDL_HAPTIC_AUTOCENTER → const int
SDL_HAPTIC_CARTESIAN → const int
SDL_HAPTIC_CONSTANT → const int
SDL_HAPTIC_CUSTOM → const int
SDL_HAPTIC_DAMPER → const int
SDL_HAPTIC_DINPUT → const int
SDL_HAPTIC_DISABLED → const int
SDL_HAPTIC_DUMMY → const int
SDL_HAPTIC_FRICTION → const int
SDL_HAPTIC_GAIN → const int
SDL_HAPTIC_INERTIA → const int
SDL_HAPTIC_INFINITY → const int
SDL_HAPTIC_IOKIT → const int
SDL_HAPTIC_LEFTRIGHT → const int
SDL_HAPTIC_LINUX → const int
SDL_HAPTIC_PAUSE → const int
SDL_HAPTIC_POLAR → const int
SDL_HAPTIC_RAMP → const int
SDL_HAPTIC_SAWTOOTHDOWN → const int
SDL_HAPTIC_SAWTOOTHUP → const int
SDL_HAPTIC_SINE → const int
SDL_HAPTIC_SPHERICAL → const int
SDL_HAPTIC_SPRING → const int
SDL_HAPTIC_STATUS → const int
SDL_HAPTIC_STEERING_AXIS → const int
SDL_HAPTIC_TRIANGLE → const int
SDL_HAPTIC_XINPUT → const int
SDL_HAT_CENTERED → const int
SDL_HAT_DOWN → const int
SDL_HAT_LEFT → const int
SDL_HAT_LEFTDOWN → const int
SDL_HAT_LEFTUP → const int
SDL_HAT_RIGHT → const int
SDL_HAT_RIGHTDOWN → const int
SDL_HAT_RIGHTUP → const int
SDL_HAT_UP → const int
SDL_HIDAPI_DISABLED → const int
SDL_HINT_ACCELEROMETER_AS_JOYSTICK → const String
SDL_HINT_ALLOW_ALT_TAB_WHILE_GRABBED → const String
SDL_HINT_ALLOW_TOPMOST → const String
SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION → const String
SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION → const String
SDL_HINT_ANDROID_BLOCK_ON_PAUSE → const String
SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO → const String
SDL_HINT_ANDROID_TRAP_BACK_BUTTON → const String
SDL_HINT_APP_NAME → const String
SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS → const String
SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION → const String
SDL_HINT_AUDIO_CATEGORY → const String
SDL_HINT_AUDIO_DEVICE_APP_NAME → const String
SDL_HINT_AUDIO_DEVICE_STREAM_NAME → const String
SDL_HINT_AUDIO_DEVICE_STREAM_ROLE → const String
SDL_HINT_AUDIO_INCLUDE_MONITORS → const String
SDL_HINT_AUDIO_RESAMPLING_MODE → const String
SDL_HINT_AUDIODRIVER → const String
SDL_HINT_AUTO_UPDATE_JOYSTICKS → const String
SDL_HINT_AUTO_UPDATE_SENSORS → const String
SDL_HINT_BMP_SAVE_LEGACY_FORMAT → const String
SDL_HINT_DEFAULT → const int
SDL_HINT_DIRECTINPUT_ENABLED → const String
SDL_HINT_DISPLAY_USABLE_BOUNDS → const String
SDL_HINT_EMSCRIPTEN_ASYNCIFY → const String
SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT → const String
SDL_HINT_ENABLE_SCREEN_KEYBOARD → const String
SDL_HINT_ENABLE_STEAM_CONTROLLERS → const String
SDL_HINT_EVENT_LOGGING → const String
SDL_HINT_FORCE_RAISEWINDOW → const String
SDL_HINT_FRAMEBUFFER_ACCELERATION → const String
SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES → const String
SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT → const String
SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS → const String
SDL_HINT_GAMECONTROLLERCONFIG → const String
SDL_HINT_GAMECONTROLLERCONFIG_FILE → const String
SDL_HINT_GAMECONTROLLERTYPE → const String
SDL_HINT_GRAB_KEYBOARD → const String
SDL_HINT_HIDAPI_IGNORE_DEVICES → const String
SDL_HINT_IDLE_TIMER_DISABLED → const String
SDL_HINT_IME_INTERNAL_EDITING → const String
SDL_HINT_IME_SHOW_UI → const String
SDL_HINT_IME_SUPPORT_EXTENDED_TEXT → const String
SDL_HINT_IOS_HIDE_HOME_INDICATOR → const String
SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS → const String
SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES → const String
SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED → const String
SDL_HINT_JOYSTICK_BLACKLIST_DEVICES → const String
SDL_HINT_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED → const String
SDL_HINT_JOYSTICK_DEVICE → const String
SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES → const String
SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED → const String
SDL_HINT_JOYSTICK_GAMECUBE_DEVICES → const String
SDL_HINT_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED → const String
SDL_HINT_JOYSTICK_GAMECUBE_RUMBLE_BRAKE → const String
SDL_HINT_JOYSTICK_HIDAPI → const String
SDL_HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS → const String
SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE → const String
SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS → const String
SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED → const String
SDL_HINT_JOYSTICK_HIDAPI_LUNA → const String
SDL_HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC → const String
SDL_HINT_JOYSTICK_HIDAPI_PS3 → const String
SDL_HINT_JOYSTICK_HIDAPI_PS4 → const String
SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE → const String
SDL_HINT_JOYSTICK_HIDAPI_PS5 → const String
SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED → const String
SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE → const String
SDL_HINT_JOYSTICK_HIDAPI_SHIELD → const String
SDL_HINT_JOYSTICK_HIDAPI_STADIA → const String
SDL_HINT_JOYSTICK_HIDAPI_STEAM → const String
SDL_HINT_JOYSTICK_HIDAPI_STEAMDECK → const String
SDL_HINT_JOYSTICK_HIDAPI_SWITCH → const String
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED → const String
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED → const String
SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS → const String
SDL_HINT_JOYSTICK_HIDAPI_WII → const String
SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED → const String
SDL_HINT_JOYSTICK_HIDAPI_XBOX → const String
SDL_HINT_JOYSTICK_HIDAPI_XBOX_360 → const String
SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED → const String
SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS → const String
SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE → const String
SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED → const String
SDL_HINT_JOYSTICK_IOKIT → const String
SDL_HINT_JOYSTICK_MFI → const String
SDL_HINT_JOYSTICK_RAWINPUT → const String
SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT → const String
SDL_HINT_JOYSTICK_ROG_CHAKRAM → const String
SDL_HINT_JOYSTICK_THREAD → const String
SDL_HINT_JOYSTICK_THROTTLE_DEVICES → const String
SDL_HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED → const String
SDL_HINT_JOYSTICK_WGI → const String
SDL_HINT_JOYSTICK_WHEEL_DEVICES → const String
SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED → const String
SDL_HINT_JOYSTICK_ZERO_CENTERED_DEVICES → const String
SDL_HINT_KMSDRM_DEVICE_INDEX → const String
SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER → const String
SDL_HINT_LINUX_DIGITAL_HATS → const String
SDL_HINT_LINUX_HAT_DEADZONES → const String
SDL_HINT_LINUX_JOYSTICK_CLASSIC → const String
SDL_HINT_LINUX_JOYSTICK_DEADZONES → const String
SDL_HINT_LOGGING → const String
SDL_HINT_MAC_BACKGROUND_APP → const String
SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK → const String
SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH → const String
SDL_HINT_MOUSE_AUTO_CAPTURE → const String
SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS → const String
SDL_HINT_MOUSE_DOUBLE_CLICK_TIME → const String
SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH → const String
SDL_HINT_MOUSE_NORMAL_SPEED_SCALE → const String
SDL_HINT_MOUSE_RELATIVE_MODE_CENTER → const String
SDL_HINT_MOUSE_RELATIVE_MODE_WARP → const String
SDL_HINT_MOUSE_RELATIVE_SCALING → const String
SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE → const String
SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE → const String
SDL_HINT_MOUSE_RELATIVE_WARP_MOTION → const String
SDL_HINT_MOUSE_TOUCH_EVENTS → const String
SDL_HINT_NO_SIGNAL_HANDLERS → const String
SDL_HINT_NORMAL → const int
SDL_HINT_OPENGL_ES_DRIVER → const String
SDL_HINT_ORIENTATIONS → const String
SDL_HINT_OVERRIDE → const int
SDL_HINT_POLL_SENTINEL → const String
SDL_HINT_PREFERRED_LOCALES → const String
SDL_HINT_PS2_DYNAMIC_VSYNC → const String
SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION → const String
SDL_HINT_QTWAYLAND_WINDOW_FLAGS → const String
SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE → const String
SDL_HINT_RENDER_BATCHING → const String
SDL_HINT_RENDER_DIRECT3D11_DEBUG → const String
SDL_HINT_RENDER_DIRECT3D_THREADSAFE → const String
SDL_HINT_RENDER_DRIVER → const String
SDL_HINT_RENDER_LINE_METHOD → const String
SDL_HINT_RENDER_LOGICAL_SIZE_MODE → const String
SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE → const String
SDL_HINT_RENDER_OPENGL_SHADERS → const String
SDL_HINT_RENDER_SCALE_QUALITY → const String
SDL_HINT_RENDER_VSYNC → const String
SDL_HINT_RETURN_KEY_HIDES_IME → const String
SDL_HINT_ROG_GAMEPAD_MICE → const String
SDL_HINT_ROG_GAMEPAD_MICE_EXCLUDED → const String
SDL_HINT_RPI_VIDEO_LAYER → const String
SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME → const String
SDL_HINT_SHUTDOWN_DBUS_ON_QUIT → const String
SDL_HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL → const String
SDL_HINT_THREAD_PRIORITY_POLICY → const String
SDL_HINT_THREAD_STACK_SIZE → const String
SDL_HINT_TIMER_RESOLUTION → const String
SDL_HINT_TOUCH_MOUSE_EVENTS → const String
SDL_HINT_TRACKPAD_IS_TOUCH_ONLY → const String
SDL_HINT_TV_REMOTE_AS_JOYSTICK → const String
SDL_HINT_VIDEO_ALLOW_SCREENSAVER → const String
SDL_HINT_VIDEO_DOUBLE_BUFFER → const String
SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY → const String
SDL_HINT_VIDEO_EXTERNAL_CONTEXT → const String
SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL → const String
SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN → const String
SDL_HINT_VIDEO_HIGHDPI_DISABLED → const String
SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES → const String
SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS → const String
SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR → const String
SDL_HINT_VIDEO_WAYLAND_EMULATE_MOUSE_WARP → const String
SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION → const String
SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR → const String
SDL_HINT_VIDEO_WIN_D3DCOMPILER → const String
SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT → const String
SDL_HINT_VIDEO_X11_FORCE_EGL → const String
SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR → const String
SDL_HINT_VIDEO_X11_NET_WM_PING → const String
SDL_HINT_VIDEO_X11_WINDOW_VISUALID → const String
SDL_HINT_VIDEO_X11_XINERAMA → const String
SDL_HINT_VIDEO_X11_XRANDR → const String
SDL_HINT_VIDEO_X11_XVIDMODE → const String
SDL_HINT_VIDEODRIVER → const String
SDL_HINT_VITA_TOUCH_MOUSE_DEVICE → const String
SDL_HINT_WAVE_FACT_CHUNK → const String
SDL_HINT_WAVE_RIFF_CHUNK_SIZE → const String
SDL_HINT_WAVE_TRUNCATION → const String
SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN → const String
SDL_HINT_WINDOW_NO_ACTIVATION_WHEN_SHOWN → const String
SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING → const String
SDL_HINT_WINDOWS_DPI_AWARENESS → const String
SDL_HINT_WINDOWS_DPI_SCALING → const String
SDL_HINT_WINDOWS_ENABLE_MENU_MNEMONICS → const String
SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP → const String
SDL_HINT_WINDOWS_FORCE_MUTEX_CRITICAL_SECTIONS → const String
SDL_HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL → const String
SDL_HINT_WINDOWS_INTRESOURCE_ICON → const String
SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL → const String
SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 → const String
SDL_HINT_WINDOWS_USE_D3D9EX → const String
SDL_HINT_WINRT_HANDLE_BACK_BUTTON → const String
SDL_HINT_WINRT_PRIVACY_POLICY_LABEL → const String
SDL_HINT_WINRT_PRIVACY_POLICY_URL → const String
SDL_HINT_X11_FORCE_OVERRIDE_REDIRECT → const String
SDL_HINT_X11_WINDOW_TYPE → const String
SDL_HINT_XINPUT_ENABLED → const String
SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING → const String
SDL_HITTEST_DRAGGABLE → const int
SDL_HITTEST_NORMAL → const int
SDL_HITTEST_RESIZE_BOTTOM → const int
SDL_HITTEST_RESIZE_BOTTOMLEFT → const int
SDL_HITTEST_RESIZE_BOTTOMRIGHT → const int
SDL_HITTEST_RESIZE_LEFT → const int
SDL_HITTEST_RESIZE_RIGHT → const int
SDL_HITTEST_RESIZE_TOP → const int
SDL_HITTEST_RESIZE_TOPLEFT → const int
SDL_HITTEST_RESIZE_TOPRIGHT → const int
SDL_IGNORE → const int
SDL_IMAGE_MAJOR_VERSION → const int
SDL_IMAGE_MINOR_VERSION → const int
SDL_IMAGE_PATCHLEVEL → const int
SDL_INIT_AUDIO → const int
SDL_INIT_EVENTS → const int
SDL_INIT_EVERYTHING → const int
SDL_INIT_GAMECONTROLLER → const int
SDL_INIT_HAPTIC → const int
SDL_INIT_JOYSTICK → const int
SDL_INIT_NOPARACHUTE → const int
SDL_INIT_SENSOR → const int
SDL_INIT_TIMER → const int
SDL_INIT_VIDEO → const int
SDL_INPUT_LINUXEV → const int
SDL_INVALID_SHAPE_ARGUMENT → const int
SDL_IPHONE_KEYBOARD → const int
SDL_IPHONE_LAUNCHSCREEN → const int
SDL_IPHONE_MAX_GFORCE → const double
SDL_JOYAXISMOTION → const int
SDL_JOYBALLMOTION → const int
SDL_JOYBATTERYUPDATED → const int
SDL_JOYBUTTONDOWN → const int
SDL_JOYBUTTONUP → const int
SDL_JOYDEVICEADDED → const int
SDL_JOYDEVICEREMOVED → const int
SDL_JOYHATMOTION → const int
SDL_JOYSTICK_ANDROID → const int
SDL_JOYSTICK_AXIS_MAX → const int
SDL_JOYSTICK_AXIS_MIN → const int
SDL_JOYSTICK_DINPUT → const int
SDL_JOYSTICK_DISABLED → const int
SDL_JOYSTICK_EMSCRIPTEN → const int
SDL_JOYSTICK_HIDAPI → const int
SDL_JOYSTICK_IOKIT → const int
SDL_JOYSTICK_LINUX → const int
SDL_JOYSTICK_MFI → const int
SDL_JOYSTICK_OS2 → const int
SDL_JOYSTICK_POWER_EMPTY → const int
SDL_JOYSTICK_POWER_FULL → const int
SDL_JOYSTICK_POWER_LOW → const int
SDL_JOYSTICK_POWER_MAX → const int
SDL_JOYSTICK_POWER_MEDIUM → const int
SDL_JOYSTICK_POWER_UNKNOWN → const int
SDL_JOYSTICK_POWER_WIRED → const int
SDL_JOYSTICK_RAWINPUT → const int
SDL_JOYSTICK_TYPE_ARCADE_PAD → const int
SDL_JOYSTICK_TYPE_ARCADE_STICK → const int
SDL_JOYSTICK_TYPE_DANCE_PAD → const int
SDL_JOYSTICK_TYPE_DRUM_KIT → const int
SDL_JOYSTICK_TYPE_FLIGHT_STICK → const int
SDL_JOYSTICK_TYPE_GAMECONTROLLER → const int
SDL_JOYSTICK_TYPE_GUITAR → const int
SDL_JOYSTICK_TYPE_THROTTLE → const int
SDL_JOYSTICK_TYPE_UNKNOWN → const int
SDL_JOYSTICK_TYPE_WHEEL → const int
SDL_JOYSTICK_VIRTUAL → const int
SDL_JOYSTICK_WGI → const int
SDL_JOYSTICK_XINPUT → const int
SDL_KEYDOWN → const int
SDL_KEYMAPCHANGED → const int
SDL_KEYUP → const int
SDL_LASTERROR → const int
SDL_LASTEVENT → const int
SDL_LIBSAMPLERATE_DYNAMIC → const String
SDL_LIBUSB_DYNAMIC → const String
SDL_LIL_ENDIAN → const int
SDL_LOADSO_DISABLED → const int
SDL_LOADSO_DLOPEN → const int
SDL_LOADSO_OS2 → const int
SDL_LOADSO_WINDOWS → const int
SDL_LOCALECHANGED → const int
SDL_LOG_CATEGORY_APPLICATION → const int
SDL_LOG_CATEGORY_ASSERT → const int
SDL_LOG_CATEGORY_AUDIO → const int
SDL_LOG_CATEGORY_CUSTOM → const int
SDL_LOG_CATEGORY_ERROR → const int
SDL_LOG_CATEGORY_INPUT → const int
SDL_LOG_CATEGORY_RENDER → const int
SDL_LOG_CATEGORY_RESERVED1 → const int
SDL_LOG_CATEGORY_RESERVED10 → const int
SDL_LOG_CATEGORY_RESERVED2 → const int
SDL_LOG_CATEGORY_RESERVED3 → const int
SDL_LOG_CATEGORY_RESERVED4 → const int
SDL_LOG_CATEGORY_RESERVED5 → const int
SDL_LOG_CATEGORY_RESERVED6 → const int
SDL_LOG_CATEGORY_RESERVED7 → const int
SDL_LOG_CATEGORY_RESERVED8 → const int
SDL_LOG_CATEGORY_RESERVED9 → const int
SDL_LOG_CATEGORY_SYSTEM → const int
SDL_LOG_CATEGORY_TEST → const int
SDL_LOG_CATEGORY_VIDEO → const int
SDL_LOG_PRIORITY_CRITICAL → const int
SDL_LOG_PRIORITY_DEBUG → const int
SDL_LOG_PRIORITY_ERROR → const int
SDL_LOG_PRIORITY_INFO → const int
SDL_LOG_PRIORITY_VERBOSE → const int
SDL_LOG_PRIORITY_WARN → const int
SDL_MAIN_NEEDED → const int
SDL_MAJOR_VERSION → const int
SDL_MAX_LOG_MESSAGE → const int
SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT → const int
SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT → const int
SDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT → const int
SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT → const int
SDL_MESSAGEBOX_COLOR_BACKGROUND → const int
SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND → const int
SDL_MESSAGEBOX_COLOR_BUTTON_BORDER → const int
SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED → const int
SDL_MESSAGEBOX_COLOR_MAX → const int
SDL_MESSAGEBOX_COLOR_TEXT → const int
SDL_MESSAGEBOX_ERROR → const int
SDL_MESSAGEBOX_INFORMATION → const int
SDL_MESSAGEBOX_WARNING → const int
SDL_METALVIEW_TAG → const int
SDL_MINOR_VERSION → const int
SDL_MIX_MAXVOLUME → const int
SDL_MIXER_MAJOR_VERSION → const int
SDL_MIXER_MINOR_VERSION → const int
SDL_MIXER_PATCHLEVEL → const int
SDL_MOUSEBUTTONDOWN → const int
SDL_MOUSEBUTTONUP → const int
SDL_MOUSEMOTION → const int
SDL_MOUSEWHEEL → const int
SDL_MOUSEWHEEL_FLIPPED → const int
SDL_MOUSEWHEEL_NORMAL → const int
SDL_MULTIGESTURE → const int
SDL_MUTEX_TIMEDOUT → const int
SDL_NET_MAJOR_VERSION → const int
SDL_NET_MINOR_VERSION → const int
SDL_NET_PATCHLEVEL → const int
SDL_NONSHAPEABLE_WINDOW → const int
SDL_NUM_LOG_PRIORITIES → const int
SDL_NUM_SCANCODES → const int
SDL_NUM_SYSTEM_CURSORS → const int
SDL_ORIENTATION_LANDSCAPE → const int
SDL_ORIENTATION_LANDSCAPE_FLIPPED → const int
SDL_ORIENTATION_PORTRAIT → const int
SDL_ORIENTATION_PORTRAIT_FLIPPED → const int
SDL_ORIENTATION_UNKNOWN → const int
SDL_PACKEDLAYOUT_1010102 → const int
SDL_PACKEDLAYOUT_1555 → const int
SDL_PACKEDLAYOUT_2101010 → const int
SDL_PACKEDLAYOUT_332 → const int
SDL_PACKEDLAYOUT_4444 → const int
SDL_PACKEDLAYOUT_5551 → const int
SDL_PACKEDLAYOUT_565 → const int
SDL_PACKEDLAYOUT_8888 → const int
SDL_PACKEDLAYOUT_NONE → const int
SDL_PACKEDORDER_ABGR → const int
SDL_PACKEDORDER_ARGB → const int
SDL_PACKEDORDER_BGRA → const int
SDL_PACKEDORDER_BGRX → const int
SDL_PACKEDORDER_NONE → const int
SDL_PACKEDORDER_RGBA → const int
SDL_PACKEDORDER_RGBX → const int
SDL_PACKEDORDER_XBGR → const int
SDL_PACKEDORDER_XRGB → const int
SDL_PATCHLEVEL → const int
SDL_PEEKEVENT → const int
SDL_PIXELFORMAT_UNKNOWN → const int
SDL_PIXELTYPE_ARRAYF16 → const int
SDL_PIXELTYPE_ARRAYF32 → const int
SDL_PIXELTYPE_ARRAYU16 → const int
SDL_PIXELTYPE_ARRAYU32 → const int
SDL_PIXELTYPE_ARRAYU8 → const int
SDL_PIXELTYPE_INDEX1 → const int
SDL_PIXELTYPE_INDEX2 → const int
SDL_PIXELTYPE_INDEX4 → const int
SDL_PIXELTYPE_INDEX8 → const int
SDL_PIXELTYPE_PACKED16 → const int
SDL_PIXELTYPE_PACKED32 → const int
SDL_PIXELTYPE_PACKED8 → const int
SDL_PIXELTYPE_UNKNOWN → const int
SDL_PLATFORM_SUPPORTS_METAL → const int
SDL_POLLSENTINEL → const int
SDL_POWER_ANDROID → const int
SDL_POWER_DISABLED → const int
SDL_POWER_EMSCRIPTEN → const int
SDL_POWER_HARDWIRED → const int
SDL_POWER_MACOSX → const int
SDL_POWER_UIKIT → const int
SDL_POWER_WINDOWS → const int
SDL_POWER_WINRT → const int
SDL_POWERSTATE_CHARGED → const int
SDL_POWERSTATE_CHARGING → const int
SDL_POWERSTATE_NO_BATTERY → const int
SDL_POWERSTATE_ON_BATTERY → const int
SDL_POWERSTATE_UNKNOWN → const int
SDL_PREALLOC → const int
SDL_PRESSED → const int
SDL_QUERY → const int
SDL_QUIT → const int
SDL_RELEASED → const int
SDL_RENDER_DEVICE_RESET → const int
SDL_RENDER_TARGETS_RESET → const int
SDL_RENDERER_ACCELERATED → const int
SDL_RENDERER_PRESENTVSYNC → const int
SDL_RENDERER_SOFTWARE → const int
SDL_RENDERER_TARGETTEXTURE → const int
SDL_REVISION → const String
SDL_REVISION_NUMBER → const int
SDL_RLEACCEL → const int
SDL_RWOPS_JNIFILE → const int
SDL_RWOPS_MEMORY → const int
SDL_RWOPS_MEMORY_RO → const int
SDL_RWOPS_STDFILE → const int
SDL_RWOPS_UNKNOWN → const int
SDL_RWOPS_WINFILE → const int
SDL_ScaleModeBest → const int
SDL_ScaleModeLinear → const int
SDL_ScaleModeNearest → const int
SDL_SCANCODE_0 → const int
SDL_SCANCODE_1 → const int
SDL_SCANCODE_2 → const int
SDL_SCANCODE_3 → const int
SDL_SCANCODE_4 → const int
SDL_SCANCODE_5 → const int
SDL_SCANCODE_6 → const int
SDL_SCANCODE_7 → const int
SDL_SCANCODE_8 → const int
SDL_SCANCODE_9 → const int
SDL_SCANCODE_A → const int
SDL_SCANCODE_AC_BACK → const int
SDL_SCANCODE_AC_BOOKMARKS → const int
SDL_SCANCODE_AC_FORWARD → const int
SDL_SCANCODE_AC_HOME → const int
SDL_SCANCODE_AC_REFRESH → const int
SDL_SCANCODE_AC_STOP → const int
SDL_SCANCODE_AGAIN → const int
SDL_SCANCODE_ALTERASE → const int
SDL_SCANCODE_APOSTROPHE → const int
SDL_SCANCODE_APP1 → const int
SDL_SCANCODE_APP2 → const int
SDL_SCANCODE_APPLICATION → const int
SDL_SCANCODE_AUDIOFASTFORWARD → const int
SDL_SCANCODE_AUDIOMUTE → const int
SDL_SCANCODE_AUDIONEXT → const int
SDL_SCANCODE_AUDIOPLAY → const int
SDL_SCANCODE_AUDIOPREV → const int
SDL_SCANCODE_AUDIOREWIND → const int
SDL_SCANCODE_AUDIOSTOP → const int
SDL_SCANCODE_B → const int
SDL_SCANCODE_BACKSLASH → const int
SDL_SCANCODE_BACKSPACE → const int
SDL_SCANCODE_BRIGHTNESSDOWN → const int
SDL_SCANCODE_BRIGHTNESSUP → const int
SDL_SCANCODE_C → const int
SDL_SCANCODE_CALCULATOR → const int
SDL_SCANCODE_CALL → const int
SDL_SCANCODE_CANCEL → const int
SDL_SCANCODE_CAPSLOCK → const int
SDL_SCANCODE_CLEAR → const int
SDL_SCANCODE_CLEARAGAIN → const int
SDL_SCANCODE_COMMA → const int
SDL_SCANCODE_COMPUTER → const int
SDL_SCANCODE_COPY → const int
SDL_SCANCODE_CRSEL → const int
SDL_SCANCODE_CURRENCYSUBUNIT → const int
SDL_SCANCODE_CURRENCYUNIT → const int
SDL_SCANCODE_CUT → const int
SDL_SCANCODE_D → const int
SDL_SCANCODE_DECIMALSEPARATOR → const int
SDL_SCANCODE_DELETE → const int
SDL_SCANCODE_DISPLAYSWITCH → const int
SDL_SCANCODE_DOWN → const int
SDL_SCANCODE_E → const int
SDL_SCANCODE_EJECT → const int
SDL_SCANCODE_END → const int
SDL_SCANCODE_ENDCALL → const int
SDL_SCANCODE_EQUALS → const int
SDL_SCANCODE_ESCAPE → const int
SDL_SCANCODE_EXECUTE → const int
SDL_SCANCODE_EXSEL → const int
SDL_SCANCODE_F → const int
SDL_SCANCODE_F1 → const int
SDL_SCANCODE_F10 → const int
SDL_SCANCODE_F11 → const int
SDL_SCANCODE_F12 → const int
SDL_SCANCODE_F13 → const int
SDL_SCANCODE_F14 → const int
SDL_SCANCODE_F15 → const int
SDL_SCANCODE_F16 → const int
SDL_SCANCODE_F17 → const int
SDL_SCANCODE_F18 → const int
SDL_SCANCODE_F19 → const int
SDL_SCANCODE_F2 → const int
SDL_SCANCODE_F20 → const int
SDL_SCANCODE_F21 → const int
SDL_SCANCODE_F22 → const int
SDL_SCANCODE_F23 → const int
SDL_SCANCODE_F24 → const int
SDL_SCANCODE_F3 → const int
SDL_SCANCODE_F4 → const int
SDL_SCANCODE_F5 → const int
SDL_SCANCODE_F6 → const int
SDL_SCANCODE_F7 → const int
SDL_SCANCODE_F8 → const int
SDL_SCANCODE_F9 → const int
SDL_SCANCODE_FIND → const int
SDL_SCANCODE_G → const int
SDL_SCANCODE_GRAVE → const int
SDL_SCANCODE_H → const int
SDL_SCANCODE_HELP → const int
SDL_SCANCODE_HOME → const int
SDL_SCANCODE_I → const int
SDL_SCANCODE_INSERT → const int
SDL_SCANCODE_INTERNATIONAL1 → const int
SDL_SCANCODE_INTERNATIONAL2 → const int
SDL_SCANCODE_INTERNATIONAL3 → const int
SDL_SCANCODE_INTERNATIONAL4 → const int
SDL_SCANCODE_INTERNATIONAL5 → const int
SDL_SCANCODE_INTERNATIONAL6 → const int
SDL_SCANCODE_INTERNATIONAL7 → const int
SDL_SCANCODE_INTERNATIONAL8 → const int
SDL_SCANCODE_INTERNATIONAL9 → const int
SDL_SCANCODE_J → const int
SDL_SCANCODE_K → const int
SDL_SCANCODE_KBDILLUMDOWN → const int
SDL_SCANCODE_KBDILLUMTOGGLE → const int
SDL_SCANCODE_KBDILLUMUP → const int
SDL_SCANCODE_KP_0 → const int
SDL_SCANCODE_KP_00 → const int
SDL_SCANCODE_KP_000 → const int
SDL_SCANCODE_KP_1 → const int
SDL_SCANCODE_KP_2 → const int
SDL_SCANCODE_KP_3 → const int
SDL_SCANCODE_KP_4 → const int
SDL_SCANCODE_KP_5 → const int
SDL_SCANCODE_KP_6 → const int
SDL_SCANCODE_KP_7 → const int
SDL_SCANCODE_KP_8 → const int
SDL_SCANCODE_KP_9 → const int
SDL_SCANCODE_KP_A → const int
SDL_SCANCODE_KP_AMPERSAND → const int
SDL_SCANCODE_KP_AT → const int
SDL_SCANCODE_KP_B → const int
SDL_SCANCODE_KP_BACKSPACE → const int
SDL_SCANCODE_KP_BINARY → const int
SDL_SCANCODE_KP_C → const int
SDL_SCANCODE_KP_CLEAR → const int
SDL_SCANCODE_KP_CLEARENTRY → const int
SDL_SCANCODE_KP_COLON → const int
SDL_SCANCODE_KP_COMMA → const int
SDL_SCANCODE_KP_D → const int
SDL_SCANCODE_KP_DBLAMPERSAND → const int
SDL_SCANCODE_KP_DBLVERTICALBAR → const int
SDL_SCANCODE_KP_DECIMAL → const int
SDL_SCANCODE_KP_DIVIDE → const int
SDL_SCANCODE_KP_E → const int
SDL_SCANCODE_KP_ENTER → const int
SDL_SCANCODE_KP_EQUALS → const int
SDL_SCANCODE_KP_EQUALSAS400 → const int
SDL_SCANCODE_KP_EXCLAM → const int
SDL_SCANCODE_KP_F → const int
SDL_SCANCODE_KP_GREATER → const int
SDL_SCANCODE_KP_HASH → const int
SDL_SCANCODE_KP_HEXADECIMAL → const int
SDL_SCANCODE_KP_LEFTBRACE → const int
SDL_SCANCODE_KP_LEFTPAREN → const int
SDL_SCANCODE_KP_LESS → const int
SDL_SCANCODE_KP_MEMADD → const int
SDL_SCANCODE_KP_MEMCLEAR → const int
SDL_SCANCODE_KP_MEMDIVIDE → const int
SDL_SCANCODE_KP_MEMMULTIPLY → const int
SDL_SCANCODE_KP_MEMRECALL → const int
SDL_SCANCODE_KP_MEMSTORE → const int
SDL_SCANCODE_KP_MEMSUBTRACT → const int
SDL_SCANCODE_KP_MINUS → const int
SDL_SCANCODE_KP_MULTIPLY → const int
SDL_SCANCODE_KP_OCTAL → const int
SDL_SCANCODE_KP_PERCENT → const int
SDL_SCANCODE_KP_PERIOD → const int
SDL_SCANCODE_KP_PLUS → const int
SDL_SCANCODE_KP_PLUSMINUS → const int
SDL_SCANCODE_KP_POWER → const int
SDL_SCANCODE_KP_RIGHTBRACE → const int
SDL_SCANCODE_KP_RIGHTPAREN → const int
SDL_SCANCODE_KP_SPACE → const int
SDL_SCANCODE_KP_TAB → const int
SDL_SCANCODE_KP_VERTICALBAR → const int
SDL_SCANCODE_KP_XOR → const int
SDL_SCANCODE_L → const int
SDL_SCANCODE_LALT → const int
SDL_SCANCODE_LANG1 → const int
SDL_SCANCODE_LANG2 → const int
SDL_SCANCODE_LANG3 → const int
SDL_SCANCODE_LANG4 → const int
SDL_SCANCODE_LANG5 → const int
SDL_SCANCODE_LANG6 → const int
SDL_SCANCODE_LANG7 → const int
SDL_SCANCODE_LANG8 → const int
SDL_SCANCODE_LANG9 → const int
SDL_SCANCODE_LCTRL → const int
SDL_SCANCODE_LEFT → const int
SDL_SCANCODE_LEFTBRACKET → const int
SDL_SCANCODE_LGUI → const int
SDL_SCANCODE_LSHIFT → const int
SDL_SCANCODE_M → const int
SDL_SCANCODE_MAIL → const int
SDL_SCANCODE_MEDIASELECT → const int
SDL_SCANCODE_MENU → const int
SDL_SCANCODE_MINUS → const int
SDL_SCANCODE_MODE → const int
SDL_SCANCODE_MUTE → const int
SDL_SCANCODE_N → const int
SDL_SCANCODE_NONUSBACKSLASH → const int
SDL_SCANCODE_NONUSHASH → const int
SDL_SCANCODE_NUMLOCKCLEAR → const int
SDL_SCANCODE_O → const int
SDL_SCANCODE_OPER → const int
SDL_SCANCODE_OUT → const int
SDL_SCANCODE_P → const int
SDL_SCANCODE_PAGEDOWN → const int
SDL_SCANCODE_PAGEUP → const int
SDL_SCANCODE_PASTE → const int
SDL_SCANCODE_PAUSE → const int
SDL_SCANCODE_PERIOD → const int
SDL_SCANCODE_POWER → const int
SDL_SCANCODE_PRINTSCREEN → const int
SDL_SCANCODE_PRIOR → const int
SDL_SCANCODE_Q → const int
SDL_SCANCODE_R → const int
SDL_SCANCODE_RALT → const int
SDL_SCANCODE_RCTRL → const int
SDL_SCANCODE_RETURN → const int
SDL_SCANCODE_RETURN2 → const int
SDL_SCANCODE_RGUI → const int
SDL_SCANCODE_RIGHT → const int
SDL_SCANCODE_RIGHTBRACKET → const int
SDL_SCANCODE_RSHIFT → const int
SDL_SCANCODE_S → const int
SDL_SCANCODE_SCROLLLOCK → const int
SDL_SCANCODE_SELECT → const int
SDL_SCANCODE_SEMICOLON → const int
SDL_SCANCODE_SEPARATOR → const int
SDL_SCANCODE_SLASH → const int
SDL_SCANCODE_SLEEP → const int
SDL_SCANCODE_SOFTLEFT → const int
SDL_SCANCODE_SOFTRIGHT → const int
SDL_SCANCODE_SPACE → const int
SDL_SCANCODE_STOP → const int
SDL_SCANCODE_SYSREQ → const int
SDL_SCANCODE_T → const int
SDL_SCANCODE_TAB → const int
SDL_SCANCODE_THOUSANDSSEPARATOR → const int
SDL_SCANCODE_U → const int
SDL_SCANCODE_UNDO → const int
SDL_SCANCODE_UNKNOWN → const int
SDL_SCANCODE_UP → const int
SDL_SCANCODE_V → const int
SDL_SCANCODE_VOLUMEDOWN → const int
SDL_SCANCODE_VOLUMEUP → const int
SDL_SCANCODE_W → const int
SDL_SCANCODE_WWW → const int
SDL_SCANCODE_X → const int
SDL_SCANCODE_Y → const int
SDL_SCANCODE_Z → const int
SDL_SENSOR_ACCEL → const int
SDL_SENSOR_ACCEL_L → const int
SDL_SENSOR_ACCEL_R → const int
SDL_SENSOR_ANDROID → const int
SDL_SENSOR_COREMOTION → const int
SDL_SENSOR_DISABLED → const int
SDL_SENSOR_DUMMY → const int
SDL_SENSOR_GYRO → const int
SDL_SENSOR_GYRO_L → const int
SDL_SENSOR_GYRO_R → const int
SDL_SENSOR_INVALID → const int
SDL_SENSOR_UNKNOWN → const int
SDL_SENSOR_WINDOWS → const int
SDL_SENSORUPDATE → const int
SDL_SIMD_ALIGNED → const int
SDL_STANDARD_GRAVITY → const double
SDL_SWSURFACE → const int
SDL_SYSTEM_CURSOR_ARROW → const int
SDL_SYSTEM_CURSOR_CROSSHAIR → const int
SDL_SYSTEM_CURSOR_HAND → const int
SDL_SYSTEM_CURSOR_IBEAM → const int
SDL_SYSTEM_CURSOR_NO → const int
SDL_SYSTEM_CURSOR_SIZEALL → const int
SDL_SYSTEM_CURSOR_SIZENESW → const int
SDL_SYSTEM_CURSOR_SIZENS → const int
SDL_SYSTEM_CURSOR_SIZENWSE → const int
SDL_SYSTEM_CURSOR_SIZEWE → const int
SDL_SYSTEM_CURSOR_WAIT → const int
SDL_SYSTEM_CURSOR_WAITARROW → const int
SDL_SYSWM_ANDROID → const int
SDL_SYSWM_COCOA → const int
SDL_SYSWM_DIRECTFB → const int
SDL_SYSWM_HAIKU → const int
SDL_SYSWM_KMSDRM → const int
SDL_SYSWM_MIR → const int
SDL_SYSWM_OS2 → const int
SDL_SYSWM_RISCOS → const int
SDL_SYSWM_UIKIT → const int
SDL_SYSWM_UNKNOWN → const int
SDL_SYSWM_VIVANTE → const int
SDL_SYSWM_WAYLAND → const int
SDL_SYSWM_WINDOWS → const int
SDL_SYSWM_WINRT → const int
SDL_SYSWM_X11 → const int
SDL_SYSWMEVENT → const int
SDL_TEXTEDITING → const int
SDL_TEXTEDITING_EXT → const int
SDL_TEXTEDITINGEVENT_TEXT_SIZE → const int
SDL_TEXTINPUT → const int
SDL_TEXTINPUTEVENT_TEXT_SIZE → const int
SDL_TEXTUREACCESS_STATIC → const int
SDL_TEXTUREACCESS_STREAMING → const int
SDL_TEXTUREACCESS_TARGET → const int
SDL_TEXTUREMODULATE_ALPHA → const int
SDL_TEXTUREMODULATE_COLOR → const int
SDL_TEXTUREMODULATE_NONE → const int
SDL_THREAD_GENERIC_COND_SUFFIX → const int
SDL_THREAD_NGAGE → const int
SDL_THREAD_OS2 → const int
SDL_THREAD_PRIORITY_HIGH → const int
SDL_THREAD_PRIORITY_LOW → const int
SDL_THREAD_PRIORITY_NORMAL → const int
SDL_THREAD_PRIORITY_TIME_CRITICAL → const int
SDL_THREAD_PTHREAD → const int
SDL_THREAD_PTHREAD_RECURSIVE_MUTEX → const int
SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP → const int
SDL_THREAD_STDCPP → const int
SDL_THREAD_WINDOWS → const int
SDL_THREADS_DISABLED → const int
SDL_TIMER_NGAGE → const int
SDL_TIMER_OS2 → const int
SDL_TIMER_UNIX → const int
SDL_TIMER_WINDOWS → const int
SDL_TIMERS_DISABLED → const int
SDL_TOUCH_DEVICE_DIRECT → const int
SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE → const int
SDL_TOUCH_DEVICE_INDIRECT_RELATIVE → const int
SDL_TOUCH_DEVICE_INVALID → const int
SDL_TRUE → const int
SDL_TTF_MAJOR_VERSION → const int
SDL_TTF_MINOR_VERSION → const int
SDL_TTF_PATCHLEVEL → const int
SDL_UNSUPPORTED → const int
SDL_USEREVENT → const int
SDL_VIDEO_DRIVER_ANDROID → const int
SDL_VIDEO_DRIVER_COCOA → const int
SDL_VIDEO_DRIVER_DUMMY → const int
SDL_VIDEO_DRIVER_EMSCRIPTEN → const int
SDL_VIDEO_DRIVER_NGAGE → const int
SDL_VIDEO_DRIVER_OS2 → const int
SDL_VIDEO_DRIVER_PANDORA → const int
SDL_VIDEO_DRIVER_UIKIT → const int
SDL_VIDEO_DRIVER_WINDOWS → const int
SDL_VIDEO_DRIVER_WINRT → const int
SDL_VIDEO_DRIVER_X11 → const int
SDL_VIDEO_DRIVER_X11_DYNAMIC → const String
SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT → const String
SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 → const String
SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR → const String
SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS → const String
SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM → const int
SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS → const int
SDL_VIDEO_DRIVER_X11_XDBE → const int
SDL_VIDEO_DRIVER_X11_XINPUT2 → const int
SDL_VIDEO_DRIVER_X11_XRANDR → const int
SDL_VIDEO_DRIVER_X11_XSCRNSAVER → const int
SDL_VIDEO_DRIVER_X11_XSHAPE → const int
SDL_VIDEO_METAL → const int
SDL_VIDEO_OPENGL → const int
SDL_VIDEO_OPENGL_CGL → const int
SDL_VIDEO_OPENGL_EGL → const int
SDL_VIDEO_OPENGL_ES → const int
SDL_VIDEO_OPENGL_ES2 → const int
SDL_VIDEO_OPENGL_GLX → const int
SDL_VIDEO_OPENGL_WGL → const int
SDL_VIDEO_RENDER_D3D → const int
SDL_VIDEO_RENDER_D3D11 → const int
SDL_VIDEO_RENDER_D3D12 → const int
SDL_VIDEO_RENDER_METAL → const int
SDL_VIDEO_RENDER_OGL → const int
SDL_VIDEO_RENDER_OGL_ES → const int
SDL_VIDEO_RENDER_OGL_ES2 → const int
SDL_VIDEO_VULKAN → const int
SDL_VIRTUAL_JOYSTICK_DESC_VERSION → const int
SDL_WINDOW_ALLOW_HIGHDPI → const int
SDL_WINDOW_ALWAYS_ON_TOP → const int
SDL_WINDOW_BORDERLESS → const int
SDL_WINDOW_FOREIGN → const int
SDL_WINDOW_FULLSCREEN → const int
SDL_WINDOW_FULLSCREEN_DESKTOP → const int
SDL_WINDOW_HIDDEN → const int
SDL_WINDOW_INPUT_FOCUS → const int
SDL_WINDOW_INPUT_GRABBED → const int
SDL_WINDOW_KEYBOARD_GRABBED → const int
SDL_WINDOW_LACKS_SHAPE → const int
SDL_WINDOW_MAXIMIZED → const int
SDL_WINDOW_METAL → const int
SDL_WINDOW_MINIMIZED → const int
SDL_WINDOW_MOUSE_CAPTURE → const int
SDL_WINDOW_MOUSE_FOCUS → const int
SDL_WINDOW_MOUSE_GRABBED → const int
SDL_WINDOW_OPENGL → const int
SDL_WINDOW_POPUP_MENU → const int
SDL_WINDOW_RESIZABLE → const int
SDL_WINDOW_SHOWN → const int
SDL_WINDOW_SKIP_TASKBAR → const int
SDL_WINDOW_TOOLTIP → const int
SDL_WINDOW_UTILITY → const int
SDL_WINDOW_VULKAN → const int
SDL_WINDOWEVENT → const int
SDL_WINDOWEVENT_CLOSE → const int
SDL_WINDOWEVENT_DISPLAY_CHANGED → const int
SDL_WINDOWEVENT_ENTER → const int
SDL_WINDOWEVENT_EXPOSED → const int
SDL_WINDOWEVENT_FOCUS_GAINED → const int
SDL_WINDOWEVENT_FOCUS_LOST → const int
SDL_WINDOWEVENT_HIDDEN → const int
SDL_WINDOWEVENT_HIT_TEST → const int
SDL_WINDOWEVENT_ICCPROF_CHANGED → const int
SDL_WINDOWEVENT_LEAVE → const int
SDL_WINDOWEVENT_MAXIMIZED → const int
SDL_WINDOWEVENT_MINIMIZED → const int
SDL_WINDOWEVENT_MOVED → const int
SDL_WINDOWEVENT_NONE → const int
SDL_WINDOWEVENT_RESIZED → const int
SDL_WINDOWEVENT_RESTORED → const int
SDL_WINDOWEVENT_SHOWN → const int
SDL_WINDOWEVENT_SIZE_CHANGED → const int
SDL_WINDOWEVENT_TAKE_FOCUS → const int
SDL_WINDOWPOS_CENTERED_MASK → const int
SDL_WINDOWPOS_UNDEFINED_MASK → const int
SDL_WINRT_DEVICEFAMILY_DESKTOP → const int
SDL_WINRT_DEVICEFAMILY_MOBILE → const int
SDL_WINRT_DEVICEFAMILY_UNKNOWN → const int
SDL_WINRT_DEVICEFAMILY_XBOX → const int
SDL_WINRT_PATH_INSTALLED_LOCATION → const int
SDL_WINRT_PATH_LOCAL_FOLDER → const int
SDL_WINRT_PATH_ROAMING_FOLDER → const int
SDL_WINRT_PATH_TEMP_FOLDER → const int
SDL_YUV_CONVERSION_AUTOMATIC → const int
SDL_YUV_CONVERSION_BT601 → const int
SDL_YUV_CONVERSION_BT709 → const int
SDL_YUV_CONVERSION_JPEG → const int
SDLK_0 → const int
SDLK_1 → const int
SDLK_2 → const int
SDLK_3 → const int
SDLK_4 → const int
SDLK_5 → const int
SDLK_6 → const int
SDLK_7 → const int
SDLK_8 → const int
SDLK_9 → const int
SDLK_a → const int
SDLK_AC_BACK → const int
SDLK_AC_BOOKMARKS → const int
SDLK_AC_FORWARD → const int
SDLK_AC_HOME → const int
SDLK_AC_REFRESH → const int
SDLK_AC_STOP → const int
SDLK_AGAIN → const int
SDLK_ALTERASE → const int
SDLK_AMPERSAND → const int
SDLK_APPLICATION → const int
SDLK_ASTERISK → const int
SDLK_AT → const int
SDLK_AUDIOMUTE → const int
SDLK_AUDIONEXT → const int
SDLK_AUDIOPLAY → const int
SDLK_AUDIOPREV → const int
SDLK_AUDIOSTOP → const int
SDLK_b → const int
SDLK_BACKQUOTE → const int
SDLK_BACKSLASH → const int
SDLK_BACKSPACE → const int
SDLK_BRIGHTNESSDOWN → const int
SDLK_BRIGHTNESSUP → const int
SDLK_c → const int
SDLK_CALCULATOR → const int
SDLK_CANCEL → const int
SDLK_CAPSLOCK → const int
SDLK_CARET → const int
SDLK_CLEAR → const int
SDLK_CLEARAGAIN → const int
SDLK_COLON → const int
SDLK_COMMA → const int
SDLK_COMPUTER → const int
SDLK_COPY → const int
SDLK_CRSEL → const int
SDLK_CURRENCYSUBUNIT → const int
SDLK_CURRENCYUNIT → const int
SDLK_CUT → const int
SDLK_d → const int
SDLK_DECIMALSEPARATOR → const int
SDLK_DELETE → const int
SDLK_DISPLAYSWITCH → const int
SDLK_DOLLAR → const int
SDLK_DOWN → const int
SDLK_e → const int
SDLK_EJECT → const int
SDLK_END → const int
SDLK_EQUALS → const int
SDLK_ESCAPE → const int
SDLK_EXCLAIM → const int
SDLK_EXECUTE → const int
SDLK_EXSEL → const int
SDLK_f → const int
SDLK_F1 → const int
SDLK_F10 → const int
SDLK_F11 → const int
SDLK_F12 → const int
SDLK_F13 → const int
SDLK_F14 → const int
SDLK_F15 → const int
SDLK_F16 → const int
SDLK_F17 → const int
SDLK_F18 → const int
SDLK_F19 → const int
SDLK_F2 → const int
SDLK_F20 → const int
SDLK_F21 → const int
SDLK_F22 → const int
SDLK_F23 → const int
SDLK_F24 → const int
SDLK_F3 → const int
SDLK_F4 → const int
SDLK_F5 → const int
SDLK_F6 → const int
SDLK_F7 → const int
SDLK_F8 → const int
SDLK_F9 → const int
SDLK_FIND → const int
SDLK_g → const int
SDLK_GREATER → const int
SDLK_h → const int
SDLK_HASH → const int
SDLK_HELP → const int
SDLK_HOME → const int
SDLK_i → const int
SDLK_INSERT → const int
SDLK_j → const int
SDLK_k → const int
SDLK_KBDILLUMDOWN → const int
SDLK_KBDILLUMTOGGLE → const int
SDLK_KBDILLUMUP → const int
SDLK_KP_0 → const int
SDLK_KP_00 → const int
SDLK_KP_000 → const int
SDLK_KP_1 → const int
SDLK_KP_2 → const int
SDLK_KP_3 → const int
SDLK_KP_4 → const int
SDLK_KP_5 → const int
SDLK_KP_6 → const int
SDLK_KP_7 → const int
SDLK_KP_8 → const int
SDLK_KP_9 → const int
SDLK_KP_A → const int
SDLK_KP_AMPERSAND → const int
SDLK_KP_AT → const int
SDLK_KP_B → const int
SDLK_KP_BACKSPACE → const int
SDLK_KP_BINARY → const int
SDLK_KP_C → const int
SDLK_KP_CLEAR → const int
SDLK_KP_CLEARENTRY → const int
SDLK_KP_COLON → const int
SDLK_KP_COMMA → const int
SDLK_KP_D → const int
SDLK_KP_DBLAMPERSAND → const int
SDLK_KP_DBLVERTICALBAR → const int
SDLK_KP_DECIMAL → const int
SDLK_KP_DIVIDE → const int
SDLK_KP_E → const int
SDLK_KP_ENTER → const int
SDLK_KP_EQUALS → const int
SDLK_KP_EQUALSAS400 → const int
SDLK_KP_EXCLAM → const int
SDLK_KP_F → const int
SDLK_KP_GREATER → const int
SDLK_KP_HASH → const int
SDLK_KP_HEXADECIMAL → const int
SDLK_KP_LEFTBRACE → const int
SDLK_KP_LEFTPAREN → const int
SDLK_KP_LESS → const int
SDLK_KP_MEMADD → const int
SDLK_KP_MEMCLEAR → const int
SDLK_KP_MEMDIVIDE → const int
SDLK_KP_MEMMULTIPLY → const int
SDLK_KP_MEMRECALL → const int
SDLK_KP_MEMSTORE → const int
SDLK_KP_MEMSUBTRACT → const int
SDLK_KP_MINUS → const int
SDLK_KP_MULTIPLY → const int
SDLK_KP_OCTAL → const int
SDLK_KP_PERCENT → const int
SDLK_KP_PERIOD → const int
SDLK_KP_PLUS → const int
SDLK_KP_PLUSMINUS → const int
SDLK_KP_POWER → const int
SDLK_KP_RIGHTBRACE → const int
SDLK_KP_RIGHTPAREN → const int
SDLK_KP_SPACE → const int
SDLK_KP_TAB → const int
SDLK_KP_VERTICALBAR → const int
SDLK_KP_XOR → const int
SDLK_l → const int
SDLK_LALT → const int
SDLK_LCTRL → const int
SDLK_LEFT → const int
SDLK_LEFTBRACKET → const int
SDLK_LEFTPAREN → const int
SDLK_LESS → const int
SDLK_LGUI → const int
SDLK_LSHIFT → const int
SDLK_m → const int
SDLK_MAIL → const int
SDLK_MEDIASELECT → const int
SDLK_MENU → const int
SDLK_MINUS → const int
SDLK_MODE → const int
SDLK_MUTE → const int
SDLK_n → const int
SDLK_NUMLOCKCLEAR → const int
SDLK_o → const int
SDLK_OPER → const int
SDLK_OUT → const int
SDLK_p → const int
SDLK_PAGEDOWN → const int
SDLK_PAGEUP → const int
SDLK_PASTE → const int
SDLK_PAUSE → const int
SDLK_PERCENT → const int
SDLK_PERIOD → const int
SDLK_PLUS → const int
SDLK_POWER → const int
SDLK_PRINTSCREEN → const int
SDLK_PRIOR → const int
SDLK_q → const int
SDLK_QUESTION → const int
SDLK_QUOTE → const int
SDLK_QUOTEDBL → const int
SDLK_r → const int
SDLK_RALT → const int
SDLK_RCTRL → const int
SDLK_RETURN → const int
SDLK_RETURN2 → const int
SDLK_RGUI → const int
SDLK_RIGHT → const int
SDLK_RIGHTBRACKET → const int
SDLK_RIGHTPAREN → const int
SDLK_RSHIFT → const int
SDLK_s → const int
SDLK_SCANCODE_MASK → const int
SDLK_SCROLLLOCK → const int
SDLK_SELECT → const int
SDLK_SEMICOLON → const int
SDLK_SEPARATOR → const int
SDLK_SLASH → const int
SDLK_SLEEP → const int
SDLK_SPACE → const int
SDLK_STOP → const int
SDLK_SYSREQ → const int
SDLK_t → const int
SDLK_TAB → const int
SDLK_THOUSANDSSEPARATOR → const int
SDLK_u → const int
SDLK_UNDERSCORE → const int
SDLK_UNDO → const int
SDLK_UNKNOWN → const int
SDLK_UP → const int
SDLK_v → const int
SDLK_VOLUMEDOWN → const int
SDLK_VOLUMEUP → const int
SDLK_w → const int
SDLK_WWW → const int
SDLK_x → const int
SDLK_y → const int
SDLK_z → const int
SDLNET_MAX_UDPADDRESSES → const int
SDLNET_MAX_UDPCHANNELS → const int
ShapeModeBinarizeAlpha → const int
ShapeModeColorKey → const int
ShapeModeDefault → const int
ShapeModeReverseBinarizeAlpha → const int
SIZEOF_VOIDP → const int
STDC_HEADERS → const int
TARGET_OS_IOS → const int
TARGET_OS_IPHONE → const int
TARGET_OS_MACCATALYST → const int
TARGET_OS_SIMULATOR → const int
TARGET_OS_TV → const int
TTF_DIRECTION_BTT → const int
TTF_DIRECTION_LTR → const int
TTF_DIRECTION_RTL → const int
TTF_DIRECTION_TTB → const int
TTF_HINTING_LIGHT → const int
TTF_HINTING_LIGHT_SUBPIXEL → const int
TTF_HINTING_MONO → const int
TTF_HINTING_NONE → const int
TTF_HINTING_NORMAL → const int
TTF_MAJOR_VERSION → const int
TTF_MINOR_VERSION → const int
TTF_PATCHLEVEL → const int
TTF_STYLE_BOLD → const int
TTF_STYLE_ITALIC → const int
TTF_STYLE_NORMAL → const int
TTF_STYLE_STRIKETHROUGH → const int
TTF_STYLE_UNDERLINE → const int
TTF_WRAPPED_ALIGN_CENTER → const int
TTF_WRAPPED_ALIGN_LEFT → const int
TTF_WRAPPED_ALIGN_RIGHT → const int
UNICODE_BOM_NATIVE → const int
UNICODE_BOM_SWAPPED → const int

Properties

libSdl2 DynamicLibrary
final
libSdl2Image DynamicLibrary
final
libSdl2Mixer DynamicLibrary
final
libSdl2Net DynamicLibrary
final
libSdl2Ttf DynamicLibrary
final
SDL_BUTTON_LMASK int
const SDL_BUTTON_LMASK = SDL_BUTTON(SDL_BUTTON_LEFT);
final
SDL_BUTTON_MMASK int
const SDL_BUTTON_MMASK = SDL_BUTTON(SDL_BUTTON_MIDDLE);
final
SDL_BUTTON_RMASK int
const SDL_BUTTON_RMASK = SDL_BUTTON(SDL_BUTTON_RIGHT);
final
SDL_BUTTON_X1MASK int
const SDL_BUTTON_X1MASK = SDL_BUTTON(SDL_BUTTON_X1);
final
SDL_BUTTON_X2MASK int
const SDL_BUTTON_X2MASK = SDL_BUTTON(SDL_BUTTON_X2);
final
SDL_COMPILEDVERSION int
const SDL_COMPILEDVERSION = \ SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
final
SDL_IMAGE_COMPILEDVERSION int
const SDL_IMAGE_COMPILEDVERSION = \ SDL_VERSIONNUM(SDL_IMAGE_MAJOR_VERSION, SDL_IMAGE_MINOR_VERSION, SDL_IMAGE_PATCHLEVEL);
final
SDL_MIXER_COMPILEDVERSION int
const SDL_MIXER_COMPILEDVERSION = \ SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, SDL_MIXER_MINOR_VERSION, SDL_MIXER_PATCHLEVEL);
final
SDL_PIXELFORMAT_ABGR1555 int
final
SDL_PIXELFORMAT_ABGR32 int
final
SDL_PIXELFORMAT_ABGR4444 int
final
SDL_PIXELFORMAT_ABGR8888 int
final
SDL_PIXELFORMAT_ARGB1555 int
final
SDL_PIXELFORMAT_ARGB2101010 int
final
SDL_PIXELFORMAT_ARGB32 int
final
SDL_PIXELFORMAT_ARGB4444 int
final
SDL_PIXELFORMAT_ARGB8888 int
final
SDL_PIXELFORMAT_BGR24 int
final
SDL_PIXELFORMAT_BGR444 int
final
SDL_PIXELFORMAT_BGR555 int
final
SDL_PIXELFORMAT_BGR565 int
final
SDL_PIXELFORMAT_BGR888 int
final
SDL_PIXELFORMAT_BGRA32 int
final
SDL_PIXELFORMAT_BGRA4444 int
final
SDL_PIXELFORMAT_BGRA5551 int
final
SDL_PIXELFORMAT_BGRA8888 int
final
SDL_PIXELFORMAT_BGRX8888 int
final
SDL_PIXELFORMAT_INDEX1LSB int
final
SDL_PIXELFORMAT_INDEX1MSB int
final
SDL_PIXELFORMAT_INDEX4LSB int
final
SDL_PIXELFORMAT_INDEX4MSB int
final
SDL_PIXELFORMAT_INDEX8 int
final
SDL_PIXELFORMAT_RGB24 int
final
SDL_PIXELFORMAT_RGB332 int
final
SDL_PIXELFORMAT_RGB444 int
final
SDL_PIXELFORMAT_RGB555 int
final
SDL_PIXELFORMAT_RGB565 int
final
SDL_PIXELFORMAT_RGB888 int
final
SDL_PIXELFORMAT_RGBA32 int
final
SDL_PIXELFORMAT_RGBA4444 int
final
SDL_PIXELFORMAT_RGBA5551 int
final
SDL_PIXELFORMAT_RGBA8888 int
final
SDL_PIXELFORMAT_RGBX8888 int
final
SDL_PIXELFORMAT_XBGR1555 int
final
SDL_PIXELFORMAT_XBGR4444 int
final
SDL_PIXELFORMAT_XBGR8888 int
final
SDL_PIXELFORMAT_XRGB1555 int
final
SDL_PIXELFORMAT_XRGB4444 int
final
SDL_PIXELFORMAT_XRGB8888 int
final
SDL_TTF_COMPILEDVERSION int
const SDL_TTF_COMPILEDVERSION = \ SDL_VERSIONNUM(SDL_TTF_MAJOR_VERSION, SDL_TTF_MINOR_VERSION, SDL_TTF_PATCHLEVEL);
final
SDL_WINDOWPOS_CENTERED int
const SDL_WINDOWPOS_CENTERED = SDL_WINDOWPOS_CENTERED_DISPLAY(0);
final
SDL_WINDOWPOS_UNDEFINED int
const SDL_WINDOWPOS_UNDEFINED = SDL_WINDOWPOS_UNDEFINED_DISPLAY(0);
final

Functions

imgFreeAnimation(Pointer<ImgAnimation> anim) → void
Dispose of an IMG_Animation and free its resources.
imgGetError() String?
const IMG_GetError = SDL_GetError;
imgInit(int flags) int
Initialize SDL_image.
imgIsAvif(Pointer<SdlRWops> src) int
Detect AVIF image data on a readable/seekable SDL_RWops.
imgIsBmp(Pointer<SdlRWops> src) int
Detect BMP image data on a readable/seekable SDL_RWops.
imgIsCur(Pointer<SdlRWops> src) int
Detect CUR image data on a readable/seekable SDL_RWops.
imgIsGif(Pointer<SdlRWops> src) int
Detect GIF image data on a readable/seekable SDL_RWops.
imgIsIco(Pointer<SdlRWops> src) int
Detect ICO image data on a readable/seekable SDL_RWops.
imgIsJpg(Pointer<SdlRWops> src) int
Detect JPG image data on a readable/seekable SDL_RWops.
imgIsJxl(Pointer<SdlRWops> src) int
Detect JXL image data on a readable/seekable SDL_RWops.
imgIsLbm(Pointer<SdlRWops> src) int
Detect LBM image data on a readable/seekable SDL_RWops.
imgIsPcx(Pointer<SdlRWops> src) int
Detect PCX image data on a readable/seekable SDL_RWops.
imgIsPng(Pointer<SdlRWops> src) int
Detect PNG image data on a readable/seekable SDL_RWops.
imgIsPnm(Pointer<SdlRWops> src) int
Detect PNM image data on a readable/seekable SDL_RWops.
imgIsQoi(Pointer<SdlRWops> src) int
Detect QOI image data on a readable/seekable SDL_RWops.
imgIsSvg(Pointer<SdlRWops> src) int
Detect SVG image data on a readable/seekable SDL_RWops.
imgIsTif(Pointer<SdlRWops> src) int
Detect TIFF image data on a readable/seekable SDL_RWops.
imgIsWebp(Pointer<SdlRWops> src) int
Detect WEBP image data on a readable/seekable SDL_RWops.
imgIsXcf(Pointer<SdlRWops> src) int
Detect XCF image data on a readable/seekable SDL_RWops.
imgIsXpm(Pointer<SdlRWops> src) int
Detect XPM image data on a readable/seekable SDL_RWops.
imgIsXv(Pointer<SdlRWops> src) int
Detect XV image data on a readable/seekable SDL_RWops.
imgLinkedVersion() Pointer<SdlVersion>
This function gets the version of the dynamically linked SDL_image library.
imgLoad(String? file) Pointer<SdlSurface>
Load an image from a filesystem path into a software surface.
imgLoadAnimation(String? file) Pointer<ImgAnimation>
Load an animation from a file.
imgLoadAnimationRw(Pointer<SdlRWops> src, int freesrc) Pointer<ImgAnimation>
Load an animation from an SDL_RWops.
imgLoadAnimationTypedRw(Pointer<SdlRWops> src, int freesrc, String? type) Pointer<ImgAnimation>
Load an animation from an SDL datasource
imgLoadAvifRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a AVIF image directly.
imgLoadBmpRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a BMP image directly.
imgLoadCurRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a CUR image directly.
imgLoadGifAnimationRw(Pointer<SdlRWops> src) Pointer<ImgAnimation>
Load a GIF animation directly.
imgLoadGifRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a GIF image directly.
imgLoadIcoRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a ICO image directly.
imgLoadJpgRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a JPG image directly.
imgLoadJxlRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a JXL image directly.
imgLoadLbmRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a LBM image directly.
imgLoadPcxRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a PCX image directly.
imgLoadPngRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a PNG image directly.
imgLoadPnmRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a PNM image directly.
imgLoadQoiRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a QOI image directly.
imgLoadRw(Pointer<SdlRWops> src, int freesrc) Pointer<SdlSurface>
Load an image from an SDL data source into a software surface.
imgLoadSizedSvgRw(Pointer<SdlRWops> src, int width, int height) Pointer<SdlSurface>
Load an SVG image, scaled to a specific size.
imgLoadSvgRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a SVG image directly.
imgLoadTexture(Pointer<SdlRenderer> renderer, String? file) Pointer<SdlTexture>
Load an image from a filesystem path into a GPU texture.
imgLoadTextureRw(Pointer<SdlRenderer> renderer, Pointer<SdlRWops> src, int freesrc) Pointer<SdlTexture>
Load an image from an SDL data source into a GPU texture.
imgLoadTextureTypedRw(Pointer<SdlRenderer> renderer, Pointer<SdlRWops> src, int freesrc, String? type) Pointer<SdlTexture>
Load an image from an SDL data source into a GPU texture.
imgLoadTgaRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a TGA image directly.
imgLoadTifRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a TIFF image directly.
imgLoadTypedRw(Pointer<SdlRWops> src, int freesrc, String? type) Pointer<SdlSurface>
Load an image from an SDL data source into a software surface.
imgLoadWebpAnimationRw(Pointer<SdlRWops> src) Pointer<ImgAnimation>
Load a WEBP animation directly.
imgLoadWebpRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a WEBP image directly.
imgLoadXcfRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a XCF image directly.
imgLoadXpmRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a XPM image directly.
imgLoadXvRw(Pointer<SdlRWops> src) Pointer<SdlSurface>
Load a XV image directly.
imgQuit() → void
Deinitialize SDL_image.
imgReadXpmFromArray(Pointer<Pointer<Int8>> xpm) Pointer<SdlSurface>
Load an XPM image from a memory array.
imgReadXpmFromArrayToRgb888(Pointer<Pointer<Int8>> xpm) Pointer<SdlSurface>
Load an XPM image from a memory array.
imgSaveJpg(Pointer<SdlSurface> surface, String? file, int quality) int
Save an SDL_Surface into a JPEG image file.
imgSaveJpgRw(Pointer<SdlSurface> surface, Pointer<SdlRWops> dst, int freedst, int quality) int
Save an SDL_Surface into JPEG image data, via an SDL_RWops.
imgSavePng(Pointer<SdlSurface> surface, String? file) int
Save an SDL_Surface into a PNG image file.
imgSavePngRw(Pointer<SdlSurface> surface, Pointer<SdlRWops> dst, int freedst) int
Save an SDL_Surface into PNG image data, via an SDL_RWops.
imgSetError(String fmt, Pointer<NativeType> arg1) int
const IMG_SetError = SDL_SetError;
mixAllocateChannels(int numchans) int
Dynamically change the number of channels managed by the mixer.
mixChannelFinished(Pointer<NativeType> channelFinished) → void
Set a callback that runs when a channel has finished playing.
mixClearError() → void
const Mix_ClearError = SDL_ClearError;
mixCloseAudio() → void
Close the mixer, halting all playing audio.
mixEachSoundFont(Pointer<NativeType> function, Pointer<NativeType> data) int
Iterate SoundFonts paths to use by supported MIDI backends.
mixExpireChannel(int channel, int ticks) int
Change the expiration delay for a particular channel.
mixFadeInChannel(int channel, Pointer<MixChunk> chunk, int loops, int ms) int
Play an audio chunk on a specific channel, fading in the audio.
mixFadeInChannelTimed(int channel, Pointer<MixChunk> chunk, int loops, int ms, int ticks) int
Play an audio chunk on a specific channel, fading in the audio, for a maximum time.
mixFadeInMusic(Pointer<MixMusic> music, int loops, int ms) int
Play a new music object, fading in the audio.
mixFadeInMusicPos(Pointer<MixMusic> music, int loops, int ms, double position) int
Play a new music object, fading in the audio, from a starting position.
mixFadeOutChannel(int which, int ms) int
Halt a channel after fading it out for a specified time.
mixFadeOutGroup(int tag, int ms) int
Halt a playing group of channels by arbitrary tag, after fading them out for a specified time.
mixFadeOutMusic(int ms) int
Halt the music stream after fading it out for a specified time.
mixFadingChannel(int which) int
Query the fading status of a channel.
mixFadingMusic() int
Query the fading status of the music stream.
mixFreeChunk(Pointer<MixChunk> chunk) → void
Free an audio chunk.
mixFreeMusic(Pointer<MixMusic> music) → void
Free a music object.
mixGetChunk(int channel) Pointer<MixChunk>
Get the Mix_Chunk currently associated with a mixer channel.
mixGetChunkDecoder(int index) String?
Get a chunk decoder's name.
mixGetError() String?
const Mix_GetError = SDL_GetError;
mixGetMusicAlbumTag(Pointer<MixMusic> music) String?
Get the album name for a music object.
mixGetMusicArtistTag(Pointer<MixMusic> music) String?
Get the artist name for a music object.
mixGetMusicCopyrightTag(Pointer<MixMusic> music) String?
Get the copyright text for a music object.
mixGetMusicDecoder(int index) String?
Get a music decoder's name.
mixGetMusicHookData() Pointer<NativeType>
Get a pointer to the user data for the current music hook.
mixGetMusicLoopEndTime(Pointer<MixMusic> music) double
Get the loop end time position of music stream, in seconds.
mixGetMusicLoopLengthTime(Pointer<MixMusic> music) double
Get the loop time length of music stream, in seconds.
mixGetMusicLoopStartTime(Pointer<MixMusic> music) double
Get the loop start time position of music stream, in seconds.
mixGetMusicPosition(Pointer<MixMusic> music) double
Get the time current position of music stream, in seconds.
mixGetMusicTitle(Pointer<MixMusic> music) String?
Get the title for a music object, or its filename.
mixGetMusicTitleTag(Pointer<MixMusic> music) String?
Get the title for a music object.
mixGetMusicType(Pointer<MixMusic> music) int
Find out the format of a mixer music.
mixGetMusicVolume(Pointer<MixMusic> music) int
Query the current volume value for a music object.
mixGetNumChunkDecoders() int
Get a list of chunk decoders that this build of SDL_mixer provides.
mixGetNumMusicDecoders() int
Get a list of music decoders that this build of SDL_mixer provides.
mixGetNumTracks(Pointer<MixMusic> music) int
Get number of tracks in music object.
mixGetSoundFonts() String?
Get SoundFonts paths to use by supported MIDI backends.
mixGetSynchroValue() int
This function does nothing, do not use.
mixGetTimidityCfg() String?
Get full path of a previously-specified Timidity config file.
mixGroupAvailable(int tag) int
Finds the first available channel in a group of channels.
mixGroupChannel(int which, int tag) int
Assign a tag to a channel.
mixGroupChannels(int from, int to, int tag) int
Assign several consecutive channels to the same tag.
mixGroupCount(int tag) int
Returns the number of channels in a group.
mixGroupNewer(int tag) int
Find the "most recent" sample playing in a group of channels.
mixGroupOldest(int tag) int
Find the "oldest" sample playing in a group of channels.
mixHaltChannel(int channel) int
Halt playing of a particular channel.
mixHaltGroup(int tag) int
Halt playing of a group of channels by arbitrary tag.
mixHaltMusic() int
Halt playing of the music stream.
mixHasChunkDecoder(String? name) bool
Check if a chunk decoder is available by name.
mixHasMusicDecoder(String? name) bool
Check if a music decoder is available by name.
mixHookMusic(Pointer<NativeType> mixFunc, Pointer<NativeType> arg) → void
Add your own music player or additional mixer function.
mixHookMusicFinished(Pointer<NativeType> musicFinished) → void
Set a callback that runs when a music object has stopped playing.
mixInit(int flags) int
Initialize SDL_mixer.
mixLinkedVersion() Pointer<SdlVersion>
Query the version of SDL_mixer that the program is linked against.
mixLoadMus(String? file) Pointer<MixMusic>
Load a supported audio format into a music object.
mixLoadMusRw(Pointer<SdlRWops> src, int freesrc) Pointer<MixMusic>
Load a supported audio format into a music object.
mixLoadMusTypeRw(Pointer<SdlRWops> src, int type, int freesrc) Pointer<MixMusic>
Load an audio format into a music object, assuming a specific format.
mixLoadWav(String? file) Pointer<MixChunk>
Load a supported audio format into a chunk.
mixLoadWavRw(Pointer<SdlRWops> src, int freesrc) Pointer<MixChunk>
Load a supported audio format into a chunk.
mixMasterVolume(int volume) int
Set the master volume for all channels.
mixModMusicJumpToOrder(int order) int
Jump to a given order in mod music.
mixMusicDuration(Pointer<MixMusic> music) double
Get a music object's duration, in seconds.
mixOpenAudio(int frequency, int format, int channels, int chunksize) int
Open the default audio device for playback.
mixOpenAudioDevice(int frequency, int format, int channels, int chunksize, String? device, int allowedChanges) int
Open a specific audio device for playback.
mixPause(int channel) → void
Pause a particular channel.
mixPauseAudio(int pauseOn) → void
Suspend or resume the whole audio output.
mixPaused(int channel) int
Query whether a particular channel is paused.
mixPausedMusic() int
Query whether the music stream is paused.
mixPauseMusic() → void
Pause the music stream.
mixPlayChannel(int channel, Pointer<MixChunk> chunk, int loops) int
Play an audio chunk on a specific channel.
mixPlayChannelTimed(int channel, Pointer<MixChunk> chunk, int loops, int ticks) int
Play an audio chunk on a specific channel for a maximum time.
mixPlaying(int channel) int
Check the playing status of a specific channel.
mixPlayingMusic() int
Check the playing status of the music stream.
mixPlayMusic(Pointer<MixMusic> music, int loops) int
Play a new music object.
mixQuerySpec(Pointer<Int32> frequency, Pointer<Uint16> format, Pointer<Int32> channels) int
Find out what the actual audio device parameters are.
mixQuickLoadRaw(Pointer<Uint8> mem, int len) Pointer<MixChunk>
Load a raw audio data from memory as quickly as possible.
mixQuickLoadWav(Pointer<Uint8> mem) Pointer<MixChunk>
Load a WAV file from memory as quickly as possible.
mixQuit() → void
Deinitialize SDL_mixer.
mixRegisterEffect(int chan, Pointer<NativeFunction<MixEffectFuncT>> f, Pointer<NativeFunction<MixEffectDoneT>> d, Pointer<NativeType> arg) int
Register a special effect function.
mixReserveChannels(int num) int
Reserve the first channels for the application.
mixResume(int channel) → void
Resume a particular channel.
mixResumeMusic() → void
Resume the music stream.
mixRewindMusic() → void
Rewind the music stream.
mixSetDistance(int channel, int distance) int
Set the "distance" of a channel.
mixSetError(String fmt, Pointer<NativeType> arg1) int
const Mix_SetError = SDL_SetError;
mixSetMusicCmd(String? command) int
Run an external command as the music stream.
mixSetMusicPosition(double position) int
Set the current position in the music stream, in seconds.
mixSetPanning(int channel, int left, int right) int
Set the panning of a channel.
mixSetPosition(int channel, int angle, int distance) int
Set the position of a channel.
mixSetPostMix(Pointer<NativeType> mixFunc, Pointer<NativeType> arg) → void
Set a function that is called after all mixing is performed.
mixSetReverseStereo(int channel, int flip) int
Cause a channel to reverse its stereo.
mixSetSoundFonts(String? paths) int
Set SoundFonts paths to use by supported MIDI backends.
mixSetSynchroValue(int value) int
This function does nothing, do not use.
mixSetTimidityCfg(String? path) int
Set full path of the Timidity config file.
mixStartTrack(Pointer<MixMusic> music, int track) int
Start a track in music object.
mixUnregisterAllEffects(int channel) int
Explicitly unregister all special effect functions.
mixUnregisterEffect(int channel, Pointer<NativeFunction<MixEffectFuncT>> f) int
Explicitly unregister a special effect function.
mixVersion(Pointer<SdlVersion> x) → void
const MIX_VERSION = (X) SDL_MIXER_VERSION(X);
mixVolume(int channel, int volume) int
Set the volume for a specific channel.
mixVolumeChunk(Pointer<MixChunk> chunk, int volume) int
Set the volume for a specific chunk.
mixVolumeMusic(int volume) int
Set the volume for the music channel.
sdlAbs(int x) int
extern DECLSPEC int SDLCALL SDL_abs(int x)
sdlAcos(double x) double
Use this function to compute arc cosine of x.
sdlAcosf(double x) double
extern DECLSPEC float SDLCALL SDL_acosf(float x)
sdlAddEventWatch(Pointer<NativeFunction<SdlEventFilter>> filter, Pointer<NativeType> userdata) → void
Add a callback to be triggered when an event is added to the event queue.
sdlAddHintCallback(String? name, Pointer<NativeFunction<SdlHintCallback>> callback, Pointer<NativeType> userdata) → void
Add a function to watch a particular hint.
sdlAddTimer(int interval, Pointer<NativeFunction<SdlTimerCallback>> callback, Pointer<NativeType> param) int
Call a callback function at a future time.
sdlAllocFormat(int pixelFormat) Pointer<SdlPixelFormat>
Create an SDL_PixelFormat structure corresponding to a pixel format.
sdlAllocPalette(int ncolors) Pointer<SdlPalette>
Create a palette structure with the specified number of color entries.
sdlAllocRw() Pointer<SdlRWops>
Use this function to allocate an empty, unpopulated SDL_RWops structure.
sdlAndroidBackButton() → void
Trigger the Android system back button behavior.
sdlAndroidGetActivity() Pointer<NativeType>
Retrieve the Java instance of the Android activity class.
sdlAndroidGetExternalStoragePath() String?
Get the path used for external storage for this application.
sdlAndroidGetExternalStorageState() int
Get the current state of external storage.
sdlAndroidGetInternalStoragePath() String?
Get the path used for internal storage for this application.
sdlAndroidGetJniEnv() Pointer<NativeType>
Get the Android Java Native Interface Environment of the current thread.
sdlAndroidRequestPermission(String? permission) bool
Request permissions at runtime.
sdlAndroidSendMessage(int command, int param) int
Send a user command to SDLActivity.
sdlAndroidShowToast(String? message, int duration, int gravity, int xoffset, int yoffset) int
Shows an Android toast notification.
sdlAsin(double x) double
extern DECLSPEC double SDLCALL SDL_asin(double x)
sdlAsinf(double x) double
extern DECLSPEC float SDLCALL SDL_asinf(float x)
sdlAsprintf(Pointer<Pointer<Int8>> strp, String? fmt, Pointer<NativeType> arg2) int
extern DECLSPEC int SDLCALL SDL_asprintf(char **strp, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2)
sdlAtan(double x) double
extern DECLSPEC double SDLCALL SDL_atan(double x)
sdlAtan2(double y, double x) double
extern DECLSPEC double SDLCALL SDL_atan2(double y, double x)
sdlAtan2f(double y, double x) double
extern DECLSPEC float SDLCALL SDL_atan2f(float y, float x)
sdlAtanf(double x) double
extern DECLSPEC float SDLCALL SDL_atanf(float x)
sdlAtof(String? str) double
extern DECLSPEC double SDLCALL SDL_atof(const char *str)
sdlAtoi(String? str) int
extern DECLSPEC int SDLCALL SDL_atoi(const char *str)
sdlAtomicAdd(Pointer<SdlAtomicT> a, int v) int
Add to an atomic variable.
sdlAtomicCas(Pointer<SdlAtomicT> a, int oldval, int newval) bool
Set an atomic variable to a new value if it is currently an old value.
sdlAtomicCasPtr(Pointer<Pointer<NativeType>> a, Pointer<NativeType> oldval, Pointer<NativeType> newval) bool
Set a pointer to a new value if it is currently an old value.
sdlAtomicGet(Pointer<SdlAtomicT> a) int
Get the value of an atomic variable.
sdlAtomicGetPtr(Pointer<Pointer<NativeType>> a) Pointer<NativeType>
Get the value of a pointer atomically.
sdlAtomicLock(Pointer<Int32> lock) → void
Lock a spin lock by setting it to a non-zero value.
sdlAtomicSet(Pointer<SdlAtomicT> a, int v) int
Set an atomic variable to a value.
sdlAtomicSetPtr(Pointer<Pointer<NativeType>> a, Pointer<NativeType> v) Pointer<NativeType>
Set a pointer to a value atomically.
sdlAtomicTryLock(Pointer<Int32> lock) bool
Try to lock a spin lock by setting it to a non-zero value.
sdlAtomicUnlock(Pointer<Int32> lock) → void
Unlock a spin lock by setting it to 0.
sdlAudioInit(String? driverName) int
Use this function to initialize a particular audio driver.
sdlAudioQuit() → void
Use this function to shut down audio if you initialized it with SDL_AudioInit().
sdlAudioStreamAvailable(Pointer<SdlAudioStream> stream) int
Get the number of converted/resampled bytes available.
sdlAudioStreamClear(Pointer<SdlAudioStream> stream) → void
Clear any pending data in the stream without converting it
sdlAudioStreamFlush(Pointer<SdlAudioStream> stream) int
Tell the stream that you're done sending data, and anything being buffered should be converted/resampled and made available immediately.
sdlAudioStreamGet(Pointer<SdlAudioStream> stream, Pointer<NativeType> buf, int len) int
Get converted/resampled data from the stream
sdlAudioStreamPut(Pointer<SdlAudioStream> stream, Pointer<NativeType> buf, int len) int
Add data to be converted/resampled to the stream.
sdlBlitScaled(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) int
const SDL_BlitScaled = SDL_UpperBlitScaled;
sdlBlitSurface(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) int
const SDL_BlitSurface = SDL_UpperBlit;
sdlBsearch(Pointer<NativeType> key, Pointer<NativeType> base, int nmemb, int size, Pointer<NativeType> compare) Pointer<NativeType>
extern DECLSPEC void * SDLCALL SDL_bsearch(const void *key, const void *base, size_t nmemb, size_t size, int (SDLCALL *compare) (const void *, const void *))
sdlBuildAudioCvt(Pointer<SdlAudioCvt> cvt, int srcFormat, int srcChannels, int srcRate, int dstFormat, int dstChannels, int dstRate) int
Initialize an SDL_AudioCVT structure for conversion.
sdlButton(int x) int
const SDL_BUTTON = (X) (1 << ((X)-1));
sdlCalculateGammaRamp(double gamma, Pointer<Uint16> ramp) → void
Calculate a 256 entry gamma ramp for a gamma value.
sdlCalloc(int nmemb, int size) Pointer<NativeType>
extern DECLSPEC void *SDLCALL SDL_calloc(size_t nmemb, size_t size)
sdlCaptureMouse(bool enabled) int
Capture the mouse and to track input outside an SDL window.
sdlCeil(double x) double
extern DECLSPEC double SDLCALL SDL_ceil(double x)
sdlCeilf(double x) double
extern DECLSPEC float SDLCALL SDL_ceilf(float x)
sdlClearComposition() → void
Dismiss the composition window/IME without disabling the subsystem.
sdlClearError() → void
Clear any previous error message for this thread.
sdlClearHints() → void
Clear all hints.
sdlClearQueuedAudio(int dev) → void
Drop any queued audio data waiting to be sent to the hardware.
sdlCloseAudio() → void
This function is a legacy means of closing the audio device.
sdlCloseAudioDevice(int dev) → void
Use this function to shut down audio processing and close the audio device.
sdlComposeCustomBlendMode(int srcColorFactor, int dstColorFactor, int colorOperation, int srcAlphaFactor, int dstAlphaFactor, int alphaOperation) int
Compose a custom blend mode for renderers.
sdlCondBroadcast(Pointer<SdlCond> cond) int
Restart all threads that are waiting on the condition variable.
sdlCondSignal(Pointer<SdlCond> cond) int
Restart one of the threads that are waiting on the condition variable.
sdlCondWait(Pointer<SdlCond> cond, Pointer<SdlMutex> mutex) int
Wait until a condition variable is signaled.
sdlCondWaitTimeout(Pointer<SdlCond> cond, Pointer<SdlMutex> mutex, int ms) int
Wait until a condition variable is signaled or a certain time has passed.
sdlConvertAudio(Pointer<SdlAudioCvt> cvt) int
Convert audio data to a desired audio format.
sdlConvertPixels(int width, int height, int srcFormat, Pointer<NativeType> src, int srcPitch, int dstFormat, Pointer<NativeType> dst, int dstPitch) int
Copy a block of pixels of one format to another format.
sdlConvertSurface(Pointer<SdlSurface> src, Pointer<SdlPixelFormat> fmt, int flags) Pointer<SdlSurface>
Copy an existing surface to a new surface of the specified format.
sdlConvertSurfaceFormat(Pointer<SdlSurface> src, int pixelFormat, int flags) Pointer<SdlSurface>
Copy an existing surface to a new surface of the specified format enum.
sdlCopysign(double x, double y) double
extern DECLSPEC double SDLCALL SDL_copysign(double x, double y)
sdlCopysignf(double x, double y) double
extern DECLSPEC float SDLCALL SDL_copysignf(float x, float y)
sdlCos(double x) double
extern DECLSPEC double SDLCALL SDL_cos(double x)
sdlCosf(double x) double
extern DECLSPEC float SDLCALL SDL_cosf(float x)
sdlCrc16(int crc, Pointer<NativeType> data, int len) int
extern DECLSPEC Uint16 SDLCALL SDL_crc16(Uint16 crc, const void *data, size_t len)
sdlCrc32(int crc, Pointer<NativeType> data, int len) int
extern DECLSPEC Uint32 SDLCALL SDL_crc32(Uint32 crc, const void *data, size_t len)
sdlCreateColorCursor(Pointer<SdlSurface> surface, int hotX, int hotY) Pointer<SdlCursor>
Create a color cursor.
sdlCreateCond() Pointer<SdlCond>
Create a condition variable.
sdlCreateCursor(Pointer<Uint8> data, Pointer<Uint8> mask, int w, int h, int hotX, int hotY) Pointer<SdlCursor>
Create a cursor using the specified bitmap data and mask (in MSB format).
sdlCreateMutex() Pointer<SdlMutex>
Create a new mutex.
sdlCreateRenderer(Pointer<SdlWindow> window, int index, int flags) Pointer<SdlRenderer>
Create a 2D rendering context for a window.
sdlCreateRgbSurface(int flags, int width, int height, int depth, int rmask, int gmask, int bmask, int amask) Pointer<SdlSurface>
Allocate a new RGB surface.
sdlCreateRgbSurfaceFrom(Pointer<NativeType> pixels, int width, int height, int depth, int pitch, int rmask, int gmask, int bmask, int amask) Pointer<SdlSurface>
Allocate a new RGB surface with existing pixel data.
sdlCreateRgbSurfaceWithFormat(int flags, int width, int height, int depth, int format) Pointer<SdlSurface>
Allocate a new RGB surface with a specific pixel format.
sdlCreateRgbSurfaceWithFormatFrom(Pointer<NativeType> pixels, int width, int height, int depth, int pitch, int format) Pointer<SdlSurface>
Allocate a new RGB surface with with a specific pixel format and existing pixel data.
sdlCreateSemaphore(int initialValue) Pointer<SdlSem>
Create a semaphore.
sdlCreateShapedWindow(String? title, int x, int y, int w, int h, int flags) Pointer<SdlWindow>
Create a window that can be shaped with the specified position, dimensions, and flags.
sdlCreateSoftwareRenderer(Pointer<SdlSurface> surface) Pointer<SdlRenderer>
Create a 2D software rendering context for a surface.
sdlCreateSystemCursor(int id) Pointer<SdlCursor>
Create a system cursor.
sdlCreateTexture(Pointer<SdlRenderer> renderer, int format, int access, int w, int h) Pointer<SdlTexture>
Create a texture for a rendering context.
sdlCreateTextureFromSurface(Pointer<SdlRenderer> renderer, Pointer<SdlSurface> surface) Pointer<SdlTexture>
Create a texture from an existing surface.
sdlCreateThread(Pointer<NativeFunction<SdlThreadFunction>> fn, String? name, Pointer<NativeType> data, Pointer<NativeFunction<PfnSdlCurrentBeginThread>> pfnBeginThread, Pointer<NativeFunction<PfnSdlCurrentEndThread>> pfnEndThread) Pointer<SdlThread>
extern DECLSPEC SDL_Thread *SDLCALL SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread)
sdlCreateThreadWithStackSize(Pointer<NativeFunction<SdlThreadFunction>> fn, String? name, int stacksize, Pointer<NativeType> data, Pointer<NativeFunction<PfnSdlCurrentBeginThread>> pfnBeginThread, Pointer<NativeFunction<PfnSdlCurrentEndThread>> pfnEndThread) Pointer<SdlThread>
extern DECLSPEC SDL_Thread *SDLCALL SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn, const char *name, const size_t stacksize, void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread)
sdlCreateWindow(String? title, int x, int y, int w, int h, int flags) Pointer<SdlWindow>
Create a window with the specified position, dimensions, and flags.
sdlCreateWindowAndRenderer(int width, int height, int windowFlags, Pointer<Pointer<SdlWindow>> window, Pointer<Pointer<SdlRenderer>> renderer) int
Create a window and default renderer.
sdlCreateWindowFrom(Pointer<NativeType> data) Pointer<SdlWindow>
Create an SDL window from an existing native window.
sdlDefinePixcelFormat(int type, int order, int layout, int bits, int bytes) int
sdlDelay(int ms) → void
Wait a specified number of milliseconds before returning.
sdlDelEventWatch(Pointer<NativeFunction<SdlEventFilter>> filter, Pointer<NativeType> userdata) → void
Remove an event watch callback added with SDL_AddEventWatch().
sdlDelHintCallback(String? name, Pointer<NativeFunction<SdlHintCallback>> callback, Pointer<NativeType> userdata) → void
Remove a function watching a particular hint.
sdlDequeueAudio(int dev, Pointer<NativeType> data, int len) int
Dequeue more audio on non-callback devices.
sdlDestroyCond(Pointer<SdlCond> cond) → void
Destroy a condition variable.
sdlDestroyMutex(Pointer<SdlMutex> mutex) → void
Destroy a mutex created with SDL_CreateMutex().
sdlDestroyRenderer(Pointer<SdlRenderer> renderer) → void
Destroy the rendering context for a window and free associated textures.
sdlDestroySemaphore(Pointer<SdlSem> sem) → void
Destroy a semaphore.
sdlDestroyTexture(Pointer<SdlTexture> texture) → void
Destroy the specified texture.
sdlDestroyWindow(Pointer<SdlWindow> window) → void
Destroy a window.
sdlDestroyWindowSurface(Pointer<SdlWindow> window) int
Destroy the surface associated with the window.
sdlDetachThread(Pointer<SdlThread> thread) → void
Let a thread clean up on exit without intervention.
sdlDirect3D9GetAdapterIndex(int displayIndex) int
Get the D3D9 adapter index that matches the specified display index.
sdlDisableScreenSaver() → void
Prevent the screen from being blanked by a screen saver.
sdlDuplicateSurface(Pointer<SdlSurface> surface) Pointer<SdlSurface>
Creates a new surface identical to the existing surface.
sdlDxgiGetOutputInfo(int displayIndex, Pointer<Int32> adapterIndex, Pointer<Int32> outputIndex) bool
Get the DXGI Adapter and Output indices for the specified display index.
sdlEnableScreenSaver() → void
Allow the screen to be blanked by a screen saver.
sdlEncloseFPoints(Pointer<SdlFPoint> points, int count, Pointer<SdlFRect> clip, Pointer<SdlFRect> result) bool
Calculate a minimal rectangle enclosing a set of points with float precision.
sdlEnclosePoints(Pointer<SdlPoint> points, int count, Pointer<SdlRect> clip, Pointer<SdlRect> result) bool
Calculate a minimal rectangle enclosing a set of points.
sdlError(int code) int
SDL_Error() unconditionally returns -1.
sdlEventState(int type, int state) int
Set the state of processing events by type.
sdlExp(double x) double
extern DECLSPEC double SDLCALL SDL_exp(double x)
sdlExpf(double x) double
extern DECLSPEC float SDLCALL SDL_expf(float x)
sdlFabs(double x) double
extern DECLSPEC double SDLCALL SDL_fabs(double x)
sdlFabsf(double x) double
extern DECLSPEC float SDLCALL SDL_fabsf(float x)
sdlFillRect(Pointer<SdlSurface> dst, Pointer<SdlRect> rect, int color) int
Perform a fast fill of a rectangle with a specific color.
sdlFillRects(Pointer<SdlSurface> dst, Pointer<SdlRect> rects, int count, int color) int
Perform a fast fill of a set of rectangles with a specific color.
sdlFilterEvents(Pointer<NativeFunction<SdlEventFilter>> filter, Pointer<NativeType> userdata) → void
Run a specific filter function on the current event queue, removing any events for which the filter returns 0.
sdlFlashWindow(Pointer<SdlWindow> window, int operation) int
Request a window to demand attention from the user.
sdlFloor(double x) double
extern DECLSPEC double SDLCALL SDL_floor(double x)
sdlFloorf(double x) double
extern DECLSPEC float SDLCALL SDL_floorf(float x)
sdlFlushEvent(int type) → void
Clear events of a specific type from the event queue.
sdlFlushEvents(int minType, int maxType) → void
Clear events of a range of types from the event queue.
sdlFmod(double x, double y) double
extern DECLSPEC double SDLCALL SDL_fmod(double x, double y)
sdlFmodf(double x, double y) double
extern DECLSPEC float SDLCALL SDL_fmodf(float x, float y)
sdlFree(Pointer<NativeType> mem) → void
extern DECLSPEC void SDLCALL SDL_free(void *mem)
sdlFreeAudioStream(Pointer<SdlAudioStream> stream) → void
Free an audio stream
sdlFreeCursor(Pointer<SdlCursor> cursor) → void
Free a previously-created cursor.
sdlFreeFormat(Pointer<SdlPixelFormat> format) → void
Free an SDL_PixelFormat structure allocated by SDL_AllocFormat().
sdlFreePalette(Pointer<SdlPalette> palette) → void
Free a palette created with SDL_AllocPalette().
sdlFreeRw(Pointer<SdlRWops> area) → void
Use this function to free an SDL_RWops structure allocated by SDL_AllocRW().
sdlFreeSurface(Pointer<SdlSurface> surface) → void
Free an RGB surface.
sdlFreeWav(Pointer<Uint8> audioBuf) → void
Free data previously allocated with SDL_LoadWAV() or SDL_LoadWAV_RW().
sdlGameControllerAddMapping(String? mappingString) int
Add support for controllers that SDL is unaware of or to cause an existing controller to have a different binding.
sdlGameControllerAddMappingsFromRw(Pointer<SdlRWops> rw, int freerw) int
Load a set of Game Controller mappings from a seekable SDL data stream.
sdlGameControllerClose(Pointer<SdlGameController> gamecontroller) → void
Close a game controller previously opened with SDL_GameControllerOpen().
sdlGameControllerEventState(int state) int
Query or change current state of Game Controller events.
sdlGameControllerFromInstanceId(int joyid) Pointer<SdlGameController>
Get the SDL_GameController associated with an instance id.
sdlGameControllerFromPlayerIndex(int playerIndex) Pointer<SdlGameController>
Get the SDL_GameController associated with a player index.
sdlGameControllerGetAppleSfSymbolsNameForAxis(Pointer<SdlGameController> gamecontroller, int axis) String?
Return the sfSymbolsName for a given axis on a game controller on Apple platforms.
sdlGameControllerGetAppleSfSymbolsNameForButton(Pointer<SdlGameController> gamecontroller, int button) String?
Return the sfSymbolsName for a given button on a game controller on Apple platforms.
sdlGameControllerGetAttached(Pointer<SdlGameController> gamecontroller) bool
Check if a controller has been opened and is currently connected.
sdlGameControllerGetAxis(Pointer<SdlGameController> gamecontroller, int axis) int
Get the current state of an axis control on a game controller.
sdlGameControllerGetAxisFromString(String? str) int
Convert a string into SDL_GameControllerAxis enum.
sdlGameControllerGetBindForAxis(Pointer<SdlGameController> gamecontroller, int axis) SdlGameControllerButtonBind
Get the SDL joystick layer binding for a controller axis mapping.
sdlGameControllerGetBindForButton(Pointer<SdlGameController> gamecontroller, int button) SdlGameControllerButtonBind
Get the SDL joystick layer binding for a controller button mapping.
sdlGameControllerGetButton(Pointer<SdlGameController> gamecontroller, int button) int
Get the current state of a button on a game controller.
sdlGameControllerGetButtonFromString(String? str) int
Convert a string into an SDL_GameControllerButton enum.
sdlGameControllerGetFirmwareVersion(Pointer<SdlGameController> gamecontroller) int
Get the firmware version of an opened controller, if available.
sdlGameControllerGetJoystick(Pointer<SdlGameController> gamecontroller) Pointer<SdlJoystick>
Get the Joystick ID from a Game Controller.
sdlGameControllerGetNumTouchpadFingers(Pointer<SdlGameController> gamecontroller, int touchpad) int
Get the number of supported simultaneous fingers on a touchpad on a game controller.
sdlGameControllerGetNumTouchpads(Pointer<SdlGameController> gamecontroller) int
Get the number of touchpads on a game controller.
sdlGameControllerGetPlayerIndex(Pointer<SdlGameController> gamecontroller) int
Get the player index of an opened game controller.
sdlGameControllerGetProduct(Pointer<SdlGameController> gamecontroller) int
Get the USB product ID of an opened controller, if available.
sdlGameControllerGetProductVersion(Pointer<SdlGameController> gamecontroller) int
Get the product version of an opened controller, if available.
sdlGameControllerGetSensorData(Pointer<SdlGameController> gamecontroller, int type, Pointer<Float> data, int numValues) int
Get the current state of a game controller sensor.
sdlGameControllerGetSensorDataRate(Pointer<SdlGameController> gamecontroller, int type) double
Get the data rate (number of events per second) of a game controller sensor.
sdlGameControllerGetSensorDataWithTimestamp(Pointer<SdlGameController> gamecontroller, int type, Pointer<Uint64> timestamp, Pointer<Float> data, int numValues) int
Get the current state of a game controller sensor with the timestamp of the last update.
sdlGameControllerGetSerial(Pointer<SdlGameController> gamecontroller) String?
Get the serial number of an opened controller, if available.
sdlGameControllerGetSteamHandle(Pointer<SdlGameController> gamecontroller) int
Get the Steam Input handle of an opened controller, if available.
sdlGameControllerGetStringForAxis(int axis) String?
Convert from an SDL_GameControllerAxis enum to a string.
sdlGameControllerGetStringForButton(int button) String?
Convert from an SDL_GameControllerButton enum to a string.
sdlGameControllerGetTouchpadFinger(Pointer<SdlGameController> gamecontroller, int touchpad, int finger, Pointer<Uint8> state, Pointer<Float> x, Pointer<Float> y, Pointer<Float> pressure) int
Get the current state of a finger on a touchpad on a game controller.
sdlGameControllerGetType(Pointer<SdlGameController> gamecontroller) int
Get the type of this currently opened controller
sdlGameControllerGetVendor(Pointer<SdlGameController> gamecontroller) int
Get the USB vendor ID of an opened controller, if available.
sdlGameControllerHasAxis(Pointer<SdlGameController> gamecontroller, int axis) bool
Query whether a game controller has a given axis.
sdlGameControllerHasButton(Pointer<SdlGameController> gamecontroller, int button) bool
Query whether a game controller has a given button.
sdlGameControllerHasLed(Pointer<SdlGameController> gamecontroller) bool
Query whether a game controller has an LED.
sdlGameControllerHasRumble(Pointer<SdlGameController> gamecontroller) bool
Query whether a game controller has rumble support.
sdlGameControllerHasRumbleTriggers(Pointer<SdlGameController> gamecontroller) bool
Query whether a game controller has rumble support on triggers.
sdlGameControllerHasSensor(Pointer<SdlGameController> gamecontroller, int type) bool
Return whether a game controller has a particular sensor.
sdlGameControllerIsSensorEnabled(Pointer<SdlGameController> gamecontroller, int type) bool
Query whether sensor data reporting is enabled for a game controller.
sdlGameControllerMapping(Pointer<SdlGameController> gamecontroller) Pointer<Int8>
Get the current mapping of a Game Controller.
sdlGameControllerMappingForDeviceIndex(int joystickIndex) Pointer<Int8>
Get the mapping of a game controller.
sdlGameControllerMappingForGuid(SdlGuid guid) Pointer<Int8>
Get the game controller mapping string for a given GUID.
sdlGameControllerMappingForIndex(int mappingIndex) Pointer<Int8>
Get the mapping at a particular index.
sdlGameControllerName(Pointer<SdlGameController> gamecontroller) String?
Get the implementation-dependent name for an opened game controller.
sdlGameControllerNameForIndex(int joystickIndex) String?
Get the implementation dependent name for the game controller.
sdlGameControllerNumMappings() int
Get the number of mappings installed.
sdlGameControllerOpen(int joystickIndex) Pointer<SdlGameController>
Open a game controller for use.
sdlGameControllerPath(Pointer<SdlGameController> gamecontroller) String?
Get the implementation-dependent path for an opened game controller.
sdlGameControllerPathForIndex(int joystickIndex) String?
Get the implementation dependent path for the game controller.
sdlGameControllerRumble(Pointer<SdlGameController> gamecontroller, int lowFrequencyRumble, int highFrequencyRumble, int durationMs) int
Start a rumble effect on a game controller.
sdlGameControllerRumbleTriggers(Pointer<SdlGameController> gamecontroller, int leftRumble, int rightRumble, int durationMs) int
Start a rumble effect in the game controller's triggers.
sdlGameControllerSendEffect(Pointer<SdlGameController> gamecontroller, Pointer<NativeType> data, int size) int
Send a controller specific effect packet
sdlGameControllerSetLed(Pointer<SdlGameController> gamecontroller, int red, int green, int blue) int
Update a game controller's LED color.
sdlGameControllerSetPlayerIndex(Pointer<SdlGameController> gamecontroller, int playerIndex) → void
Set the player index of an opened game controller.
sdlGameControllerSetSensorEnabled(Pointer<SdlGameController> gamecontroller, int type, bool enabled) int
Set whether data reporting for a game controller sensor is enabled.
sdlGameControllerTypeForIndex(int joystickIndex) int
Get the type of a game controller.
sdlGameControllerUpdate() → void
Manually pump game controller updates if not using the loop.
sdlGdkGetDefaultUser(Pointer<XUserHandle> outUserHandle) int
Gets a reference to the default user handle for GDK.
sdlGdkGetTaskQueue(Pointer<XTaskQueueHandle> outTaskQueue) int
Gets a reference to the global async task queue handle for GDK, initializing if needed.
sdlGdkRunApp(Pointer<NativeFunction<SdlMainFunc>> mainFunction, Pointer<NativeType> reserved) int
Initialize and launch an SDL GDK application.
sdlGdkSuspendComplete() → void
Callback from the application to let the suspend continue.
sdlGetAndroidSdkVersion() int
Query Android API level of the current device.
sdlGetAssertionHandler(Pointer<Pointer<NativeType>> puserdata) Pointer<NativeFunction<SdlAssertionHandler>>
Get the current assertion handler.
sdlGetAssertionReport() Pointer<SdlAssertData>
Get a list of all assertion failures.
sdlGetAudioDeviceName(int index, int iscapture) String?
Get the human-readable name of a specific audio device.
sdlGetAudioDeviceSpec(int index, int iscapture, Pointer<SdlAudioSpec> spec) int
Get the preferred audio format of a specific audio device.
sdlGetAudioDeviceStatus(int dev) int
Use this function to get the current audio state of an audio device.
sdlGetAudioDriver(int index) String?
Use this function to get the name of a built in audio driver.
sdlGetAudioStatus() int
This function is a legacy means of querying the audio device.
sdlGetBasePath() Pointer<Int8>
Get the directory where the application was run from.
sdlGetClipboardText() Pointer<Int8>
Get UTF-8 text from the clipboard, which must be freed with SDL_free().
sdlGetClipRect(Pointer<SdlSurface> surface, Pointer<SdlRect> rect) → void
Get the clipping rectangle for a surface.
sdlGetClosestDisplayMode(int displayIndex, Pointer<SdlDisplayMode> mode, Pointer<SdlDisplayMode> closest) Pointer<SdlDisplayMode>
Get the closest match to the requested display mode.
sdlGetColorKey(Pointer<SdlSurface> surface, Pointer<Uint32> key) int
Get the color key (transparent pixel) for a surface.
sdlGetCpuCacheLineSize() int
Determine the L1 cache line size of the CPU.
sdlGetCpuCount() int
Get the number of CPU cores available.
sdlGetCurrentAudioDriver() String?
Get the name of the current audio driver.
sdlGetCurrentDisplayMode(int displayIndex, Pointer<SdlDisplayMode> mode) int
Get information about the current display mode.
sdlGetCurrentVideoDriver() String?
Get the name of the currently initialized video driver.
sdlGetCursor() Pointer<SdlCursor>
Get the active cursor.
sdlGetDefaultAssertionHandler() Pointer<NativeFunction<SdlAssertionHandler>>
Get the default assertion handler.
sdlGetDefaultAudioInfo(Pointer<Pointer<Int8>> name, Pointer<SdlAudioSpec> spec, int iscapture) int
Get the name and preferred format of the default audio device.
sdlGetDefaultCursor() Pointer<SdlCursor>
Get the default cursor.
sdlGetDesktopDisplayMode(int displayIndex, Pointer<SdlDisplayMode> mode) int
Get information about the desktop's display mode.
sdlGetDisplayBounds(int displayIndex, Pointer<SdlRect> rect) int
Get the desktop area represented by a display.
sdlGetDisplayDpi(int displayIndex, Pointer<Float> ddpi, Pointer<Float> hdpi, Pointer<Float> vdpi) int
Get the dots/pixels-per-inch for a display.
sdlGetDisplayMode(int displayIndex, int modeIndex, Pointer<SdlDisplayMode> mode) int
Get information about a specific display mode.
sdlGetDisplayName(int displayIndex) String?
Get the name of a display in UTF-8 encoding.
sdlGetDisplayOrientation(int displayIndex) int
Get the orientation of a display.
sdlGetDisplayUsableBounds(int displayIndex, Pointer<SdlRect> rect) int
Get the usable desktop area represented by a display.
sdlGetenv(String? name) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_getenv(const char *name)
sdlGetError() String?
Retrieve a message about the last error that occurred on the current thread.
sdlGetErrorMsg(Pointer<Int8> errstr, int maxlen) Pointer<Int8>
Get the last error message that was set for the current thread.
sdlGetEventFilter(Pointer<Pointer<NativeFunction<SdlEventFilter>>> filter, Pointer<Pointer<NativeType>> userdata) bool
Query the current event filter.
sdlGetGlobalMouseState(Pointer<Int32> x, Pointer<Int32> y) int
Get the current state of the mouse in relation to the desktop.
sdlGetGrabbedWindow() Pointer<SdlWindow>
Get the window that currently has an input grab enabled.
sdlGetHint(String? name) String?
Get the value of a hint.
sdlGetHintBoolean(String? name, bool defaultValue) bool
Get the boolean value of a hint variable.
sdlGetJoystickGuidInfo(SdlGuid guid, Pointer<Uint16> vendor, Pointer<Uint16> product, Pointer<Uint16> version, Pointer<Uint16> crc16) → void
Get the device information encoded in a SDL_JoystickGUID structure
sdlGetKeyboardFocus() Pointer<SdlWindow>
Query the window which currently has keyboard focus.
sdlGetKeyboardState(Pointer<Int32> numkeys) Pointer<Uint8>
Get a snapshot of the current state of the keyboard.
sdlGetKeyFromName(String? name) int
Get a key code from a human-readable name.
sdlGetKeyFromScancode(int scancode) int
Get the key code corresponding to the given scancode according to the current keyboard layout.
sdlGetKeyName(int key) String?
Get a human-readable name for a key.
sdlGetMemoryFunctions(Pointer<Pointer<NativeFunction<SdlMallocFunc>>> mallocFunc, Pointer<Pointer<NativeFunction<SdlCallocFunc>>> callocFunc, Pointer<Pointer<NativeFunction<SdlReallocFunc>>> reallocFunc, Pointer<Pointer<NativeFunction<SdlFreeFunc>>> freeFunc) → void
Get the current set of SDL memory functions
sdlGetModState() int
Get the current key modifier state for the keyboard.
sdlGetMouseFocus() Pointer<SdlWindow>
Get the window which currently has mouse focus.
sdlGetMouseState(Pointer<Int32> x, Pointer<Int32> y) int
Retrieve the current state of the mouse.
sdlGetNumAllocations() int
Get the number of outstanding (unfreed) allocations
sdlGetNumAudioDevices(int iscapture) int
Get the number of built-in audio devices.
sdlGetNumAudioDrivers() int
Use this function to get the number of built-in audio drivers.
sdlGetNumDisplayModes(int displayIndex) int
Get the number of available display modes.
sdlGetNumRenderDrivers() int
Get the number of 2D rendering drivers available for the current display.
sdlGetNumTouchDevices() int
Get the number of registered touch devices.
sdlGetNumTouchFingers(int touchId) int
Get the number of active fingers for a given touch device.
sdlGetNumVideoDisplays() int
Get the number of available video displays.
sdlGetNumVideoDrivers() int
Get the number of video drivers compiled into SDL.
sdlGetOriginalMemoryFunctions(Pointer<Pointer<NativeFunction<SdlMallocFunc>>> mallocFunc, Pointer<Pointer<NativeFunction<SdlCallocFunc>>> callocFunc, Pointer<Pointer<NativeFunction<SdlReallocFunc>>> reallocFunc, Pointer<Pointer<NativeFunction<SdlFreeFunc>>> freeFunc) → void
Get the original set of SDL memory functions
sdlGetPerformanceCounter() int
Get the current value of the high resolution counter.
sdlGetPerformanceFrequency() int
Get the count per second of the high resolution counter.
sdlGetPixelFormatName(int format) String?
Get the human readable name of a pixel format.
sdlGetPlatform() String?
Get the name of the platform.
sdlGetPointDisplayIndex(Pointer<SdlPoint> point) int
Get the index of the display containing a point
sdlGetPowerInfo(Pointer<Int32> seconds, Pointer<Int32> percent) int
Get the current power supply details.
sdlGetPreferredLocales() Pointer<SdlLocale>
Report the user's preferred locale.
sdlGetPrefPath(String? org, String? app) Pointer<Int8>
Get the user-and-app-specific path where files can be written.
sdlGetPrimarySelectionText() Pointer<Int8>
Get UTF-8 text from the primary selection, which must be freed with SDL_free().
sdlGetQueuedAudioSize(int dev) int
Get the number of bytes of still-queued audio.
sdlGetRectDisplayIndex(Pointer<SdlRect> rect) int
Get the index of the display primarily containing a rect
sdlGetRelativeMouseMode() bool
Query whether relative mouse mode is enabled.
sdlGetRelativeMouseState(Pointer<Int32> x, Pointer<Int32> y) int
Retrieve the relative state of the mouse.
sdlGetRenderDrawBlendMode(Pointer<SdlRenderer> renderer, Pointer<Int32> blendMode) int
Get the blend mode used for drawing operations.
sdlGetRenderDrawColor(Pointer<SdlRenderer> renderer, Pointer<Uint8> r, Pointer<Uint8> g, Pointer<Uint8> b, Pointer<Uint8> a) int
Get the color used for drawing operations (Rect, Line and Clear).
sdlGetRenderDriverInfo(int index, Pointer<SdlRendererInfo> info) int
Get info about a specific 2D rendering driver for the current display.
sdlGetRenderer(Pointer<SdlWindow> window) Pointer<SdlRenderer>
Get the renderer associated with a window.
sdlGetRendererInfo(Pointer<SdlRenderer> renderer, Pointer<SdlRendererInfo> info) int
Get information about a rendering context.
sdlGetRendererOutputSize(Pointer<SdlRenderer> renderer, Pointer<Int32> w, Pointer<Int32> h) int
Get the output size in pixels of a rendering context.
sdlGetRenderTarget(Pointer<SdlRenderer> renderer) Pointer<SdlTexture>
Get the current render target.
sdlGetRevision() String?
Get the code revision of SDL that is linked against your program.
sdlGetRgb(int pixel, Pointer<SdlPixelFormat> format, Pointer<Uint8> r, Pointer<Uint8> g, Pointer<Uint8> b) → void
Get RGB values from a pixel in the specified format.
sdlGetRgba(int pixel, Pointer<SdlPixelFormat> format, Pointer<Uint8> r, Pointer<Uint8> g, Pointer<Uint8> b, Pointer<Uint8> a) → void
Get RGBA values from a pixel in the specified format.
sdlGetScancodeFromKey(int key) int
Get the scancode corresponding to the given key code according to the current keyboard layout.
sdlGetScancodeFromName(String? name) int
Get a scancode from a human-readable name.
sdlGetScancodeName(int scancode) String?
Get a human-readable name for a scancode.
sdlGetShapedWindowMode(Pointer<SdlWindow> window, Pointer<SdlWindowShapeMode> shapeMode) int
Get the shape parameters of a shaped window.
sdlGetSurfaceAlphaMod(Pointer<SdlSurface> surface, Pointer<Uint8> alpha) int
Get the additional alpha value used in blit operations.
sdlGetSurfaceBlendMode(Pointer<SdlSurface> surface, Pointer<Int32> blendMode) int
Get the blend mode used for blit operations.
sdlGetSurfaceColorMod(Pointer<SdlSurface> surface, Pointer<Uint8> r, Pointer<Uint8> g, Pointer<Uint8> b) int
Get the additional color value multiplied into blit operations.
sdlGetSystemRam() int
Get the amount of RAM configured in the system.
sdlGetTextureAlphaMod(Pointer<SdlTexture> texture, Pointer<Uint8> alpha) int
Get the additional alpha value multiplied into render copy operations.
sdlGetTextureBlendMode(Pointer<SdlTexture> texture, Pointer<Int32> blendMode) int
Get the blend mode used for texture copy operations.
sdlGetTextureColorMod(Pointer<SdlTexture> texture, Pointer<Uint8> r, Pointer<Uint8> g, Pointer<Uint8> b) int
Get the additional color value multiplied into render copy operations.
sdlGetTextureScaleMode(Pointer<SdlTexture> texture, Pointer<Int32> scaleMode) int
Get the scale mode used for texture scale operations.
sdlGetTextureUserData(Pointer<SdlTexture> texture) Pointer<NativeType>
Get the user-specified pointer associated with a texture
sdlGetThreadId(Pointer<SdlThread> thread) int
Get the thread identifier for the specified thread.
sdlGetThreadName(Pointer<SdlThread> thread) String?
Get the thread name as it was specified in SDL_CreateThread().
sdlGetTicks() int
Get the number of milliseconds since SDL library initialization.
sdlGetTicks64() int
Get the number of milliseconds since SDL library initialization.
sdlGetTouchDevice(int index) int
Get the touch ID with the given index.
sdlGetTouchDeviceType(int touchId) int
Get the type of the given touch device.
sdlGetTouchFinger(int touchId, int index) Pointer<SdlFinger>
Get the finger object for specified touch device ID and finger index.
sdlGetTouchName(int index) String?
Get the touch device name as reported from the driver or NULL if the index is invalid.
sdlGetVersion(Pointer<SdlVersion> ver) → void
Get the version of SDL that is linked against your program.
sdlGetVideoDriver(int index) String?
Get the name of a built in video driver.
sdlGetWindowBordersSize(Pointer<SdlWindow> window, Pointer<Int32> top, Pointer<Int32> left, Pointer<Int32> bottom, Pointer<Int32> right) int
Get the size of a window's borders (decorations) around the client area.
sdlGetWindowBrightness(Pointer<SdlWindow> window) double
Get the brightness (gamma multiplier) for a given window's display.
sdlGetWindowData(Pointer<SdlWindow> window, String? name) Pointer<NativeType>
Retrieve the data pointer associated with a window.
sdlGetWindowDisplayIndex(Pointer<SdlWindow> window) int
Get the index of the display associated with a window.
sdlGetWindowDisplayMode(Pointer<SdlWindow> window, Pointer<SdlDisplayMode> mode) int
Query the display mode to use when a window is visible at fullscreen.
sdlGetWindowFlags(Pointer<SdlWindow> window) int
Get the window flags.
sdlGetWindowFromId(int id) Pointer<SdlWindow>
Get a window from a stored ID.
sdlGetWindowGammaRamp(Pointer<SdlWindow> window, Pointer<Uint16> red, Pointer<Uint16> green, Pointer<Uint16> blue) int
Get the gamma ramp for a given window's display.
sdlGetWindowGrab(Pointer<SdlWindow> window) bool
Get a window's input grab mode.
sdlGetWindowIccProfile(Pointer<SdlWindow> window, Pointer<Uint32> size) Pointer<NativeType>
Get the raw ICC profile data for the screen the window is currently on.
sdlGetWindowId(Pointer<SdlWindow> window) int
Get the numeric ID of a window.
sdlGetWindowKeyboardGrab(Pointer<SdlWindow> window) bool
Get a window's keyboard grab mode.
sdlGetWindowMaximumSize(Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h) → void
Get the maximum size of a window's client area.
sdlGetWindowMinimumSize(Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h) → void
Get the minimum size of a window's client area.
sdlGetWindowMouseGrab(Pointer<SdlWindow> window) bool
Get a window's mouse grab mode.
sdlGetWindowMouseRect(Pointer<SdlWindow> window) Pointer<SdlRect>
Get the mouse confinement rectangle of a window.
sdlGetWindowOpacity(Pointer<SdlWindow> window, Pointer<Float> outOpacity) int
Get the opacity of a window.
sdlGetWindowPixelFormat(Pointer<SdlWindow> window) int
Get the pixel format associated with the window.
sdlGetWindowPosition(Pointer<SdlWindow> window, Pointer<Int32> x, Pointer<Int32> y) → void
Get the position of a window.
sdlGetWindowSize(Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h) → void
Get the size of a window's client area.
sdlGetWindowSizeInPixels(Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h) → void
Get the size of a window in pixels.
sdlGetWindowSurface(Pointer<SdlWindow> window) Pointer<SdlSurface>
Get the SDL surface associated with the window.
sdlGetWindowTitle(Pointer<SdlWindow> window) String?
Get the title of a window.
sdlGetWindowWmInfo(Pointer<SdlWindow> window, Pointer<SdlSysWMinfo> info) bool
Get driver-specific information about a window.
sdlGetYuvConversionMode() int
Get the YUV conversion mode
sdlGetYuvConversionModeForResolution(int width, int height) int
Get the YUV conversion mode, returning the correct mode for the resolution when the current conversion mode is SDL_YUV_CONVERSION_AUTOMATIC
sdlGfxVersion(Pointer<SdlVersion> x) → void
sdlGlBindTexture(Pointer<SdlTexture> texture, Pointer<Float> texw, Pointer<Float> texh) int
Bind an OpenGL/ES/ES2 texture to the current context.
sdlGlCreateContext(Pointer<SdlWindow> window) Pointer<NativeType>
Create an OpenGL context for an OpenGL window, and make it current.
sdlGlDeleteContext(Pointer<NativeType> context) → void
Delete an OpenGL context.
sdlGlExtensionSupported(String? extension) bool
Check if an OpenGL extension is supported for the current context.
sdlGlGetAttribute(int attr, Pointer<Int32> value) int
Get the actual value for an attribute from the current context.
sdlGlGetCurrentContext() Pointer<NativeType>
Get the currently active OpenGL context.
sdlGlGetCurrentWindow() Pointer<SdlWindow>
Get the currently active OpenGL window.
sdlGlGetDrawableSize(Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h) → void
Get the size of a window's underlying drawable in pixels.
sdlGlGetProcAddress(String? proc) Pointer<NativeType>
Get an OpenGL function by name.
sdlGlGetProcAddressEx(String proc) SDLglproc
sdlGlGetSwapInterval() int
Get the swap interval for the current OpenGL context.
sdlGlLoadLibrary(String? path) int
Dynamically load an OpenGL library.
sdlGlMakeCurrent(Pointer<SdlWindow> window, Pointer<NativeType> context) int
Set up an OpenGL context for rendering into an OpenGL window.
sdlGlResetAttributes() → void
Reset all previously set OpenGL context attributes to their default values.
sdlGlSetAttribute(int attr, int value) int
Set an OpenGL window attribute before window creation.
sdlGlSetSwapInterval(int interval) int
Set the swap interval for the current OpenGL context.
sdlGlSwapWindow(Pointer<SdlWindow> window) → void
Update a window with OpenGL rendering.
sdlGlUnbindTexture(Pointer<SdlTexture> texture) int
Unbind an OpenGL/ES/ES2 texture from the current context.
sdlGlUnloadLibrary() → void
Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().
sdlGuidFromString(String? pchGuid) SdlGuid
Convert a GUID string into a ::SDL_GUID structure.
sdlGuidToString(SdlGuid guid, Pointer<Int8> pszGuid, int cbGuid) → void
Get an ASCII string representation for a given ::SDL_GUID.
sdlHapticClose(Pointer<SdlHaptic> haptic) → void
Close a haptic device previously opened with SDL_HapticOpen().
sdlHapticDestroyEffect(Pointer<SdlHaptic> haptic, int effect) → void
Destroy a haptic effect on the device.
sdlHapticEffectSupported(Pointer<SdlHaptic> haptic, Pointer<SdlHapticEffect> effect) int
Check to see if an effect is supported by a haptic device.
sdlHapticGetEffectStatus(Pointer<SdlHaptic> haptic, int effect) int
Get the status of the current effect on the specified haptic device.
sdlHapticIndex(Pointer<SdlHaptic> haptic) int
Get the index of a haptic device.
sdlHapticName(int deviceIndex) String?
Get the implementation dependent name of a haptic device.
sdlHapticNewEffect(Pointer<SdlHaptic> haptic, Pointer<SdlHapticEffect> effect) int
Create a new haptic effect on a specified device.
sdlHapticNumAxes(Pointer<SdlHaptic> haptic) int
Get the number of haptic axes the device has.
sdlHapticNumEffects(Pointer<SdlHaptic> haptic) int
Get the number of effects a haptic device can store.
sdlHapticNumEffectsPlaying(Pointer<SdlHaptic> haptic) int
Get the number of effects a haptic device can play at the same time.
sdlHapticOpen(int deviceIndex) Pointer<SdlHaptic>
Open a haptic device for use.
sdlHapticOpened(int deviceIndex) int
Check if the haptic device at the designated index has been opened.
sdlHapticOpenFromJoystick(Pointer<SdlJoystick> joystick) Pointer<SdlHaptic>
Open a haptic device for use from a joystick device.
sdlHapticOpenFromMouse() Pointer<SdlHaptic>
Try to open a haptic device from the current mouse.
sdlHapticPause(Pointer<SdlHaptic> haptic) int
Pause a haptic device.
sdlHapticQuery(Pointer<SdlHaptic> haptic) int
Get the haptic device's supported features in bitwise manner.
sdlHapticRumbleInit(Pointer<SdlHaptic> haptic) int
Initialize a haptic device for simple rumble playback.
sdlHapticRumblePlay(Pointer<SdlHaptic> haptic, double strength, int length) int
Run a simple rumble effect on a haptic device.
sdlHapticRumbleStop(Pointer<SdlHaptic> haptic) int
Stop the simple rumble on a haptic device.
sdlHapticRumbleSupported(Pointer<SdlHaptic> haptic) int
Check whether rumble is supported on a haptic device.
sdlHapticRunEffect(Pointer<SdlHaptic> haptic, int effect, int iterations) int
Run the haptic effect on its associated haptic device.
sdlHapticSetAutocenter(Pointer<SdlHaptic> haptic, int autocenter) int
Set the global autocenter of the device.
sdlHapticSetGain(Pointer<SdlHaptic> haptic, int gain) int
Set the global gain of the specified haptic device.
sdlHapticStopAll(Pointer<SdlHaptic> haptic) int
Stop all the currently playing effects on a haptic device.
sdlHapticStopEffect(Pointer<SdlHaptic> haptic, int effect) int
Stop the haptic effect on its associated haptic device.
sdlHapticUnpause(Pointer<SdlHaptic> haptic) int
Unpause a haptic device.
sdlHapticUpdateEffect(Pointer<SdlHaptic> haptic, int effect, Pointer<SdlHapticEffect> data) int
Update the properties of an effect.
sdlHas3DNow() bool
Determine whether the CPU has 3DNow! features.
sdlHasAltiVec() bool
Determine whether the CPU has AltiVec features.
sdlHasArmsimd() bool
Determine whether the CPU has ARM SIMD (ARMv6) features.
sdlHasAvx() bool
Determine whether the CPU has AVX features.
sdlHasAvx2() bool
Determine whether the CPU has AVX2 features.
sdlHasAvx512F() bool
Determine whether the CPU has AVX-512F (foundation) features.
sdlHasClipboardText() bool
Query whether the clipboard exists and contains a non-empty text string.
sdlHasColorKey(Pointer<SdlSurface> surface) bool
Returns whether the surface has a color key
sdlHasEvent(int type) bool
Check for the existence of a certain event type in the event queue.
sdlHasEvents(int minType, int maxType) bool
Check for the existence of certain event types in the event queue.
sdlHasIntersection(Pointer<SdlRect> a, Pointer<SdlRect> b) bool
Determine whether two rectangles intersect.
sdlHasIntersectionF(Pointer<SdlFRect> a, Pointer<SdlFRect> b) bool
Determine whether two rectangles intersect with float precision.
sdlHasLasx() bool
Determine whether the CPU has LASX (LOONGARCH SIMD) features.
sdlHasLsx() bool
Determine whether the CPU has LSX (LOONGARCH SIMD) features.
sdlHasMmx() bool
Determine whether the CPU has MMX features.
sdlHasNeon() bool
Determine whether the CPU has NEON (ARM SIMD) features.
sdlHasPrimarySelectionText() bool
Query whether the primary selection exists and contains a non-empty text string.
sdlHasRdtsc() bool
Determine whether the CPU has the RDTSC instruction.
sdlHasScreenKeyboardSupport() bool
Check whether the platform has screen keyboard support.
sdlHasSse() bool
Determine whether the CPU has SSE features.
sdlHasSse2() bool
Determine whether the CPU has SSE2 features.
sdlHasSse3() bool
Determine whether the CPU has SSE3 features.
sdlHasSse41() bool
Determine whether the CPU has SSE4.1 features.
sdlHasSse42() bool
Determine whether the CPU has SSE4.2 features.
sdlHasSurfaceRle(Pointer<SdlSurface> surface) bool
Returns whether the surface is RLE enabled
sdlHasWindowSurface(Pointer<SdlWindow> window) bool
Return whether the window has a surface associated with it.
sdlHidBleScan(bool active) → void
Start or stop a BLE scan on iOS and tvOS to pair Steam Controllers
sdlHidClose(Pointer<SdlHidDevice> dev) → void
Close a HID device.
sdlHidDeviceChangeCount() int
Check to see if devices may have been added or removed.
sdlHidEnumerate(int vendorId, int productId) Pointer<SdlHidDeviceInfo>
Enumerate the HID Devices.
sdlHideWindow(Pointer<SdlWindow> window) → void
Hide a window.
sdlHidExit() int
Finalize the HIDAPI library.
sdlHidFreeEnumeration(Pointer<SdlHidDeviceInfo> devs) → void
Free an enumeration Linked List
sdlHidGetFeatureReport(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length) int
Get a feature report from a HID device.
sdlHidGetIndexedString(Pointer<SdlHidDevice> dev, int stringIndex, Pointer<Int16> string, int maxlen) int
Get a string from a HID device, based on its string index.
sdlHidGetManufacturerString(Pointer<SdlHidDevice> dev, Pointer<Int16> string, int maxlen) int
Get The Manufacturer String from a HID device.
sdlHidGetProductString(Pointer<SdlHidDevice> dev, Pointer<Int16> string, int maxlen) int
Get The Product String from a HID device.
sdlHidGetSerialNumberString(Pointer<SdlHidDevice> dev, Pointer<Int16> string, int maxlen) int
Get The Serial Number String from a HID device.
sdlHidInit() int
Initialize the HIDAPI library.
sdlHidOpen(int vendorId, int productId, Pointer<Int16> serialNumber) Pointer<SdlHidDevice>
Open a HID device using a Vendor ID (VID), Product ID (PID) and optionally a serial number.
sdlHidOpenPath(String? path, int bExclusive) Pointer<SdlHidDevice>
= false
sdlHidRead(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length) int
Read an Input report from a HID device.
sdlHidReadTimeout(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length, int milliseconds) int
Read an Input report from a HID device with timeout.
sdlHidSendFeatureReport(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length) int
Send a Feature report to the device.
sdlHidSetNonblocking(Pointer<SdlHidDevice> dev, int nonblock) int
Set the device handle to be non-blocking.
sdlHidWrite(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length) int
Write an Output report to a HID device.
sdlIconv(Pointer<SdlIconvT> cd, Pointer<Pointer<Int8>> inbuf, Pointer<Uint32> inbytesleft, Pointer<Pointer<Int8>> outbuf, Pointer<Uint32> outbytesleft) int
extern DECLSPEC size_t SDLCALL SDL_iconv(SDL_iconv_t cd, const char **inbuf, size_t * inbytesleft, char **outbuf, size_t * outbytesleft)
sdlIconvClose(Pointer<SdlIconvT> cd) int
extern DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd)
sdlIconvOpen(String? tocode, String? fromcode) Pointer<SdlIconvT>
extern DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open(const char *tocode, const char *fromcode)
sdlIconvString(String? tocode, String? fromcode, String? inbuf, int inbytesleft) Pointer<Int8>
This function converts a buffer or string between encodings in one pass, returning a string that must be freed with SDL_free() or NULL on error.
sdlIconvUtf8Locate(String s) Pointer<Int8>
const SDL_iconv_utf8_locale = (S) SDL_iconv_string('', 'UTF-8', S, SDL_strlen(S)+1);
sdlIconvUtf8Ucs2(String s) Pointer<Uint16>
const SDL_iconv_utf8_ucs2 = (S) (Uint16 *)SDL_iconv_string('UCS-2-INTERNAL', 'UTF-8', S, SDL_strlen(S)+1);
sdlIconvUtf8Ucs4(String s) Pointer<Uint32>
const SDL_iconv_utf8_ucs4 = (S) (Uint32 *)SDL_iconv_string('UCS-4-INTERNAL', 'UTF-8', S, SDL_strlen(S)+1);
sdlImageVersion(Pointer<SdlVersion> x) → void
const SDL_IMAGE_VERSION = (X) \{ \ (X)->major = SDL_IMAGE_MAJOR_VERSION; \ (X)->minor = SDL_IMAGE_MINOR_VERSION; \ (X)->patch = SDL_IMAGE_PATCHLEVEL; \};
sdlImageVersionAtleast(int x, int y, int z) bool
const SDL_IMAGE_VERSION_ATLEAST = (X, Y, Z) \ (SDL_IMAGE_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z));
sdlInit(int flags) int
Initialize the SDL library.
sdlInitSubSystem(int flags) int
Compatibility function to initialize the SDL library.
sdlIntersectFRect(Pointer<SdlFRect> a, Pointer<SdlFRect> b, Pointer<SdlFRect> result) bool
Calculate the intersection of two rectangles with float precision.
sdlIntersectFRectAndLine(Pointer<SdlFRect> rect, Pointer<Float> x1, Pointer<Float> y1, Pointer<Float> x2, Pointer<Float> y2) bool
Calculate the intersection of a rectangle and line segment with float precision.
sdlIntersectRect(Pointer<SdlRect> a, Pointer<SdlRect> b, Pointer<SdlRect> result) bool
Calculate the intersection of two rectangles.
sdlIntersectRectAndLine(Pointer<SdlRect> rect, Pointer<Int32> x1, Pointer<Int32> y1, Pointer<Int32> x2, Pointer<Int32> y2) bool
Calculate the intersection of a rectangle and line segment.
sdlIPhoneSetAnimationCallback(Pointer<SdlWindow> window, int interval, Pointer<NativeType> callback, Pointer<NativeType> callbackParam) int
Use this function to set the animation callback on Apple iOS.
sdlIPhoneSetEventPump(bool enabled) → void
Use this function to enable or disable the SDL event pump on Apple iOS.
sdlIsalnum(int x) int
extern DECLSPEC int SDLCALL SDL_isalnum(int x)
sdlIsalpha(int x) int
NOTE: these double-evaluate their arguments, so you should never have side effects in the parameters
sdlIsAndroidTv() bool
Query if the application is running on Android TV.
sdlIsblank(int x) int
extern DECLSPEC int SDLCALL SDL_isblank(int x)
sdlIsChromebook() bool
Query if the application is running on a Chromebook.
sdlIscntrl(int x) int
extern DECLSPEC int SDLCALL SDL_iscntrl(int x)
sdlIsDeXMode() bool
Query if the application is running on a Samsung DeX docking station.
sdlIsdigit(int x) int
extern DECLSPEC int SDLCALL SDL_isdigit(int x)
sdlIsGameController(int joystickIndex) bool
Check if the given joystick is supported by the game controller interface.
sdlIsgraph(int x) int
extern DECLSPEC int SDLCALL SDL_isgraph(int x)
sdlIslower(int x) int
extern DECLSPEC int SDLCALL SDL_islower(int x)
sdlIsprint(int x) int
extern DECLSPEC int SDLCALL SDL_isprint(int x)
sdlIspunct(int x) int
extern DECLSPEC int SDLCALL SDL_ispunct(int x)
sdlIsScreenKeyboardShown(Pointer<SdlWindow> window) bool
Check whether the screen keyboard is shown for given window.
sdlIsScreenSaverEnabled() bool
Check whether the screensaver is currently enabled.
sdlIsShapedWindow(Pointer<SdlWindow> window) bool
Return whether the given window is a shaped window.
sdlIsspace(int x) int
extern DECLSPEC int SDLCALL SDL_isspace(int x)
sdlIsTablet() bool
Query if the current device is a tablet.
sdlIsTextInputActive() bool
Check whether or not Unicode text input events are enabled.
sdlIsTextInputShown() bool
Returns if an IME Composite or Candidate window is currently shown.
sdlIsupper(int x) int
extern DECLSPEC int SDLCALL SDL_isupper(int x)
sdlIsxdigit(int x) int
extern DECLSPEC int SDLCALL SDL_isxdigit(int x)
sdlItoa(int value, Pointer<Int8> str, int radix) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_itoa(int value, char *str, int radix)
sdlJoystickAttachVirtual(int type, int naxes, int nbuttons, int nhats) int
Attach a new virtual joystick.
sdlJoystickAttachVirtualEx(Pointer<SdlVirtualJoystickDesc> desc) int
Attach a new virtual joystick with extended properties.
sdlJoystickClose(Pointer<SdlJoystick> joystick) → void
Close a joystick previously opened with SDL_JoystickOpen().
sdlJoystickCurrentPowerLevel(Pointer<SdlJoystick> joystick) int
Get the battery level of a joystick as SDL_JoystickPowerLevel.
sdlJoystickDetachVirtual(int deviceIndex) int
Detach a virtual joystick.
sdlJoystickEventState(int state) int
Enable/disable joystick event polling.
sdlJoystickFromInstanceId(int instanceId) Pointer<SdlJoystick>
Get the SDL_Joystick associated with an instance id.
sdlJoystickFromPlayerIndex(int playerIndex) Pointer<SdlJoystick>
Get the SDL_Joystick associated with a player index.
sdlJoystickGetAttached(Pointer<SdlJoystick> joystick) bool
Get the status of a specified joystick.
sdlJoystickGetAxis(Pointer<SdlJoystick> joystick, int axis) int
Get the current state of an axis control on a joystick.
sdlJoystickGetAxisInitialState(Pointer<SdlJoystick> joystick, int axis, Pointer<Int16> state) bool
Get the initial state of an axis control on a joystick.
sdlJoystickGetBall(Pointer<SdlJoystick> joystick, int ball, Pointer<Int32> dx, Pointer<Int32> dy) int
Get the ball axis change since the last poll.
sdlJoystickGetButton(Pointer<SdlJoystick> joystick, int button) int
Get the current state of a button on a joystick.
sdlJoystickGetDeviceGuid(int deviceIndex) SdlGuid
Get the implementation-dependent GUID for the joystick at a given device index.
sdlJoystickGetDeviceInstanceId(int deviceIndex) int
Get the instance ID of a joystick.
sdlJoystickGetDevicePlayerIndex(int deviceIndex) int
Get the player index of a joystick, or -1 if it's not available This can be called before any joysticks are opened.
sdlJoystickGetDeviceProduct(int deviceIndex) int
Get the USB product ID of a joystick, if available.
sdlJoystickGetDeviceProductVersion(int deviceIndex) int
Get the product version of a joystick, if available.
sdlJoystickGetDeviceType(int deviceIndex) int
Get the type of a joystick, if available.
sdlJoystickGetDeviceVendor(int deviceIndex) int
Get the USB vendor ID of a joystick, if available.
sdlJoystickGetFirmwareVersion(Pointer<SdlJoystick> joystick) int
Get the firmware version of an opened joystick, if available.
sdlJoystickGetGuid(Pointer<SdlJoystick> joystick) SdlGuid
Get the implementation-dependent GUID for the joystick.
sdlJoystickGetGuidFromString(String? pchGuid) SdlGuid
Convert a GUID string into a SDL_JoystickGUID structure.
sdlJoystickGetGuidString(SdlGuid guid, Pointer<Int8> pszGuid, int cbGuid) → void
Get an ASCII string representation for a given SDL_JoystickGUID.
sdlJoystickGetHat(Pointer<SdlJoystick> joystick, int hat) int
Get the current state of a POV hat on a joystick.
sdlJoystickGetPlayerIndex(Pointer<SdlJoystick> joystick) int
Get the player index of an opened joystick.
sdlJoystickGetProduct(Pointer<SdlJoystick> joystick) int
Get the USB product ID of an opened joystick, if available.
sdlJoystickGetProductVersion(Pointer<SdlJoystick> joystick) int
Get the product version of an opened joystick, if available.
sdlJoystickGetSerial(Pointer<SdlJoystick> joystick) String?
Get the serial number of an opened joystick, if available.
sdlJoystickGetType(Pointer<SdlJoystick> joystick) int
Get the type of an opened joystick.
sdlJoystickGetVendor(Pointer<SdlJoystick> joystick) int
Get the USB vendor ID of an opened joystick, if available.
sdlJoystickHasLed(Pointer<SdlJoystick> joystick) bool
Query whether a joystick has an LED.
sdlJoystickHasRumble(Pointer<SdlJoystick> joystick) bool
Query whether a joystick has rumble support.
sdlJoystickHasRumbleTriggers(Pointer<SdlJoystick> joystick) bool
Query whether a joystick has rumble support on triggers.
sdlJoystickInstanceId(Pointer<SdlJoystick> joystick) int
Get the instance ID of an opened joystick.
sdlJoystickIsHaptic(Pointer<SdlJoystick> joystick) int
Query if a joystick has haptic features.
sdlJoystickIsVirtual(int deviceIndex) bool
Query whether or not the joystick at a given device index is virtual.
sdlJoystickName(Pointer<SdlJoystick> joystick) String?
Get the implementation dependent name of a joystick.
sdlJoystickNameForIndex(int deviceIndex) String?
Get the implementation dependent name of a joystick.
sdlJoystickNumAxes(Pointer<SdlJoystick> joystick) int
Get the number of general axis controls on a joystick.
sdlJoystickNumBalls(Pointer<SdlJoystick> joystick) int
Get the number of trackballs on a joystick.
sdlJoystickNumButtons(Pointer<SdlJoystick> joystick) int
Get the number of buttons on a joystick.
sdlJoystickNumHats(Pointer<SdlJoystick> joystick) int
Get the number of POV hats on a joystick.
sdlJoystickOpen(int deviceIndex) Pointer<SdlJoystick>
Open a joystick for use.
sdlJoystickPath(Pointer<SdlJoystick> joystick) String?
Get the implementation dependent path of a joystick.
sdlJoystickPathForIndex(int deviceIndex) String?
Get the implementation dependent path of a joystick.
sdlJoystickRumble(Pointer<SdlJoystick> joystick, int lowFrequencyRumble, int highFrequencyRumble, int durationMs) int
Start a rumble effect.
sdlJoystickRumbleTriggers(Pointer<SdlJoystick> joystick, int leftRumble, int rightRumble, int durationMs) int
Start a rumble effect in the joystick's triggers
sdlJoystickSendEffect(Pointer<SdlJoystick> joystick, Pointer<NativeType> data, int size) int
Send a joystick specific effect packet
sdlJoystickSetLed(Pointer<SdlJoystick> joystick, int red, int green, int blue) int
Update a joystick's LED color.
sdlJoystickSetPlayerIndex(Pointer<SdlJoystick> joystick, int playerIndex) → void
Set the player index of an opened joystick.
sdlJoystickSetVirtualAxis(Pointer<SdlJoystick> joystick, int axis, int value) int
Set values on an opened, virtual-joystick's axis.
sdlJoystickSetVirtualButton(Pointer<SdlJoystick> joystick, int button, int value) int
Set values on an opened, virtual-joystick's button.
sdlJoystickSetVirtualHat(Pointer<SdlJoystick> joystick, int hat, int value) int
Set values on an opened, virtual-joystick's hat.
sdlJoystickUpdate() → void
Update the current state of the open joysticks.
sdlLinuxSetThreadPriority(int threadId, int priority) int
Sets the UNIX nice value for a thread.
sdlLinuxSetThreadPriorityAndPolicy(int threadId, int sdlPriority, int schedPolicy) int
Sets the priority (not nice level) and scheduling policy for a thread.
sdlLltoa(int value, Pointer<Int8> str, int radix) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_lltoa(Sint64 value, char *str, int radix)
sdlLoadBmp(String file) Pointer<SdlSurface>
const SDL_LoadBMP = (file) SDL_LoadBMP_RW(SDL_RWFromFile(file, 'rb'), 1);
sdlLoadBmpRw(Pointer<SdlRWops> src, int freesrc) Pointer<SdlSurface>
Load a BMP image from a seekable SDL data stream.
sdlLoadDollarTemplates(int touchId, Pointer<SdlRWops> src) int
Load Dollar Gesture templates from a file.
sdlLoadFile(String? file, Pointer<Uint32> datasize) Pointer<NativeType>
Load all the data from a file path.
sdlLoadFileRw(Pointer<SdlRWops> src, Pointer<Uint32> datasize, int freesrc) Pointer<NativeType>
Load all the data from an SDL data stream.
sdlLoadFunction(Pointer<NativeType> handle, String? name) Pointer<NativeType>
Look up the address of the named function in a shared object.
sdlLoadObject(String? sofile) Pointer<NativeType>
Dynamically load a shared object.
sdlLoadWav(String file, Pointer<SdlAudioSpec> spec, Pointer<Pointer<Uint8>> audioBuf, Pointer<Uint32> audioLen) Pointer<SdlAudioSpec>
sdlLoadWavRw(Pointer<SdlRWops> src, int freesrc, Pointer<SdlAudioSpec> spec, Pointer<Pointer<Uint8>> audioBuf, Pointer<Uint32> audioLen) Pointer<SdlAudioSpec>
Load the audio data of a WAVE file into memory.
sdlLockAudio() → void
This function is a legacy means of locking the audio device.
sdlLockAudioDevice(int dev) → void
Use this function to lock out the audio callback function for a specified device.
sdlLockJoysticks(Pointer<NativeType> arg0) → void
Locking for multi-threaded access to the joystick API
sdlLockMutex(Pointer<NativeType> arg0) int
Lock the mutex.
sdlLockSensors() → void
Locking for multi-threaded access to the sensor API
sdlLockSurface(Pointer<SdlSurface> surface) int
Set up a surface for directly accessing the pixels.
sdlLockTexture(Pointer<SdlTexture> texture, Pointer<SdlRect> rect, Pointer<Pointer<NativeType>> pixels, Pointer<Int32> pitch) int
Lock a portion of the texture for write-only pixel access.
sdlLockTextureToSurface(Pointer<SdlTexture> texture, Pointer<SdlRect> rect, Pointer<Pointer<SdlSurface>> surface) int
Lock a portion of the texture for write-only pixel access, and expose it as a SDL surface.
sdlLog(String? fmt, Pointer<NativeType> arg1) → void
Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO.
sdlLog10(double x) double
extern DECLSPEC double SDLCALL SDL_log10(double x)
sdlLog10f(double x) double
extern DECLSPEC float SDLCALL SDL_log10f(float x)
sdlLogCritical(int category, String? fmt, Pointer<NativeType> arg2) → void
Log a message with SDL_LOG_PRIORITY_CRITICAL.
sdlLogDebug(int category, String? fmt, Pointer<NativeType> arg2) → void
Log a message with SDL_LOG_PRIORITY_DEBUG.
sdlLogError(int category, String? fmt, Pointer<NativeType> arg2) → void
Log a message with SDL_LOG_PRIORITY_ERROR.
sdlLogf(double x) double
extern DECLSPEC float SDLCALL SDL_logf(float x)
sdlLogGetOutputFunction(Pointer<Pointer<NativeFunction<SdlLogOutputFunction>>> callback, Pointer<Pointer<NativeType>> userdata) → void
Get the current log output function.
sdlLogGetPriority(int category) int
Get the priority of a particular log category.
sdlLogInfo(int category, String? fmt, Pointer<NativeType> arg2) → void
Log a message with SDL_LOG_PRIORITY_INFO.
sdlLogMessage(int category, int priority, String? fmt, Pointer<NativeType> arg3) → void
Log a message with the specified category and priority.
sdlLogMessageV(int category, int priority, String? fmt, Pointer<NativeType> arg3) → void
Log a message with the specified category and priority.
sdlLogResetPriorities() → void
Reset all priorities to default.
sdlLogSetAllPriority(int priority) → void
Set the priority of all log categories.
sdlLogSetOutputFunction(Pointer<NativeFunction<SdlLogOutputFunction>> callback, Pointer<NativeType> userdata) → void
Replace the default log output function with one of your own.
sdlLogSetPriority(int category, int priority) → void
Set the priority of a particular log category.
sdlLogVerbose(int category, String? fmt, Pointer<NativeType> arg2) → void
Log a message with SDL_LOG_PRIORITY_VERBOSE.
sdlLogWarn(int category, String? fmt, Pointer<NativeType> arg2) → void
Log a message with SDL_LOG_PRIORITY_WARN.
sdlLowerBlit(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) int
Perform low-level surface blitting only.
sdlLowerBlitScaled(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) int
Perform low-level surface scaled blitting only.
sdlLround(double x) int
extern DECLSPEC long SDLCALL SDL_lround(double x)
sdlLroundf(double x) int
extern DECLSPEC long SDLCALL SDL_lroundf(float x)
sdlLtoa(int value, Pointer<Int8> str, int radix) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_ltoa(long value, char *str, int radix)
sdlMalloc(int size) Pointer<NativeType>
extern DECLSPEC void *SDLCALL SDL_malloc(size_t size)
sdlMapRgb(Pointer<SdlPixelFormat> format, int r, int g, int b) int
Map an RGB triple to an opaque pixel value for a given pixel format.
sdlMapRgba(Pointer<SdlPixelFormat> format, int r, int g, int b, int a) int
Map an RGBA quadruple to a pixel value for a given pixel format.
sdlMasksToPixelFormatEnum(int bpp, int rmask, int gmask, int bmask, int amask) int
Convert a bpp value and RGBA masks to an enumerated pixel format.
sdlMaximizeWindow(Pointer<SdlWindow> window) → void
Make a window as large as possible.
sdlMemcmp(Pointer<NativeType> s1, Pointer<NativeType> s2, int len) int
extern DECLSPEC int SDLCALL SDL_memcmp(const void *s1, const void *s2, size_t len)
sdlMemcpy(Pointer<NativeType> arg0, Pointer<NativeType> arg1, int len) Pointer<NativeType>
extern DECLSPEC void *SDLCALL SDL_memcpy(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len)
sdlMemmove(Pointer<NativeType> arg0, Pointer<NativeType> arg1, int len) Pointer<NativeType>
extern DECLSPEC void *SDLCALL SDL_memmove(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len)
sdlMemoryBarrierAcquireFunction() → void
extern DECLSPEC void SDLCALL SDL_MemoryBarrierAcquireFunction(void)
sdlMemoryBarrierReleaseFunction() → void
Memory barriers are designed to prevent reads and writes from being reordered by the compiler and being seen out of order on multi-core CPUs.
sdlMemset(Pointer<NativeType> arg0, int c, int len) Pointer<NativeType>
extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len)
sdlMetalCreateView(Pointer<SdlWindow> window) Pointer<NativeType>
Create a CAMetalLayer-backed NSView/UIView and attach it to the specified window.
sdlMetalDestroyView(Pointer<NativeType> view) → void
Destroy an existing SDL_MetalView object.
sdlMetalGetDrawableSize(Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h) → void
Get the size of a window's underlying drawable in pixels (for use with setting viewport, scissor & etc).
sdlMetalGetLayer(Pointer<NativeType> view) Pointer<NativeType>
Get a pointer to the backing CAMetalLayer for the given view.
sdlMinimizeWindow(Pointer<SdlWindow> window) → void
Minimize a window to an iconic representation.
sdlMixAudio(Pointer<Uint8> dst, Pointer<Uint8> src, int len, int volume) → void
This function is a legacy means of mixing audio.
sdlMixAudioFormat(Pointer<Uint8> dst, Pointer<Uint8> src, int format, int len, int volume) → void
Mix audio data in a specified format.
sdlMixerVersion(Pointer<SdlVersion> x) → void
const SDL_MIXER_VERSION = (X) \{ \ (X)->major = SDL_MIXER_MAJOR_VERSION; \ (X)->minor = SDL_MIXER_MINOR_VERSION; \ (X)->patch = SDL_MIXER_PATCHLEVEL; \};
sdlMixerVersionAtleast(int x, int y, int z) bool
const SDL_MIXER_VERSION_ATLEAST = (X, Y, Z) \ (SDL_MIXER_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z));
sdlMouseIsHaptic() int
Query whether or not the current mouse has haptic capabilities.
sdlNetAddSocket(Pointer<SdlNetSocketSet> set, SdlNetGenericSocket sock) int
Add a socket to a socket set, to be checked for available data.
sdlNetAllocPacket(int size) Pointer<UDPpacket>
Allocate a single UDP packet.
sdlNetAllocPacketV(int howmany, int size) Pointer<Pointer<UDPpacket>>
Allocate a UDP packet vector (array of packets).
sdlNetAllocSocketSet(int maxsockets) Pointer<SdlNetSocketSet>
Allocate a socket set for use with SDLNet_CheckSockets().
sdlNetCheckSockets(Pointer<SdlNetSocketSet> set, int timeout) int
Check a socket set for data availability.
sdlNetDelSocket(Pointer<SdlNetSocketSet> set, SdlNetGenericSocket sock) int
Remove a socket from a set of sockets to be checked for available data.
sdlNetFreePacket(Pointer<UDPpacket> packet) → void
Dispose of a UDP packet.
sdlNetFreePacketV(Pointer<Pointer<UDPpacket>> packetV) → void
Free a UDP packet vector (array of packets).
sdlNetFreeSocketSet(Pointer<SdlNetSocketSet> set) → void
Free a set of sockets allocated by SDLNet_AllocSocketSet().
sdlNetGetError() String?
Get the latest error message from SDL_net.
sdlNetGetLocalAddresses(Pointer<IPaddress> addresses, int maxcount) int
Get the addresses of network interfaces on this system.
sdlNetInit() int
Initialize SDL_net.
sdlNetLinkedVersion() Pointer<SdlVersion>
Query the version of SDL_net that the program is linked against.
sdlNetQuit() → void
Deinitialize SDL_net.
sdlNetResizePacket(Pointer<UDPpacket> packet, int newsize) int
Reallocate a UDP packet's payload space.
sdlNetResolveHost(Pointer<IPaddress> address, String? host, int port) int
Resolve a host name and port to an IP address in network form.
sdlNetResolveIp(Pointer<IPaddress> ip) String?
Resolve an IP address to a host name in canonical form.
sdlNetSetError(String? fmt, Pointer<NativeType> arg1) → void
Set an error message to be retrieved with SDLNet_GetError.
sdlNetTcpAccept(Pointer<TCPsocket> server) Pointer<TCPsocket>
Accept an incoming connection on the given server socket.
sdlNetTcpClose(Pointer<TCPsocket> sock) → void
Close a TCP network socket.
sdlNetTcpGetPeerAddress(Pointer<TCPsocket> sock) Pointer<IPaddress>
Get the IP address of the remote system associated with the socket.
sdlNetTcpOpen(Pointer<IPaddress> ip) Pointer<TCPsocket>
Open a TCP network socket.
sdlNetTcpRecv(Pointer<TCPsocket> sock, Pointer<NativeType> data, int maxlen) int
Receive data from a non-server socket.
sdlNetTcpSend(Pointer<TCPsocket> sock, Pointer<NativeType> data, int len) int
Send data over a non-server socket.
sdlNetUdpBind(Pointer<UDPsocket> sock, int channel, Pointer<IPaddress> address) int
Bind an address to the requested channel on the UDP socket.
sdlNetUdpClose(Pointer<UDPsocket> sock) → void
Close a UDP socket.
sdlNetUdpGetPeerAddress(Pointer<UDPsocket> sock, int channel) Pointer<IPaddress>
Get the IP address of the remote system for a socket and channel.
sdlNetUdpOpen(int port) Pointer<UDPsocket>
Open a UDP network socket.
sdlNetUdpRecv(Pointer<UDPsocket> sock, Pointer<UDPpacket> packet) int
Receive a single packet from a UDP socket.
sdlNetUdpRecvV(Pointer<UDPsocket> sock, Pointer<Pointer<UDPpacket>> packets) int
Receive a vector of pending packets from a UDP socket.
sdlNetUdpSend(Pointer<UDPsocket> sock, int channel, Pointer<UDPpacket> packet) int
Send a single UDP packet to the specified channel.
sdlNetUdpSendV(Pointer<UDPsocket> sock, Pointer<Pointer<UDPpacket>> packets, int npackets) int
Send a vector of packets to the the channels specified within the packet.
sdlNetUdpSetPacketLoss(Pointer<UDPsocket> sock, int percent) → void
Set the percentage of simulated packet loss for packets sent on the socket.
sdlNetUdpUnbind(Pointer<UDPsocket> sock, int channel) → void
Unbind all addresses from the given channel.
sdlNetVersion(Pointer<SdlVersion> x) → void
const SDL_NET_VERSION = (X) \{ \ (X)->major = SDL_NET_MAJOR_VERSION; \ (X)->minor = SDL_NET_MINOR_VERSION; \ (X)->patch = SDL_NET_PATCHLEVEL; \};
sdlNewAudioStream(int srcFormat, int srcChannels, int srcRate, int dstFormat, int dstChannels, int dstRate) Pointer<SdlAudioStream>
Create a new audio stream.
sdlNumHaptics() int
Count the number of haptic devices attached to the system.
sdlNumJoysticks() int
Count the number of joysticks attached to the system.
sdlNumSensors() int
Count the number of sensors attached to the system right now.
sdlOnApplicationDidBecomeActive() → void
extern DECLSPEC void SDLCALL SDL_OnApplicationDidBecomeActive(void)
sdlOnApplicationDidChangeStatusBarOrientation() → void
extern DECLSPEC void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(void)
sdlOnApplicationDidEnterBackground() → void
extern DECLSPEC void SDLCALL SDL_OnApplicationDidEnterBackground(void)
sdlOnApplicationDidReceiveMemoryWarning() → void
extern DECLSPEC void SDLCALL SDL_OnApplicationDidReceiveMemoryWarning(void)
sdlOnApplicationWillEnterForeground() → void
extern DECLSPEC void SDLCALL SDL_OnApplicationWillEnterForeground(void)
sdlOnApplicationWillResignActive() → void
extern DECLSPEC void SDLCALL SDL_OnApplicationWillResignActive(void)
sdlOnApplicationWillTerminate() → void
Functions used by iOS application delegates to notify SDL about state changes
sdlOpenAudio(Pointer<SdlAudioSpec> desired, Pointer<SdlAudioSpec> obtained) int
This function is a legacy means of opening the audio device.
sdlOpenAudioDevice(String? device, int iscapture, Pointer<SdlAudioSpec> desired, Pointer<SdlAudioSpec> obtained, int allowedChanges) int
Open a specific audio device.
sdlOpenUrl(String? url) int
Open a URL/URI in the browser or other appropriate external application.
sdlPauseAudio(int pauseOn) → void
This function is a legacy means of pausing the audio device.
sdlPauseAudioDevice(int dev, int pauseOn) → void
Use this function to pause and unpause audio playback on a specified device.
sdlPeepEvents(Pointer<SdlEvent> events, int numevents, int action, int minType, int maxType) int
Check the event queue for messages and optionally return them.
sdlPixelFormatEnumToMasks(int format, Pointer<Int32> bpp, Pointer<Uint32> rmask, Pointer<Uint32> gmask, Pointer<Uint32> bmask, Pointer<Uint32> amask) bool
Convert one of the enumerated pixel formats to a bpp value and RGBA masks.
sdlPollEvent(Pointer<SdlEvent> event) int
Poll for currently pending events.
sdlPow(double x, double y) double
extern DECLSPEC double SDLCALL SDL_pow(double x, double y)
sdlPowf(double x, double y) double
extern DECLSPEC float SDLCALL SDL_powf(float x, float y)
sdlPremultiplyAlpha(int width, int height, int srcFormat, Pointer<NativeType> src, int srcPitch, int dstFormat, Pointer<NativeType> dst, int dstPitch) int
Premultiply the alpha on a block of pixels.
sdlPumpEvents() → void
Pump the event loop, gathering events from the input devices.
sdlPushEvent(Pointer<SdlEvent> event) int
Add an event to the event queue.
sdlQsort(Pointer<NativeType> base, int nmemb, int size, Pointer<NativeType> compare) → void
extern DECLSPEC void SDLCALL SDL_qsort(void *base, size_t nmemb, size_t size, int (SDLCALL *compare) (const void *, const void *))
sdlQueryTexture(Pointer<SdlTexture> texture, Pointer<Uint32> format, Pointer<Int32> access, Pointer<Int32> w, Pointer<Int32> h) int
Query the attributes of a texture.
sdlQueueAudio(int dev, Pointer<NativeType> data, int len) int
Queue more audio on non-callback devices.
sdlQuit() → void
Clean up all initialized subsystems.
sdlQuitSubSystem(int flags) → void
Shut down specific SDL subsystems.
sdlRaiseWindow(Pointer<SdlWindow> window) → void
Raise a window above other windows and set the input focus.
sdlReadBe16(Pointer<SdlRWops> src) int
Use this function to read 16 bits of big-endian data from an SDL_RWops and return in native format.
sdlReadBe32(Pointer<SdlRWops> src) int
Use this function to read 32 bits of big-endian data from an SDL_RWops and return in native format.
sdlReadBe64(Pointer<SdlRWops> src) int
Use this function to read 64 bits of big-endian data from an SDL_RWops and return in native format.
sdlReadLe16(Pointer<SdlRWops> src) int
Use this function to read 16 bits of little-endian data from an SDL_RWops and return in native format.
sdlReadLe32(Pointer<SdlRWops> src) int
Use this function to read 32 bits of little-endian data from an SDL_RWops and return in native format.
sdlReadLe64(Pointer<SdlRWops> src) int
Use this function to read 64 bits of little-endian data from an SDL_RWops and return in native format.
sdlReadU8(Pointer<SdlRWops> src) int
Use this function to read a byte from an SDL_RWops.
sdlRealloc(Pointer<NativeType> mem, int size) Pointer<NativeType>
extern DECLSPEC void *SDLCALL SDL_realloc(void *mem, size_t size)
sdlRecordGesture(int touchId) int
Begin recording a gesture on a specified touch device or all touch devices.
sdlRegisterApp(String? name, int style, Pointer<NativeType> hInst) int
Register a win32 window class for SDL's use.
sdlRegisterEvents(int numevents) int
Allocate a set of user-defined events, and return the beginning event number for that set of events.
sdlRemoveTimer(int id) bool
Remove a timer created with SDL_AddTimer().
sdlRenderClear(Pointer<SdlRenderer> renderer) int
Clear the current rendering target with the drawing color.
sdlRenderCopy(Pointer<SdlRenderer> renderer, Pointer<SdlTexture> texture, Pointer<SdlRect> srcrect, Pointer<SdlRect> dstrect) int
Copy a portion of the texture to the current rendering target.
sdlRenderCopyEx(Pointer<SdlRenderer> renderer, Pointer<SdlTexture> texture, Pointer<SdlRect> srcrect, Pointer<SdlRect> dstrect, double angle, Pointer<SdlPoint> center, int flip) int
Copy a portion of the texture to the current rendering, with optional rotation and flipping.
sdlRenderCopyExF(Pointer<SdlRenderer> renderer, Pointer<SdlTexture> texture, Pointer<SdlRect> srcrect, Pointer<SdlFRect> dstrect, double angle, Pointer<SdlFPoint> center, int flip) int
Copy a portion of the source texture to the current rendering target, with rotation and flipping, at subpixel precision.
sdlRenderCopyF(Pointer<SdlRenderer> renderer, Pointer<SdlTexture> texture, Pointer<SdlRect> srcrect, Pointer<SdlFRect> dstrect) int
Copy a portion of the texture to the current rendering target at subpixel precision.
sdlRenderDrawLine(Pointer<SdlRenderer> renderer, int x1, int y1, int x2, int y2) int
Draw a line on the current rendering target.
sdlRenderDrawLineF(Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2) int
Draw a line on the current rendering target at subpixel precision.
sdlRenderDrawLines(Pointer<SdlRenderer> renderer, Pointer<SdlPoint> points, int count) int
Draw a series of connected lines on the current rendering target.
sdlRenderDrawLinesF(Pointer<SdlRenderer> renderer, Pointer<SdlFPoint> points, int count) int
Draw a series of connected lines on the current rendering target at subpixel precision.
sdlRenderDrawPoint(Pointer<SdlRenderer> renderer, int x, int y) int
Draw a point on the current rendering target.
sdlRenderDrawPointF(Pointer<SdlRenderer> renderer, double x, double y) int
Draw a point on the current rendering target at subpixel precision.
sdlRenderDrawPoints(Pointer<SdlRenderer> renderer, Pointer<SdlPoint> points, int count) int
Draw multiple points on the current rendering target.
sdlRenderDrawPointsF(Pointer<SdlRenderer> renderer, Pointer<SdlFPoint> points, int count) int
Draw multiple points on the current rendering target at subpixel precision.
sdlRenderDrawRect(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rect) int
Draw a rectangle on the current rendering target.
sdlRenderDrawRectF(Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rect) int
Draw a rectangle on the current rendering target at subpixel precision.
sdlRenderDrawRects(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rects, int count) int
Draw some number of rectangles on the current rendering target.
sdlRenderDrawRectsF(Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rects, int count) int
Draw some number of rectangles on the current rendering target at subpixel precision.
sdlRenderFillRect(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rect) int
Fill a rectangle on the current rendering target with the drawing color.
sdlRenderFillRectF(Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rect) int
Fill a rectangle on the current rendering target with the drawing color at subpixel precision.
sdlRenderFillRects(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rects, int count) int
Fill some number of rectangles on the current rendering target with the drawing color.
sdlRenderFillRectsF(Pointer<SdlRenderer> renderer, Pointer<SdlFRect> rects, int count) int
Fill some number of rectangles on the current rendering target with the drawing color at subpixel precision.
sdlRenderFlush(Pointer<SdlRenderer> renderer) int
Force the rendering context to flush any pending commands to the underlying rendering API.
sdlRenderGeometry(Pointer<SdlRenderer> renderer, Pointer<SdlTexture> texture, Pointer<SdlVertex> vertices, int numVertices, Pointer<Int32> indices, int numIndices) int
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).
sdlRenderGeometryRaw(Pointer<SdlRenderer> renderer, Pointer<SdlTexture> texture, Pointer<Float> xy, int xyStride, Pointer<SdlColor> color, int colorStride, Pointer<Float> uv, int uvStride, int numVertices, Pointer<NativeType> indices, int numIndices, int sizeIndices) int
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).
sdlRenderGetClipRect(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rect) → void
Get the clip rectangle for the current target.
sdlRenderGetD3D11Device(Pointer<SdlRenderer> renderer) Pointer<ID3D11Device>
Get the D3D11 device associated with a renderer.
sdlRenderGetD3D12Device(Pointer<SdlRenderer> renderer) Pointer<ID3D12Device>
Get the D3D12 device associated with a renderer.
sdlRenderGetD3D9Device(Pointer<SdlRenderer> renderer) Pointer<IDirect3DDevice9>
Get the D3D9 device associated with a renderer.
sdlRenderGetIntegerScale(Pointer<SdlRenderer> renderer) bool
Get whether integer scales are forced for resolution-independent rendering.
sdlRenderGetLogicalSize(Pointer<SdlRenderer> renderer, Pointer<Int32> w, Pointer<Int32> h) → void
Get device independent resolution for rendering.
sdlRenderGetMetalCommandEncoder(Pointer<SdlRenderer> renderer) Pointer<NativeType>
Get the Metal command encoder for the current frame
sdlRenderGetMetalLayer(Pointer<SdlRenderer> renderer) Pointer<NativeType>
Get the CAMetalLayer associated with the given Metal renderer.
sdlRenderGetScale(Pointer<SdlRenderer> renderer, Pointer<Float> scaleX, Pointer<Float> scaleY) → void
Get the drawing scale for the current target.
sdlRenderGetViewport(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rect) → void
Get the drawing area for the current target.
sdlRenderGetWindow(Pointer<SdlRenderer> renderer) Pointer<SdlWindow>
Get the window associated with a renderer.
sdlRenderIsClipEnabled(Pointer<SdlRenderer> renderer) bool
Get whether clipping is enabled on the given renderer.
sdlRenderLogicalToWindow(Pointer<SdlRenderer> renderer, double logicalX, double logicalY, Pointer<Int32> windowX, Pointer<Int32> windowY) → void
Get real coordinates of point in window when given logical coordinates of point in renderer.
sdlRenderPresent(Pointer<SdlRenderer> renderer) → void
Update the screen with any rendering performed since the previous call.
sdlRenderReadPixels(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rect, int format, Pointer<NativeType> pixels, int pitch) int
Read pixels from the current rendering target to an array of pixels.
sdlRenderSetClipRect(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rect) int
Set the clip rectangle for rendering on the specified target.
sdlRenderSetIntegerScale(Pointer<SdlRenderer> renderer, bool enable) int
Set whether to force integer scales for resolution-independent rendering.
sdlRenderSetLogicalSize(Pointer<SdlRenderer> renderer, int w, int h) int
Set a device independent resolution for rendering.
sdlRenderSetScale(Pointer<SdlRenderer> renderer, double scaleX, double scaleY) int
Set the drawing scale for rendering on the current target.
sdlRenderSetViewport(Pointer<SdlRenderer> renderer, Pointer<SdlRect> rect) int
Set the drawing area for rendering on the current target.
sdlRenderSetVSync(Pointer<SdlRenderer> renderer, int vsync) int
Toggle VSync of the given renderer.
sdlRenderTargetSupported(Pointer<SdlRenderer> renderer) bool
Determine whether a renderer supports the use of render targets.
sdlRenderWindowToLogical(Pointer<SdlRenderer> renderer, int windowX, int windowY, Pointer<Float> logicalX, Pointer<Float> logicalY) → void
Get logical coordinates of point in renderer when given real coordinates of point in window.
sdlReportAssertion(Pointer<SdlAssertData> arg0, String? arg1, String? arg2, Pointer<NativeType> arg3) int
this tells Clang's static analysis that we're a custom assert function, and that the analyzer should assume the condition was always true past this SDL_assert test. */
sdlResetAssertionReport() → void
Clear the list of all assertion failures.
sdlResetHint(String? name) bool
Reset a hint to the default value.
sdlResetHints() → void
Reset all hints to the default values.
sdlResetKeyboard() → void
Clear the state of the keyboard
sdlRestoreWindow(Pointer<SdlWindow> window) → void
Restore the size and position of a minimized or maximized window.
sdlRound(double x) double
extern DECLSPEC double SDLCALL SDL_round(double x)
sdlRoundf(double x) double
extern DECLSPEC float SDLCALL SDL_roundf(float x)
sdlRWclose(Pointer<SdlRWops> context) int
Close and free an allocated SDL_RWops structure.
sdlRwFromConstMem(Pointer<NativeType> mem, int size) Pointer<SdlRWops>
Use this function to prepare a read-only memory buffer for use with RWops.
sdlRwFromFile(String? file, String? mode) Pointer<SdlRWops>
Use this function to create a new SDL_RWops structure for reading from and/or writing to a named file.
sdlRwFromFp(Pointer<IntPtr> fp, bool autoclose) Pointer<SdlRWops>
extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp, SDL_bool autoclose)
sdlRwFromMem(Pointer<NativeType> mem, int size) Pointer<SdlRWops>
Use this function to prepare a read-write memory buffer for use with SDL_RWops.
sdlRWread(Pointer<SdlRWops> context, Pointer<NativeType> ptr, int size, int maxnum) int
Read from a data source.
sdlRWseek(Pointer<SdlRWops> context, int offset, int whence) int
Seek within an SDL_RWops data stream.
sdlRWsize(Pointer<SdlRWops> context) int
Use this function to get the size of the data stream in an SDL_RWops.
sdlRWtell(Pointer<SdlRWops> context) int
Determine the current read/write offset in an SDL_RWops data stream.
sdlRWwrite(Pointer<SdlRWops> context, Pointer<NativeType> ptr, int size, int num) int
Write to an SDL_RWops data stream.
sdlSaveAllDollarTemplates(Pointer<SdlRWops> dst) int
Save all currently loaded Dollar Gesture templates.
sdlSaveBmp(Pointer<SdlSurface> surface, String file) int
const SDL_SaveBMP = (surface, file) \ SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, 'wb'), 1);
sdlSaveBmpRw(Pointer<SdlSurface> surface, Pointer<SdlRWops> dst, int freedst) int
Save a surface to a seekable SDL data stream in BMP format.
sdlSaveDollarTemplate(int gestureId, Pointer<SdlRWops> dst) int
Save a currently loaded Dollar Gesture template.
sdlScalbn(double x, int n) double
extern DECLSPEC double SDLCALL SDL_scalbn(double x, int n)
sdlScalbnf(double x, int n) double
extern DECLSPEC float SDLCALL SDL_scalbnf(float x, int n)
sdlScancodeToKeycode(int x) int
sdlSemPost(Pointer<SdlSem> sem) int
Atomically increment a semaphore's value and wake waiting threads.
sdlSemTryWait(Pointer<SdlSem> sem) int
See if a semaphore has a positive value and decrement it if it does.
sdlSemValue(Pointer<SdlSem> sem) int
Get the current value of a semaphore.
sdlSemWait(Pointer<SdlSem> sem) int
Wait until a semaphore has a positive value and then decrements it.
sdlSemWaitTimeout(Pointer<SdlSem> sem, int timeout) int
Wait until a semaphore has a positive value and then decrements it.
sdlSensorClose(Pointer<SdlSensor> sensor) → void
Close a sensor previously opened with SDL_SensorOpen().
sdlSensorFromInstanceId(int instanceId) Pointer<SdlSensor>
Return the SDL_Sensor associated with an instance id.
sdlSensorGetData(Pointer<SdlSensor> sensor, Pointer<Float> data, int numValues) int
Get the current state of an opened sensor.
sdlSensorGetDataWithTimestamp(Pointer<SdlSensor> sensor, Pointer<Uint64> timestamp, Pointer<Float> data, int numValues) int
Get the current state of an opened sensor with the timestamp of the last update.
sdlSensorGetDeviceInstanceId(int deviceIndex) int
Get the instance ID of a sensor.
sdlSensorGetDeviceName(int deviceIndex) String?
Get the implementation dependent name of a sensor.
sdlSensorGetDeviceNonPortableType(int deviceIndex) int
Get the platform dependent type of a sensor.
sdlSensorGetDeviceType(int deviceIndex) int
Get the type of a sensor.
sdlSensorGetInstanceId(Pointer<SdlSensor> sensor) int
Get the instance ID of a sensor.
sdlSensorGetName(Pointer<SdlSensor> sensor) String?
Get the implementation dependent name of a sensor
sdlSensorGetNonPortableType(Pointer<SdlSensor> sensor) int
Get the platform dependent type of a sensor.
sdlSensorGetType(Pointer<SdlSensor> sensor) int
Get the type of a sensor.
sdlSensorOpen(int deviceIndex) Pointer<SdlSensor>
Open a sensor for use.
sdlSensorUpdate() → void
Update the current state of the open sensors.
sdlSetAssertionHandler(Pointer<NativeFunction<SdlAssertionHandler>> handler, Pointer<NativeType> userdata) → void
Set an application-defined assertion handler.
sdlSetClipboardText(String? text) int
Put UTF-8 text into the clipboard.
sdlSetClipRect(Pointer<SdlSurface> surface, Pointer<SdlRect> rect) bool
Set the clipping rectangle for a surface.
sdlSetColorKey(Pointer<SdlSurface> surface, int flag, int key) int
Set the color key (transparent pixel) in a surface.
sdlSetCursor(Pointer<SdlCursor> cursor) → void
Set the active cursor.
sdlSetenv(String? name, String? value, int overwrite) int
extern DECLSPEC int SDLCALL SDL_setenv(const char *name, const char *value, int overwrite)
sdlSetError(String? fmt, Pointer<NativeType> arg1) int
Set the SDL error message for the current thread.
sdlSetEventFilter(Pointer<NativeFunction<SdlEventFilter>> filter, Pointer<NativeType> userdata) → void
Set up a filter to process all events before they change internal state and are posted to the internal event queue.
sdlSetHint(String? name, String? value) bool
Set a hint with normal priority.
sdlSetHintWithPriority(String? name, String? value, int priority) bool
Set a hint with a specific priority.
sdlSetMainReady() → void
Circumvent failure of SDL_Init() when not using SDL_main() as an entry point.
sdlSetMemoryFunctions(Pointer<NativeFunction<SdlMallocFunc>> mallocFunc, Pointer<NativeFunction<SdlCallocFunc>> callocFunc, Pointer<NativeFunction<SdlReallocFunc>> reallocFunc, Pointer<NativeFunction<SdlFreeFunc>> freeFunc) int
Replace SDL's memory allocation functions with a custom set
sdlSetModState(int modstate) → void
Set the current key modifier state for the keyboard.
sdlSetPaletteColors(Pointer<SdlPalette> palette, Pointer<SdlColor> colors, int firstcolor, int ncolors) int
Set a range of colors in a palette.
sdlSetPixelFormatPalette(Pointer<SdlPixelFormat> format, Pointer<SdlPalette> palette) int
Set the palette for a pixel format structure.
sdlSetPrimarySelectionText(String? text) int
Put UTF-8 text into the primary selection.
sdlSetRelativeMouseMode(bool enabled) int
Set relative mouse mode.
sdlSetRenderDrawBlendMode(Pointer<SdlRenderer> renderer, int blendMode) int
Set the blend mode used for drawing operations (Fill and Line).
sdlSetRenderDrawColor(Pointer<SdlRenderer> renderer, int r, int g, int b, int a) int
Set the color used for drawing operations (Rect, Line and Clear).
sdlSetRenderTarget(Pointer<SdlRenderer> renderer, Pointer<SdlTexture> texture) int
Set a texture as the current rendering target.
sdlSetSurfaceAlphaMod(Pointer<SdlSurface> surface, int alpha) int
Set an additional alpha value used in blit operations.
sdlSetSurfaceBlendMode(Pointer<SdlSurface> surface, int blendMode) int
Set the blend mode used for blit operations.
sdlSetSurfaceColorMod(Pointer<SdlSurface> surface, int r, int g, int b) int
Set an additional color value multiplied into blit operations.
sdlSetSurfacePalette(Pointer<SdlSurface> surface, Pointer<SdlPalette> palette) int
Set the palette used by a surface.
sdlSetSurfaceRle(Pointer<SdlSurface> surface, int flag) int
Set the RLE acceleration hint for a surface.
sdlSetTextInputRect(Pointer<SdlRect> rect) → void
Set the rectangle used to type Unicode text inputs. Native input methods will place a window with word suggestions near it, without covering the text being inputted.
sdlSetTextureAlphaMod(Pointer<SdlTexture> texture, int alpha) int
Set an additional alpha value multiplied into render copy operations.
sdlSetTextureBlendMode(Pointer<SdlTexture> texture, int blendMode) int
Set the blend mode for a texture, used by SDL_RenderCopy().
sdlSetTextureColorMod(Pointer<SdlTexture> texture, int r, int g, int b) int
Set an additional color value multiplied into render copy operations.
sdlSetTextureScaleMode(Pointer<SdlTexture> texture, int scaleMode) int
Set the scale mode used for texture scale operations.
sdlSetTextureUserData(Pointer<SdlTexture> texture, Pointer<NativeType> userdata) int
Associate a user-specified pointer with a texture.
sdlSetThreadPriority(int priority) int
Set the priority for the current thread.
sdlSetWindowAlwaysOnTop(Pointer<SdlWindow> window, bool onTop) → void
Set the window to always be above the others.
sdlSetWindowBordered(Pointer<SdlWindow> window, bool bordered) → void
Set the border state of a window.
sdlSetWindowBrightness(Pointer<SdlWindow> window, double brightness) int
Set the brightness (gamma multiplier) for a given window's display.
sdlSetWindowData(Pointer<SdlWindow> window, String? name, Pointer<NativeType> userdata) Pointer<NativeType>
Associate an arbitrary named pointer with a window.
sdlSetWindowDisplayMode(Pointer<SdlWindow> window, Pointer<SdlDisplayMode> mode) int
Set the display mode to use when a window is visible at fullscreen.
sdlSetWindowFullscreen(Pointer<SdlWindow> window, int flags) int
Set a window's fullscreen state.
sdlSetWindowGammaRamp(Pointer<SdlWindow> window, Pointer<Uint16> red, Pointer<Uint16> green, Pointer<Uint16> blue) int
Set the gamma ramp for the display that owns a given window.
sdlSetWindowGrab(Pointer<SdlWindow> window, bool grabbed) → void
Set a window's input grab mode.
sdlSetWindowHitTest(Pointer<SdlWindow> window, Pointer<NativeFunction<SdlHitTest>> callback, Pointer<NativeType> callbackData) int
Provide a callback that decides if a window region has special properties.
sdlSetWindowIcon(Pointer<SdlWindow> window, Pointer<SdlSurface> icon) → void
Set the icon for a window.
sdlSetWindowInputFocus(Pointer<SdlWindow> window) int
Explicitly set input focus to the window.
sdlSetWindowKeyboardGrab(Pointer<SdlWindow> window, bool grabbed) → void
Set a window's keyboard grab mode.
sdlSetWindowMaximumSize(Pointer<SdlWindow> window, int maxW, int maxH) → void
Set the maximum size of a window's client area.
sdlSetWindowMinimumSize(Pointer<SdlWindow> window, int minW, int minH) → void
Set the minimum size of a window's client area.
sdlSetWindowModalFor(Pointer<SdlWindow> modalWindow, Pointer<SdlWindow> parentWindow) int
Set the window as a modal for another window.
sdlSetWindowMouseGrab(Pointer<SdlWindow> window, bool grabbed) → void
Set a window's mouse grab mode.
sdlSetWindowMouseRect(Pointer<SdlWindow> window, Pointer<SdlRect> rect) int
Confines the cursor to the specified area of a window.
sdlSetWindowOpacity(Pointer<SdlWindow> window, double opacity) int
Set the opacity for a window.
sdlSetWindowPosition(Pointer<SdlWindow> window, int x, int y) → void
Set the position of a window.
sdlSetWindowResizable(Pointer<SdlWindow> window, bool resizable) → void
Set the user-resizable state of a window.
sdlSetWindowShape(Pointer<SdlWindow> window, Pointer<SdlSurface> shape, Pointer<SdlWindowShapeMode> shapeMode) int
Set the shape and parameters of a shaped window.
sdlSetWindowSize(Pointer<SdlWindow> window, int w, int h) → void
Set the size of a window's client area.
sdlSetWindowsMessageHook(Pointer<NativeFunction<SdlWindowsMessageHook>> callback, Pointer<NativeType> userdata) → void
Set a callback for every Windows message, run before TranslateMessage().
sdlSetWindowTitle(Pointer<SdlWindow> window, String? title) → void
Set the title of a window.
sdlSetYuvConversionMode(int mode) → void
Set the YUV conversion mode
sdlShowCursor(int toggle) int
Toggle whether or not the cursor is shown.
sdlShowMessageBox(Pointer<SdlMessageBoxData> messageboxdata, Pointer<Int32> buttonid) int
Create a modal message box.
sdlShowSimpleMessageBox(int flags, String? title, String? message, Pointer<SdlWindow> window) int
Display a simple modal message box.
sdlShowWindow(Pointer<SdlWindow> window) → void
Show a window.
sdlSimdAlloc(int len) Pointer<NativeType>
Allocate memory in a SIMD-friendly way.
sdlSimdFree(Pointer<NativeType> ptr) → void
Deallocate memory obtained from SDL_SIMDAlloc
sdlSimdGetAlignment() int
Report the alignment this system needs for SIMD allocations.
sdlSimdRealloc(Pointer<NativeType> mem, int len) Pointer<NativeType>
Reallocate memory obtained from SDL_SIMDAlloc
sdlSin(double x) double
extern DECLSPEC double SDLCALL SDL_sin(double x)
sdlSinf(double x) double
extern DECLSPEC float SDLCALL SDL_sinf(float x)
sdlSnprintf(Pointer<NativeType> arg0, int maxlen, String? fmt, Pointer<NativeType> arg3) int
extern DECLSPEC int SDLCALL SDL_snprintf(SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt, ... ) SDL_PRINTF_VARARG_FUNC(3)
sdlSoftStretch(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) int
Perform a fast, low quality, stretch blit between two surfaces of the same format.
sdlSoftStretchLinear(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) int
Perform bilinear scaling between two surfaces of the same format, 32BPP.
sdlSqrt(double x) double
extern DECLSPEC double SDLCALL SDL_sqrt(double x)
sdlSqrtf(double x) double
extern DECLSPEC float SDLCALL SDL_sqrtf(float x)
sdlSscanf(String? text, String? fmt, Pointer<NativeType> arg2) int
extern DECLSPEC int SDLCALL SDL_sscanf(const char *text, SDL_SCANF_FORMAT_STRING const char *fmt, ...) SDL_SCANF_VARARG_FUNC(2)
sdlStartTextInput() → void
Start accepting Unicode text input events.
sdlStopTextInput() → void
Stop receiving any text input events.
sdlStrcasecmp(String? str1, String? str2) int
extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2)
sdlStrcasestr(String? haystack, String? needle) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strcasestr(const char *haystack, const char *needle)
sdlStrchr(String? str, int c) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strchr(const char *str, int c)
sdlStrcmp(String? str1, String? str2) int
extern DECLSPEC int SDLCALL SDL_strcmp(const char *str1, const char *str2)
sdlStrdup(String? str) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strdup(const char *str)
sdlStrlcat(Pointer<NativeType> arg0, String? src, int maxlen) int
extern DECLSPEC size_t SDLCALL SDL_strlcat(SDL_INOUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen)
sdlStrlcpy(Pointer<NativeType> arg0, String? src, int maxlen) int
extern DECLSPEC size_t SDLCALL SDL_strlcpy(SDL_OUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen)
sdlStrlen(String? str) int
extern DECLSPEC size_t SDLCALL SDL_strlen(const char *str)
sdlStrlwr(Pointer<Int8> str) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strlwr(char *str)
sdlStrncasecmp(String? str1, String? str2, int len) int
extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t len)
sdlStrncmp(String? str1, String? str2, int maxlen) int
extern DECLSPEC int SDLCALL SDL_strncmp(const char *str1, const char *str2, size_t maxlen)
sdlStrrchr(String? str, int c) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strrchr(const char *str, int c)
sdlStrrev(Pointer<Int8> str) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strrev(char *str)
sdlStrstr(String? haystack, String? needle) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strstr(const char *haystack, const char *needle)
sdlStrtod(String? str, Pointer<Pointer<Int8>> endp) double
extern DECLSPEC double SDLCALL SDL_strtod(const char *str, char **endp)
sdlStrtokr(Pointer<Int8> s1, String? s2, Pointer<Pointer<Int8>> saveptr) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strtokr(char *s1, const char *s2, char **saveptr)
sdlStrtol(String? str, Pointer<Pointer<Int8>> endp, int base) int
extern DECLSPEC long SDLCALL SDL_strtol(const char *str, char **endp, int base)
sdlStrtoll(String? str, Pointer<Pointer<Int8>> endp, int base) int
extern DECLSPEC Sint64 SDLCALL SDL_strtoll(const char *str, char **endp, int base)
sdlStrtoul(String? str, Pointer<Pointer<Int8>> endp, int base) int
extern DECLSPEC unsigned long SDLCALL SDL_strtoul(const char *str, char **endp, int base)
sdlStrtoull(String? str, Pointer<Pointer<Int8>> endp, int base) int
extern DECLSPEC Uint64 SDLCALL SDL_strtoull(const char *str, char **endp, int base)
sdlStrupr(Pointer<Int8> str) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_strupr(char *str)
sdlTan(double x) double
extern DECLSPEC double SDLCALL SDL_tan(double x)
sdlTanf(double x) double
extern DECLSPEC float SDLCALL SDL_tanf(float x)
sdlThreadId() int
Get the thread identifier for the current thread.
sdlTlsCleanup() → void
Cleanup all TLS data for this thread.
sdlTlsCreate() int
Create a piece of thread-local storage.
sdlTlsGet(int id) Pointer<NativeType>
Get the current thread's value associated with a thread local storage ID.
sdlTlsSet(int id, Pointer<NativeType> value, Pointer<NativeType> deor) int
Set the current thread's value associated with a thread local storage ID.
sdlTolower(int x) int
extern DECLSPEC int SDLCALL SDL_tolower(int x)
sdlToupper(int x) int
extern DECLSPEC int SDLCALL SDL_toupper(int x)
sdlTrunc(double x) double
extern DECLSPEC double SDLCALL SDL_trunc(double x)
sdlTruncf(double x) double
extern DECLSPEC float SDLCALL SDL_truncf(float x)
sdlTryLockMutex(Pointer<NativeType> arg0, Pointer<NativeType> arg1) int
Try to lock a mutex without blocking.
sdlTtfVersion(Pointer<SdlVersion> x) → void
const SDL_TTF_VERSION = (X) \{ \ (X)->major = SDL_TTF_MAJOR_VERSION; \ (X)->minor = SDL_TTF_MINOR_VERSION; \ (X)->patch = SDL_TTF_PATCHLEVEL; \};
sdlTtfVersionAtleast(int x, int y, int z) bool
const SDL_TTF_VERSION_ATLEAST = (X, Y, Z) \ (SDL_TTF_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z));
sdlUiKitRunApp(int argc, Pointer<Pointer<Int8>> argv, Pointer<NativeFunction<SdlMainFunc>> mainFunction) int
Initializes and launches an SDL application.
sdlUitoa(int value, Pointer<Int8> str, int radix) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_uitoa(unsigned int value, char *str, int radix)
sdlUlltoa(int value, Pointer<Int8> str, int radix) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_ulltoa(Uint64 value, char *str, int radix)
sdlUltoa(int value, Pointer<Int8> str, int radix) Pointer<Int8>
extern DECLSPEC char *SDLCALL SDL_ultoa(unsigned long value, char *str, int radix)
sdlUnionFRect(Pointer<SdlFRect> a, Pointer<SdlFRect> b, Pointer<SdlFRect> result) → void
Calculate the union of two rectangles with float precision.
sdlUnionRect(Pointer<SdlRect> a, Pointer<SdlRect> b, Pointer<SdlRect> result) → void
Calculate the union of two rectangles.
sdlUnloadObject(Pointer<NativeType> handle) → void
Unload a shared object from memory.
sdlUnlockAudio() → void
This function is a legacy means of unlocking the audio device.
sdlUnlockAudioDevice(int dev) → void
Use this function to unlock the audio callback function for a specified device.
sdlUnlockJoysticks(Pointer<NativeType> arg0) → void
Unlocking for multi-threaded access to the joystick API
sdlUnlockMutex(Pointer<NativeType> arg0) int
Unlock the mutex.
sdlUnlockSensors() → void
extern DECLSPEC void SDLCALL SDL_UnlockSensors(void)
sdlUnlockSurface(Pointer<SdlSurface> surface) → void
Release a surface after directly accessing the pixels.
sdlUnlockTexture(Pointer<SdlTexture> texture) → void
Unlock a texture, uploading the changes to video memory, if needed.
sdlUnregisterApp() → void
Deregister the win32 window class from an SDL_RegisterApp call.
sdlUpdateNvTexture(Pointer<SdlTexture> texture, Pointer<SdlRect> rect, Pointer<Uint8> yplane, int ypitch, Pointer<Uint8> uVplane, int uVpitch) int
Update a rectangle within a planar NV12 or NV21 texture with new pixels.
sdlUpdateTexture(Pointer<SdlTexture> texture, Pointer<SdlRect> rect, Pointer<NativeType> pixels, int pitch) int
Update the given texture rectangle with new pixel data.
sdlUpdateWindowSurface(Pointer<SdlWindow> window) int
Copy the window surface to the screen.
sdlUpdateWindowSurfaceRects(Pointer<SdlWindow> window, Pointer<SdlRect> rects, int numrects) int
Copy areas of the window surface to the screen.
sdlUpdateYuvTexture(Pointer<SdlTexture> texture, Pointer<SdlRect> rect, Pointer<Uint8> yplane, int ypitch, Pointer<Uint8> uplane, int upitch, Pointer<Uint8> vplane, int vpitch) int
Update a rectangle within a planar YV12 or IYUV texture with new pixel data.
sdlUpperBlit(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) int
Perform a fast blit from the source surface to the destination surface.
sdlUpperBlitScaled(Pointer<SdlSurface> src, Pointer<SdlRect> srcrect, Pointer<SdlSurface> dst, Pointer<SdlRect> dstrect) int
Perform a scaled surface copy to a destination surface.
sdlUtf8strlcpy(Pointer<NativeType> arg0, String? src, int dstBytes) int
extern DECLSPEC size_t SDLCALL SDL_utf8strlcpy(SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes)
sdlUtf8strlen(String? str) int
extern DECLSPEC size_t SDLCALL SDL_utf8strlen(const char *str)
sdlUtf8strnlen(String? str, int bytes) int
extern DECLSPEC size_t SDLCALL SDL_utf8strnlen(const char *str, size_t bytes)
sdlVasprintf(Pointer<Pointer<Int8>> strp, String? fmt, Pointer<NativeType> arg2) int
extern DECLSPEC int SDLCALL SDL_vasprintf(char **strp, SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) SDL_PRINTF_VARARG_FUNCV(2)
sdlVersion(Pointer<SdlVersion> x) → void
const SDL_VERSION = (x) \{ \ (x)->major = SDL_MAJOR_VERSION; \ (x)->minor = SDL_MINOR_VERSION; \ (x)->patch = SDL_PATCHLEVEL; \};
sdlVersionAtleast(int x, int y, int z) bool
const SDL_VERSION_ATLEAST = (X, Y, Z) \ (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z));
sdlVersionnum(int x, int y, int z) int
const SDL_VERSIONNUM = (X, Y, Z) \ ((X)*1000 + (Y)*100 + (Z));
sdlVideoInit(String? driverName) int
Initialize the video subsystem, optionally specifying a video driver.
sdlVideoQuit() → void
Shut down the video subsystem, if initialized with SDL_VideoInit().
sdlVsnprintf(Pointer<NativeType> arg0, int maxlen, String? fmt, Pointer<NativeType> arg3) int
extern DECLSPEC int SDLCALL SDL_vsnprintf(SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) SDL_PRINTF_VARARG_FUNCV(3)
sdlVsscanf(String? text, String? fmt, Pointer<NativeType> arg2) int
extern DECLSPEC int SDLCALL SDL_vsscanf(const char *text, SDL_SCANF_FORMAT_STRING const char *fmt, va_list ap) SDL_SCANF_VARARG_FUNCV(2)
sdlVulkanCreateSurface(Pointer<SdlWindow> window, Pointer<NativeType> instance, Pointer<NativeType> surface) bool
Create a Vulkan rendering surface for a window.
sdlVulkanGetDrawableSize(Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h) → void
Get the size of the window's underlying drawable dimensions in pixels.
sdlVulkanGetInstanceExtensions(Pointer<SdlWindow> window, Pointer<Uint32> pCount, Pointer<Pointer<Int8>> pNames) bool
Get the names of the Vulkan instance extensions needed to create a surface with SDL_Vulkan_CreateSurface.
sdlVulkanGetVkGetInstanceProcAddr() Pointer<NativeType>
Get the address of the vkGetInstanceProcAddr function.
sdlVulkanLoadLibrary(String? path) int
Dynamically load the Vulkan loader library.
sdlVulkanUnloadLibrary() → void
Unload the Vulkan library previously loaded by SDL_Vulkan_LoadLibrary()
sdlWaitEvent(Pointer<SdlEvent> event) int
Wait indefinitely for the next available event.
sdlWaitEventTimeout(Pointer<SdlEvent> event, int timeout) int
Wait until the specified timeout (in milliseconds) for the next available event.
sdlWaitThread(Pointer<SdlThread> thread, Pointer<Int32> status) → void
Wait for a thread to finish.
sdlWarpMouseGlobal(int x, int y) int
Move the mouse to the given position in global screen space.
sdlWarpMouseInWindow(Pointer<SdlWindow> window, int x, int y) → void
Move the mouse cursor to the given position within the window.
sdlWasInit(int flags) int
Get a mask of the specified subsystems which are currently initialized.
sdlWcscasecmp(Pointer<Int16> str1, Pointer<Int16> str2) int
extern DECLSPEC int SDLCALL SDL_wcscasecmp(const wchar_t *str1, const wchar_t *str2)
sdlWcscmp(Pointer<Int16> str1, Pointer<Int16> str2) int
extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2)
sdlWcsdup(Pointer<Int16> wstr) Pointer<Int16>
extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr)
sdlWcslcat(Pointer<NativeType> arg0, Pointer<Int16> src, int maxlen) int
extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen)
sdlWcslcpy(Pointer<NativeType> arg0, Pointer<Int16> src, int maxlen) int
extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen)
sdlWcslen(Pointer<Int16> wstr) int
extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr)
sdlWcsncasecmp(Pointer<Int16> str1, Pointer<Int16> str2, int len) int
extern DECLSPEC int SDLCALL SDL_wcsncasecmp(const wchar_t *str1, const wchar_t *str2, size_t len)
sdlWcsncmp(Pointer<Int16> str1, Pointer<Int16> str2, int maxlen) int
extern DECLSPEC int SDLCALL SDL_wcsncmp(const wchar_t *str1, const wchar_t *str2, size_t maxlen)
sdlWcsstr(Pointer<Int16> haystack, Pointer<Int16> needle) Pointer<Int16>
extern DECLSPEC wchar_t *SDLCALL SDL_wcsstr(const wchar_t *haystack, const wchar_t *needle)
sdlWindowposCenteredDisplay(int x) int
const SDL_WINDOWPOS_CENTERED_DISPLAY = (X) (SDL_WINDOWPOS_CENTERED_MASK|(X));
sdlWindowposIscentered(int x) bool
const SDL_WINDOWPOS_ISCENTERED = (X) \ (((X)&0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK);
sdlWindowposIsundefined(int x) bool
const SDL_WINDOWPOS_ISUNDEFINED = (X) \ (((X)&0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK);
sdlWindowposUndefinedDisplay(int x) int
SDL_WINDOWPOS_UNDEFINED_DISPLAY = (X) (SDL_WINDOWPOS_UNDEFINED_MASK|(X));
sdlWinRtGetDeviceFamily() int
Detects the device family of WinRT platform at runtime.
sdlWinRtGetFsPathUnicode(int pathType) Pointer<Int16>
Retrieve a WinRT defined path on the local file system.
sdlWinRtGetFsPathUtf8(int pathType) String?
Retrieve a WinRT defined path on the local file system.
sdlWinRtRunApp(Pointer<NativeFunction<SdlMainFunc>> mainFunction, Pointer<NativeType> reserved) int
Initialize and launch an SDL/WinRT application.
sdlWriteBe16(Pointer<SdlRWops> dst, int value) int
Use this function to write 16 bits in native format to a SDL_RWops as big-endian data.
sdlWriteBe32(Pointer<SdlRWops> dst, int value) int
Use this function to write 32 bits in native format to a SDL_RWops as big-endian data.
sdlWriteBe64(Pointer<SdlRWops> dst, int value) int
Use this function to write 64 bits in native format to a SDL_RWops as big-endian data.
sdlWriteLe16(Pointer<SdlRWops> dst, int value) int
Use this function to write 16 bits in native format to a SDL_RWops as little-endian data.
sdlWriteLe32(Pointer<SdlRWops> dst, int value) int
Use this function to write 32 bits in native format to a SDL_RWops as little-endian data.
sdlWriteLe64(Pointer<SdlRWops> dst, int value) int
Use this function to write 64 bits in native format to a SDL_RWops as little-endian data.
sdlWriteU8(Pointer<SdlRWops> dst, int value) int
Use this function to write a byte to an SDL_RWops.
ttfByteSwappedUnicode(bool swapped) → void
Tell SDL_ttf whether UNICODE text is generally byteswapped.
ttfCloseFont(Pointer<TtfFont> font) → void
Dispose of a previously-created font.
ttfFontAscent(Pointer<TtfFont> font) int
Query the offset from the baseline to the top of a font.
ttfFontDescent(Pointer<TtfFont> font) int
Query the offset from the baseline to the bottom of a font.
ttfFontFaceFamilyName(Pointer<TtfFont> font) String?
Query a font's family name.
ttfFontFaceIsFixedWidth(Pointer<TtfFont> font) int
Query whether a font is fixed-width.
ttfFontFaces(Pointer<TtfFont> font) int
Query the number of faces of a font.
ttfFontFaceStyleName(Pointer<TtfFont> font) String?
Query a font's style name.
ttfFontHeight(Pointer<TtfFont> font) int
Query the total height of a font.
ttfFontLineSkip(Pointer<TtfFont> font) int
Query the recommended spacing between lines of text for a font.
ttfGetError() String?
const TTF_GetError = SDL_GetError;
ttfGetFontHinting(Pointer<TtfFont> font) int
Query a font's current FreeType hinter setting.
ttfGetFontKerning(Pointer<TtfFont> font) int
Query whether or not kerning is allowed for a font.
ttfGetFontKerningSizeGlyphs(Pointer<TtfFont> font, int previousCh, int ch) int
Query the kerning size of two 16-bit glyphs.
ttfGetFontKerningSizeGlyphs32(Pointer<TtfFont> font, int previousCh, int ch) int
Query the kerning size of two 32-bit glyphs.
ttfGetFontOutline(Pointer<TtfFont> font) int
Query a font's current outline.
ttfGetFontSdf(Pointer<TtfFont> font) bool
Query whether Signed Distance Field rendering is enabled for a font.
ttfGetFontStyle(Pointer<TtfFont> font) int
Query a font's current style.
ttfGetFontWrappedAlign(Pointer<TtfFont> font) int
Query a font's current wrap alignment option.
ttfGetFreeTypeVersion(Pointer<Int32> major, Pointer<Int32> minor, Pointer<Int32> patch) → void
Query the version of the FreeType library in use.
ttfGetHarfBuzzVersion(Pointer<Int32> major, Pointer<Int32> minor, Pointer<Int32> patch) → void
Query the version of the HarfBuzz library in use.
ttfGlyphIsProvided(Pointer<TtfFont> font, int ch) int
Check whether a glyph is provided by the font for a 16-bit codepoint.
ttfGlyphIsProvided32(Pointer<TtfFont> font, int ch) int
Check whether a glyph is provided by the font for a 32-bit codepoint.
ttfGlyphMetrics(Pointer<TtfFont> font, int ch, Pointer<Int32> minx, Pointer<Int32> maxx, Pointer<Int32> miny, Pointer<Int32> maxy, Pointer<Int32> advance) int
Query the metrics (dimensions) of a font's 16-bit glyph.
ttfGlyphMetrics32(Pointer<TtfFont> font, int ch, Pointer<Int32> minx, Pointer<Int32> maxx, Pointer<Int32> miny, Pointer<Int32> maxy, Pointer<Int32> advance) int
Query the metrics (dimensions) of a font's 32-bit glyph.
ttfInit() int
Initialize SDL_ttf.
ttfLinkedVersion() Pointer<SdlVersion>
Query the version of SDL_ttf that the program is linked against.
ttfMeasureText(Pointer<TtfFont> font, String? text, int measureWidth, Pointer<Int32> extent, Pointer<Int32> count) int
Calculate how much of a Latin1 string will fit in a given width.
ttfMeasureUnicode(Pointer<TtfFont> font, Pointer<Uint16> text, int measureWidth, Pointer<Int32> extent, Pointer<Int32> count) int
Calculate how much of a UCS-2 string will fit in a given width.
ttfMeasureUtf8(Pointer<TtfFont> font, String? text, int measureWidth, Pointer<Int32> extent, Pointer<Int32> count) int
Calculate how much of a UTF-8 string will fit in a given width.
ttfOpenFont(String? file, int ptsize) Pointer<TtfFont>
Create a font from a file, using a specified point size.
ttfOpenFontDpi(String? file, int ptsize, int hdpi, int vdpi) Pointer<TtfFont>
Create a font from a file, using target resolutions (in DPI).
ttfOpenFontDpirw(Pointer<SdlRWops> src, int freesrc, int ptsize, int hdpi, int vdpi) Pointer<TtfFont>
Opens a font from an SDL_RWops with target resolutions (in DPI).
ttfOpenFontIndex(String? file, int ptsize, int index) Pointer<TtfFont>
Create a font from a file, using a specified face index.
ttfOpenFontIndexDpi(String? file, int ptsize, int index, int hdpi, int vdpi) Pointer<TtfFont>
Create a font from a file, using target resolutions (in DPI).
ttfOpenFontIndexDpirw(Pointer<SdlRWops> src, int freesrc, int ptsize, int index, int hdpi, int vdpi) Pointer<TtfFont>
Opens a font from an SDL_RWops with target resolutions (in DPI).
ttfOpenFontIndexRw(Pointer<SdlRWops> src, int freesrc, int ptsize, int index) Pointer<TtfFont>
Create a font from an SDL_RWops, using a specified face index.
ttfOpenFontRw(Pointer<SdlRWops> src, int freesrc, int ptsize) Pointer<TtfFont>
Create a font from an SDL_RWops, using a specified point size.
ttfQuit() → void
Deinitialize SDL_ttf.
ttfRenderGlyph32Blended(Pointer<TtfFont> font, int ch, SdlColor fg) Pointer<SdlSurface>
Render a single 32-bit glyph at high quality to a new ARGB surface.
ttfRenderGlyph32Lcd(Pointer<TtfFont> font, int ch, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render a single 32-bit glyph at LCD subpixel quality to a new ARGB surface.
ttfRenderGlyph32Shaded(Pointer<TtfFont> font, int ch, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render a single 32-bit glyph at high quality to a new 8-bit surface.
ttfRenderGlyph32Solid(Pointer<TtfFont> font, int ch, SdlColor fg) Pointer<SdlSurface>
Render a single 32-bit glyph at fast quality to a new 8-bit surface.
ttfRenderGlyphBlended(Pointer<TtfFont> font, int ch, SdlColor fg) Pointer<SdlSurface>
Render a single 16-bit glyph at high quality to a new ARGB surface.
ttfRenderGlyphLcd(Pointer<TtfFont> font, int ch, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render a single 16-bit glyph at LCD subpixel quality to a new ARGB surface.
ttfRenderGlyphShaded(Pointer<TtfFont> font, int ch, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render a single 16-bit glyph at high quality to a new 8-bit surface.
ttfRenderGlyphSolid(Pointer<TtfFont> font, int ch, SdlColor fg) Pointer<SdlSurface>
Render a single 16-bit glyph at fast quality to a new 8-bit surface.
ttfRenderText(Pointer<TtfFont> font, String text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
const TTF_RenderText = (font, text, fg, bg) \ TTF_RenderText_Shaded(font, text, fg, bg);
ttfRenderTextBlended(Pointer<TtfFont> font, String? text, SdlColor fg) Pointer<SdlSurface>
Render Latin1 text at high quality to a new ARGB surface.
ttfRenderTextBlendedWrapped(Pointer<TtfFont> font, String? text, SdlColor fg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped Latin1 text at high quality to a new ARGB surface.
ttfRenderTextLcd(Pointer<TtfFont> font, String? text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render Latin1 text at LCD subpixel quality to a new ARGB surface.
ttfRenderTextLcdWrapped(Pointer<TtfFont> font, String? text, SdlColor fg, SdlColor bg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped Latin1 text at LCD subpixel quality to a new ARGB surface.
ttfRenderTextShaded(Pointer<TtfFont> font, String? text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render Latin1 text at high quality to a new 8-bit surface.
ttfRenderTextShadedWrapped(Pointer<TtfFont> font, String? text, SdlColor fg, SdlColor bg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped Latin1 text at high quality to a new 8-bit surface.
ttfRenderTextSolid(Pointer<TtfFont> font, String? text, SdlColor fg) Pointer<SdlSurface>
Render Latin1 text at fast quality to a new 8-bit surface.
ttfRenderTextSolidWrapped(Pointer<TtfFont> font, String? text, SdlColor fg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped Latin1 text at fast quality to a new 8-bit surface.
ttfRenderUnicode(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
const TTF_RenderUNICODE = (font, text, fg, bg) \ TTF_RenderUNICODE_Shaded(font, text, fg, bg);
ttfRenderUnicodeBlended(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg) Pointer<SdlSurface>
Render UCS-2 text at high quality to a new ARGB surface.
ttfRenderUnicodeBlendedWrapped(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped UCS-2 text at high quality to a new ARGB surface.
ttfRenderUnicodeLcd(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render UCS-2 text at LCD subpixel quality to a new ARGB surface.
ttfRenderUnicodeLcdWrapped(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg, SdlColor bg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped UCS-2 text at LCD subpixel quality to a new ARGB surface.
ttfRenderUnicodeShaded(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render UCS-2 text at high quality to a new 8-bit surface.
ttfRenderUnicodeShadedWrapped(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg, SdlColor bg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped UCS-2 text at high quality to a new 8-bit surface.
ttfRenderUnicodeSolid(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg) Pointer<SdlSurface>
Render UCS-2 text at fast quality to a new 8-bit surface.
ttfRenderUnicodeSolidWrapped(Pointer<TtfFont> font, Pointer<Uint16> text, SdlColor fg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped UCS-2 text at fast quality to a new 8-bit surface.
ttfRenderUtf8(Pointer<TtfFont> font, String text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
const TTF_RenderUTF8 = (font, text, fg, bg) \ TTF_RenderUTF8_Shaded(font, text, fg, bg);
ttfRenderUtf8Blended(Pointer<TtfFont> font, String? text, SdlColor fg) Pointer<SdlSurface>
Render UTF-8 text at high quality to a new ARGB surface.
ttfRenderUtf8BlendedWrapped(Pointer<TtfFont> font, String? text, SdlColor fg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped UTF-8 text at high quality to a new ARGB surface.
ttfRenderUtf8Lcd(Pointer<TtfFont> font, String? text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render UTF-8 text at LCD subpixel quality to a new ARGB surface.
ttfRenderUtf8LcdWrapped(Pointer<TtfFont> font, String? text, SdlColor fg, SdlColor bg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped UTF-8 text at LCD subpixel quality to a new ARGB surface.
ttfRenderUtf8Shaded(Pointer<TtfFont> font, String? text, SdlColor fg, SdlColor bg) Pointer<SdlSurface>
Render UTF-8 text at high quality to a new 8-bit surface.
ttfRenderUtf8ShadedWrapped(Pointer<TtfFont> font, String? text, SdlColor fg, SdlColor bg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped UTF-8 text at high quality to a new 8-bit surface.
ttfRenderUtf8Solid(Pointer<TtfFont> font, String? text, SdlColor fg) Pointer<SdlSurface>
Render UTF-8 text at fast quality to a new 8-bit surface.
ttfRenderUtf8SolidWrapped(Pointer<TtfFont> font, String? text, SdlColor fg, int wrapLength) Pointer<SdlSurface>
Render word-wrapped UTF-8 text at fast quality to a new 8-bit surface.
ttfSetError(String fmt, Pointer<NativeType> arg1) int
const TTF_SetError = SDL_SetError;
ttfSetFontDirection(Pointer<TtfFont> font, int direction) int
Set direction to be used for text shaping by a font.
ttfSetFontHinting(Pointer<TtfFont> font, int hinting) → void
Set a font's current hinter setting.
ttfSetFontKerning(Pointer<TtfFont> font, int allowed) → void
Set if kerning is allowed for a font.
ttfSetFontOutline(Pointer<TtfFont> font, int outline) → void
Set a font's current outline.
ttfSetFontScriptName(Pointer<TtfFont> font, String? script) int
Set script to be used for text shaping by a font.
ttfSetFontSdf(Pointer<TtfFont> font, bool onOff) int
Enable Signed Distance Field rendering for a font.
ttfSetFontSize(Pointer<TtfFont> font, int ptsize) int
Set a font's size dynamically.
ttfSetFontSizeDpi(Pointer<TtfFont> font, int ptsize, int hdpi, int vdpi) int
Set font size dynamically with target resolutions (in DPI).
ttfSetFontStyle(Pointer<TtfFont> font, int style) → void
Set a font's current style.
ttfSetFontWrappedAlign(Pointer<TtfFont> font, int align) → void
Set a font's current wrap alignment option.
ttfSizeText(Pointer<TtfFont> font, String? text, Pointer<Int32> w, Pointer<Int32> h) int
Calculate the dimensions of a rendered string of Latin1 text.
ttfSizeUnicode(Pointer<TtfFont> font, Pointer<Uint16> text, Pointer<Int32> w, Pointer<Int32> h) int
Calculate the dimensions of a rendered string of UCS-2 text.
ttfSizeUtf8(Pointer<TtfFont> font, String? text, Pointer<Int32> w, Pointer<Int32> h) int
Calculate the dimensions of a rendered string of UTF-8 text.
ttfVersion(Pointer<SdlVersion> x) → void
const TTF_VERSION = (X) SDL_TTF_VERSION(X);
ttfWasInit() int
Check if SDL_ttf is initialized.

Typedefs

MixEffectDoneT = Void Function(Int32, Pointer<NativeType>)
MixEffectDoneTDart = void Function(int, Pointer<NativeType>)
MixEffectFuncT = Void Function(Int32, Pointer<NativeType>, Int32, Pointer<NativeType>)
MixEffectFuncTDart = void Function(int, Pointer<NativeType>, int, Pointer<NativeType>)
PfnSdlCurrentBeginThread = Pointer<NativeType> Function(Pointer<NativeType>)
PfnSdlCurrentBeginThreadDart = Pointer<NativeType> Function(Pointer<NativeType>)
PfnSdlCurrentEndThread = Void Function(Pointer<NativeType>)
PfnSdlCurrentEndThreadDart = void Function(Pointer<NativeType>)
SdlAssertionHandler = Int32 Function(Pointer<SdlAssertData>, Pointer<NativeType>)
SdlAssertionHandlerDart = int Function(Pointer<SdlAssertData>, Pointer<NativeType>)
SdlAudioCallback = Void Function(Pointer<NativeType>, Pointer<Uint8>, Int32)
SdlAudioCallbackDart = void Function(Pointer<NativeType>, Pointer<Uint8>, int)
SdlAudioFilter = Void Function(Pointer<SdlAudioCvt>, Uint16)
SdlAudioFilterDart = void Function(Pointer<SdlAudioCvt>, int)
SdlBlit = Int32 Function(Pointer<SdlSurface>, Pointer<SdlRect>, Pointer<SdlSurface>, Pointer<SdlRect>)
SdlBlitDart = int Function(Pointer<SdlSurface>, Pointer<SdlRect>, Pointer<SdlSurface>, Pointer<SdlRect>)
SdlCallocFunc = Pointer<NativeType> Function(Uint32, Uint32)
SdlCallocFuncDart = Pointer<NativeType> Function(int, int)
SdlEventFilter = Int32 Function(Pointer<NativeType>, Pointer<SdlEvent>)
SdlEventFilterDart = int Function(Pointer<NativeType>, Pointer<SdlEvent>)
SdlFreeFunc = Void Function(Pointer<NativeType>)
SdlFreeFuncDart = void Function(Pointer<NativeType>)
SDLglproc = Pointer<NativeFunction<Void Function()>>
SDLglprocDart = void Function()
SdlHintCallback = Void Function(Pointer<NativeType>, Pointer<Utf8>, Pointer<Utf8>, Pointer<Utf8>)
SdlHintCallbackDart = void Function(Pointer<NativeType>, Pointer<Utf8>, Pointer<Utf8>, Pointer<Utf8>)
SdlHitTest = Int32 Function(Pointer<SdlWindow>, Pointer<SdlPoint>, Pointer<NativeType>)
SdlHitTestDart = int Function(Pointer<SdlWindow>, Pointer<SdlPoint>, Pointer<NativeType>)
SdlKernelMemoryBarrierFunc = Void Function()
SdlKernelMemoryBarrierFuncDart = void Function()
SdlLogOutputFunction = Void Function(Pointer<NativeType>, Int32, Int32, Pointer<Utf8>)
SdlLogOutputFunctionDart = void Function(Pointer<NativeType>, int, int, Pointer<Utf8>)
SdlMainFunc = Int32 Function(Int32, Pointer<Pointer<Int8>>)
SdlMainFuncDart = int Function(int, Pointer<Pointer<Int8>>)
SdlMallocFunc = Pointer<NativeType> Function(Uint32)
SdlMallocFuncDart = Pointer<NativeType> Function(int)
SdlReallocFunc = Pointer<NativeType> Function(Pointer<NativeType>, Uint32)
SdlReallocFuncDart = Pointer<NativeType> Function(Pointer<NativeType>, int)
SdlThreadFunction = Int32 Function(Pointer<NativeType>)
SdlThreadFunctionDart = int Function(Pointer<NativeType>)
SdlTimerCallback = Uint32 Function(Uint32, Pointer<NativeType>)
SdlTimerCallbackDart = int Function(int, Pointer<NativeType>)
SdlWindowsMessageHook = Void Function(Pointer<NativeType>, Pointer<NativeType>, Uint32, Uint64, Int64)
SdlWindowsMessageHookDart = void Function(Pointer<NativeType>, Pointer<NativeType>, int, int, int)