package vendor:sdl3
Index
Types (360)
- AppEvent_func
- AppInit_func
- AppIterate_func
- AppQuit_func
- AppResult
- ArrayOrder
- AssertData
- AssertState
- AssertionHandler
- AsyncIO
- AsyncIOOutcome
- AsyncIOQueue
- AsyncIOResult
- AsyncIOTaskType
- AtomicInt
- AtomicU32
- AudioDeviceEvent
- AudioDeviceID
- AudioFormat
- AudioPostmixCallback
- AudioSpec
- AudioStream
- AudioStreamCallback
- BitmapOrder
- BlendFactor
- BlendMode
- BlendModeFlag
- BlendOperation
- Camera
- CameraDeviceEvent
- CameraID
- CameraPosition
- CameraSpec
- Capitalization
- ChromaLocation
- CleanupPropertyCallback
- ClipboardCleanupCallback
- ClipboardDataCallback
- ClipboardEvent
- Color
- ColorPrimaries
- ColorRange
- ColorType
- Colorspace
- CommonEvent
- CompareCallback
- CompareCallback_r
- Cursor
- DateFormat
- DateTime
- DialogFileCallback
- DialogFileFilter
- DisplayEvent
- DisplayID
- DisplayMode
- DisplayModeData
- DisplayOrientation
- DropEvent
- EGLAttrib
- EGLAttribArrayCallback
- EGLConfig
- EGLDisplay
- EGLIntArrayCallback
- EGLSurface
- EGLint
- EnumerateDirectoryCallback
- EnumeratePropertiesCallback
- EnumerationResult
- Environment
- Event
- EventAction
- EventFilter
- EventType
- FColor
- FPoint
- FRect
- FileDialogType
- Finger
- FingerID
- FlashOperation
- FlipMode
- Folder
- FunctionPointer
- GLAttr
- GLContext
- GLContextFlag
- GLContextFlagBit
- GLContextReleaseFlag
- GLContextReleaseFlagBit
- GLContextResetNotification
- GLContextResetNotificationFlag
- GLContextState
- GLProfile
- GLProfileFlag
- GPUBlendFactor
- GPUBlendOp
- GPUBlitInfo
- GPUBlitRegion
- GPUBuffer
- GPUBufferBinding
- GPUBufferCreateInfo
- GPUBufferLocation
- GPUBufferRegion
- GPUBufferUsageFlag
- GPUBufferUsageFlags
- GPUColorComponentFlag
- GPUColorComponentFlags
- GPUColorTargetBlendState
- GPUColorTargetDescription
- GPUColorTargetInfo
- GPUCommandBuffer
- GPUCompareOp
- GPUComputePass
- GPUComputePipeline
- GPUComputePipelineCreateInfo
- GPUCopyPass
- GPUCubeMapFace
- GPUCullMode
- GPUDepthStencilState
- GPUDepthStencilTargetInfo
- GPUDevice
- GPUFence
- GPUFillMode
- GPUFilter
- GPUFrontFace
- GPUGraphicsPipeline
- GPUGraphicsPipelineCreateInfo
- GPUGraphicsPipelineTargetInfo
- GPUIndexElementSize
- GPUIndexedIndirectDrawCommand
- GPUIndirectDispatchCommand
- GPUIndirectDrawCommand
- GPULoadOp
- GPUMultisampleState
- GPUPresentMode
- GPUPrimitiveType
- GPURasterizerState
- GPURenderPass
- GPUSampleCount
- GPUSampler
- GPUSamplerAddressMode
- GPUSamplerCreateInfo
- GPUSamplerMipmapMode
- GPUShader
- GPUShaderCreateInfo
- GPUShaderFormat
- GPUShaderFormatFlag
- GPUShaderStage
- GPUStencilOp
- GPUStencilOpState
- GPUStorageBufferReadWriteBinding
- GPUStorageTextureReadWriteBinding
- GPUStoreOp
- GPUSwapchainComposition
- GPUTexture
- GPUTextureCreateInfo
- GPUTextureFormat
- GPUTextureLocation
- GPUTextureRegion
- GPUTextureSamplerBinding
- GPUTextureTransferInfo
- GPUTextureType
- GPUTextureUsageFlag
- GPUTextureUsageFlags
- GPUTransferBuffer
- GPUTransferBufferCreateInfo
- GPUTransferBufferLocation
- GPUTransferBufferUsage
- GPUVertexAttribute
- GPUVertexBufferDescription
- GPUVertexElementFormat
- GPUVertexInputRate
- GPUVertexInputState
- GPUViewport
- GUID
- Gamepad
- GamepadAxis
- GamepadAxisEvent
- GamepadBinding
- GamepadBindingType
- GamepadButton
- GamepadButtonEvent
- GamepadButtonLabel
- GamepadDeviceEvent
- GamepadSensorEvent
- GamepadTouchpadEvent
- GamepadType
- GlobFlag
- GlobFlags
- Haptic
- HapticCondition
- HapticConstant
- HapticCustom
- HapticDirection
- HapticDirectionType
- HapticEffect
- HapticID
- HapticLeftRight
- HapticPeriodic
- HapticRamp
- HapticType
- HintCallback
- HintPriority
- HitTest
- HitTestResult
- IOStatus
- IOStream
- IOStreamInterface
- IOWhence
- InitFlag
- InitFlags
- JoyAxisEvent
- JoyBallEvent
- JoyBatteryEvent
- JoyButtonEvent
- JoyDeviceEvent
- JoyHatEvent
- Joystick
- JoystickConnectionState
- JoystickID
- JoystickType
- KeyboardDeviceEvent
- KeyboardEvent
- KeyboardID
- Keycode
- Keymod
- KeymodFlag
- Locale
- LogCategory
- LogOutputFunction
- LogPriority
- MainThreadCallback
- MatrixCoefficients
- MessageBoxButtonData
- MessageBoxButtonFlag
- MessageBoxButtonFlags
- MessageBoxColor
- MessageBoxColorScheme
- MessageBoxColorType
- MessageBoxData
- MessageBoxFlag
- MessageBoxFlags
- MetalView
- MouseButtonEvent
- MouseButtonFlag
- MouseButtonFlags
- MouseDeviceEvent
- MouseID
- MouseMotionEvent
- MouseWheelDirection
- MouseWheelEvent
- Mutex
- NSTimerCallback
- PackedLayout
- PackedOrder
- Palette
- PathInfo
- PathType
- PenAxis
- PenAxisEvent
- PenButtonEvent
- PenID
- PenInputFlag
- PenInputFlags
- PenMotionEvent
- PenProximityEvent
- PenTouchEvent
- PixelFormat
- PixelFormatDetails
- PixelType
- Point
- PowerState
- Process
- ProcessIO
- PropertiesID
- PropertyType
- QuitEvent
- RWLock
- Rect
- RenderEvent
- Renderer
- RendererLogicalPresentation
- RequestAndroidPermissionCallback
- Sandbox
- ScaleMode
- Scancode
- Sensor
- SensorEvent
- SensorID
- SensorType
- SharedObject
- Sint16
- Sint32
- Sint64
- Sint8
- SpinLock
- Storage
- StorageInterface
- Surface
- SurfaceFlag
- SurfaceFlags
- SystemCursor
- SystemTheme
- TLSDestructorCallback
- TLSID
- TextEditingCandidatesEvent
- TextEditingEvent
- TextInputEvent
- TextInputType
- Texture
- TextureAccess
- Thread
- ThreadFunction
- ThreadID
- ThreadPriority
- ThreadState
- Time
- TimeFormat
- TimerCallback
- TimerID
- TouchDeviceType
- TouchFingerEvent
- TouchID
- TransferCharacteristics
- Tray
- TrayCallback
- TrayEntry
- TrayEntryFlag
- TrayEntryFlags
- TrayMenu
- Uint16
- Uint32
- Uint64
- Uint8
- UserEvent
- Vertex
- VirtualJoystickDesc
- VirtualJoystickSensorDesc
- VirtualJoystickTouchpadDesc
- Window
- WindowEvent
- WindowFlag
- WindowFlags
- WindowID
- WindowsMessageHook
- X11EventHook
- XTaskQueueHandle
- XUserHandle
- calloc_func
- free_func
- hid_bus_type
- hid_device
- hid_device_info
- iOSAnimationCallback
- iconv_data_t
- iconv_t
- main_func
- malloc_func
- realloc_func
- wchar_t
Constants (929)
- ALPHA_OPAQUE
- ALPHA_OPAQUE_FLOAT
- ALPHA_TRANSPARENT
- ALPHA_TRANSPARENT_FLOAT
- AUDIO_DEVICE_DEFAULT_PLAYBACK
- AUDIO_DEVICE_DEFAULT_RECORDING
- AUDIO_MASK_BIG_ENDIAN
- AUDIO_MASK_BITSIZE
- AUDIO_MASK_FLOAT
- AUDIO_MASK_SIGNED
- BIG_ENDIAN
- BLENDMODE_ADD
- BLENDMODE_ADD_PREMULTIPLIED
- BLENDMODE_BLEND
- BLENDMODE_BLEND_PREMULTIPLIED
- BLENDMODE_INVALID
- BLENDMODE_MOD
- BLENDMODE_MUL
- BLENDMODE_NONE
- BUTTON_LEFT
- BUTTON_LMASK
- BUTTON_MIDDLE
- BUTTON_MMASK
- BUTTON_RIGHT
- BUTTON_RMASK
- BUTTON_X1
- BUTTON_X1MASK
- BUTTON_X2
- BUTTON_X2MASK
- BYTEORDER
- CACHELINE_SIZE
- DEBUG_TEXT_FONT_CHARACTER_SIZE
- FLT_EPSILON
- GLOB_CASEINSENSITIVE
- GL_ACCELERATED_VISUAL
- GL_ACCUM_ALPHA_SIZE
- GL_ACCUM_BLUE_SIZE
- GL_ACCUM_GREEN_SIZE
- GL_ACCUM_RED_SIZE
- GL_ALPHA_SIZE
- GL_BLUE_SIZE
- GL_BUFFER_SIZE
- GL_CONTEXT_DEBUG_FLAG
- GL_CONTEXT_FLAGS
- GL_CONTEXT_FORWARD_COMPATIBLE_FLAG
- GL_CONTEXT_MAJOR_VERSION
- GL_CONTEXT_MINOR_VERSION
- GL_CONTEXT_NO_ERROR
- GL_CONTEXT_PROFILE_COMPATIBILITY
- GL_CONTEXT_PROFILE_CORE
- GL_CONTEXT_PROFILE_ES
- GL_CONTEXT_PROFILE_MASK
- GL_CONTEXT_RELEASE_BEHAVIOR
- GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH
- GL_CONTEXT_RELEASE_BEHAVIOR_NONE
- GL_CONTEXT_RESET_ISOLATION_FLAG
- GL_CONTEXT_RESET_LOSE_CONTEXT
- GL_CONTEXT_RESET_NOTIFICATION
- GL_CONTEXT_RESET_NO_NOTIFICATION
- GL_CONTEXT_ROBUST_ACCESS_FLAG
- GL_DEPTH_SIZE
- GL_DOUBLEBUFFER
- GL_EGL_PLATFORM
- GL_FLOATBUFFERS
- GL_FRAMEBUFFER_SRGB_CAPABLE
- GL_GREEN_SIZE
- GL_MULTISAMPLEBUFFERS
- GL_MULTISAMPLESAMPLES
- GL_RED_SIZE
- GL_RETAINED_BACKING
- GL_SHARE_WITH_CURRENT_CONTEXT
- GL_STENCIL_SIZE
- GL_STEREO
- GPU_SHADERFORMAT_INVALID
- HAPTIC_AUTOCENTER
- HAPTIC_CONSTANT
- HAPTIC_CUSTOM
- HAPTIC_DAMPER
- HAPTIC_FRICTION
- HAPTIC_GAIN
- HAPTIC_INERTIA
- HAPTIC_INFINITY
- HAPTIC_LEFTRIGHT
- HAPTIC_PAUSE
- HAPTIC_RAMP
- HAPTIC_RESERVED1
- HAPTIC_RESERVED2
- HAPTIC_RESERVED3
- HAPTIC_SAWTOOTHDOWN
- HAPTIC_SAWTOOTHUP
- HAPTIC_SINE
- HAPTIC_SPRING
- HAPTIC_SQUARE
- HAPTIC_STATUS
- HAPTIC_TRIANGLE
- HAT_CENTERED
- HAT_DOWN
- HAT_LEFT
- HAT_LEFTDOWN
- HAT_LEFTUP
- HAT_RIGHT
- HAT_RIGHTDOWN
- HAT_RIGHTUP
- HAT_UP
- HINT_ALLOW_ALT_TAB_WHILE_GRABBED
- HINT_ANDROID_ALLOW_RECREATE_ACTIVITY
- HINT_ANDROID_BLOCK_ON_PAUSE
- HINT_ANDROID_LOW_LATENCY_AUDIO
- HINT_ANDROID_TRAP_BACK_BUTTON
- HINT_APPLE_TV_CONTROLLER_UI_EVENTS
- HINT_APPLE_TV_REMOTE_ALLOW_ROTATION
- HINT_APP_ID
- HINT_APP_NAME
- HINT_ASSERT
- HINT_AUDIO_ALSA_DEFAULT_DEVICE
- HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE
- HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE
- HINT_AUDIO_CATEGORY
- HINT_AUDIO_CHANNELS
- HINT_AUDIO_DEVICE_APP_ICON_NAME
- HINT_AUDIO_DEVICE_SAMPLE_FRAMES
- HINT_AUDIO_DEVICE_STREAM_NAME
- HINT_AUDIO_DEVICE_STREAM_ROLE
- HINT_AUDIO_DISK_INPUT_FILE
- HINT_AUDIO_DISK_OUTPUT_FILE
- HINT_AUDIO_DISK_TIMESCALE
- HINT_AUDIO_DRIVER
- HINT_AUDIO_DUMMY_TIMESCALE
- HINT_AUDIO_FORMAT
- HINT_AUDIO_FREQUENCY
- HINT_AUDIO_INCLUDE_MONITORS
- HINT_AUTO_UPDATE_JOYSTICKS
- HINT_AUTO_UPDATE_SENSORS
- HINT_BMP_SAVE_LEGACY_FORMAT
- HINT_CAMERA_DRIVER
- HINT_CPU_FEATURE_MASK
- HINT_DISPLAY_USABLE_BOUNDS
- HINT_EGL_LIBRARY
- HINT_EMSCRIPTEN_ASYNCIFY
- HINT_EMSCRIPTEN_CANVAS_SELECTOR
- HINT_EMSCRIPTEN_KEYBOARD_ELEMENT
- HINT_ENABLE_SCREEN_KEYBOARD
- HINT_EVDEV_DEVICES
- HINT_EVENT_LOGGING
- HINT_FILE_DIALOG_DRIVER
- HINT_FORCE_RAISEWINDOW
- HINT_FRAMEBUFFER_ACCELERATION
- HINT_GAMECONTROLLERCONFIG
- HINT_GAMECONTROLLERCONFIG_FILE
- HINT_GAMECONTROLLERTYPE
- HINT_GAMECONTROLLER_IGNORE_DEVICES
- HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT
- HINT_GAMECONTROLLER_SENSOR_FUSION
- HINT_GDK_TEXTINPUT_DEFAULT_TEXT
- HINT_GDK_TEXTINPUT_DESCRIPTION
- HINT_GDK_TEXTINPUT_MAX_LENGTH
- HINT_GDK_TEXTINPUT_SCOPE
- HINT_GDK_TEXTINPUT_TITLE
- HINT_GPU_DRIVER
- HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS
- HINT_HIDAPI_IGNORE_DEVICES
- HINT_HIDAPI_LIBUSB
- HINT_HIDAPI_LIBUSB_WHITELIST
- HINT_HIDAPI_UDEV
- HINT_IME_IMPLEMENTED_UI
- HINT_IOS_HIDE_HOME_INDICATOR
- HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
- HINT_JOYSTICK_ARCADESTICK_DEVICES
- HINT_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED
- HINT_JOYSTICK_BLACKLIST_DEVICES
- HINT_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED
- HINT_JOYSTICK_DEVICE
- HINT_JOYSTICK_DIRECTINPUT
- HINT_JOYSTICK_ENHANCED_REPORTS
- HINT_JOYSTICK_FLIGHTSTICK_DEVICES
- HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED
- HINT_JOYSTICK_GAMECUBE_DEVICES
- HINT_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED
- HINT_JOYSTICK_GAMEINPUT
- HINT_JOYSTICK_HIDAPI
- HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS
- HINT_JOYSTICK_HIDAPI_GAMECUBE
- HINT_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE
- HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED
- HINT_JOYSTICK_HIDAPI_JOY_CONS
- HINT_JOYSTICK_HIDAPI_LUNA
- HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC
- HINT_JOYSTICK_HIDAPI_PS3
- HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER
- HINT_JOYSTICK_HIDAPI_PS4
- HINT_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL
- HINT_JOYSTICK_HIDAPI_PS5
- HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED
- HINT_JOYSTICK_HIDAPI_SHIELD
- HINT_JOYSTICK_HIDAPI_STADIA
- HINT_JOYSTICK_HIDAPI_STEAM
- HINT_JOYSTICK_HIDAPI_STEAMDECK
- HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED
- HINT_JOYSTICK_HIDAPI_STEAM_HORI
- HINT_JOYSTICK_HIDAPI_SWITCH
- HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED
- HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED
- HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS
- HINT_JOYSTICK_HIDAPI_WII
- HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED
- HINT_JOYSTICK_HIDAPI_XBOX
- HINT_JOYSTICK_HIDAPI_XBOX_360
- HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED
- HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS
- HINT_JOYSTICK_HIDAPI_XBOX_ONE
- HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED
- HINT_JOYSTICK_IOKIT
- HINT_JOYSTICK_LINUX_CLASSIC
- HINT_JOYSTICK_LINUX_DEADZONES
- HINT_JOYSTICK_LINUX_DIGITAL_HATS
- HINT_JOYSTICK_LINUX_HAT_DEADZONES
- HINT_JOYSTICK_MFI
- HINT_JOYSTICK_RAWINPUT
- HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT
- HINT_JOYSTICK_ROG_CHAKRAM
- HINT_JOYSTICK_THREAD
- HINT_JOYSTICK_THROTTLE_DEVICES
- HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED
- HINT_JOYSTICK_WGI
- HINT_JOYSTICK_WHEEL_DEVICES
- HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED
- HINT_JOYSTICK_ZERO_CENTERED_DEVICES
- HINT_KEYCODE_OPTIONS
- HINT_KMSDRM_DEVICE_INDEX
- HINT_KMSDRM_REQUIRE_DRM_MASTER
- HINT_LOGGING
- HINT_MAC_BACKGROUND_APP
- HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK
- HINT_MAC_OPENGL_ASYNC_DISPATCH
- HINT_MAC_OPTION_AS_ALT
- HINT_MAC_SCROLL_MOMENTUM
- HINT_MAIN_CALLBACK_RATE
- HINT_MOUSE_AUTO_CAPTURE
- HINT_MOUSE_DEFAULT_SYSTEM_CURSOR
- HINT_MOUSE_DOUBLE_CLICK_RADIUS
- HINT_MOUSE_DOUBLE_CLICK_TIME
- HINT_MOUSE_EMULATE_WARP_WITH_RELATIVE
- HINT_MOUSE_FOCUS_CLICKTHROUGH
- HINT_MOUSE_NORMAL_SPEED_SCALE
- HINT_MOUSE_RELATIVE_CURSOR_VISIBLE
- HINT_MOUSE_RELATIVE_MODE_CENTER
- HINT_MOUSE_RELATIVE_SPEED_SCALE
- HINT_MOUSE_RELATIVE_SYSTEM_SCALE
- HINT_MOUSE_RELATIVE_WARP_MOTION
- HINT_MOUSE_TOUCH_EVENTS
- HINT_MUTE_CONSOLE_KEYBOARD
- HINT_NO_SIGNAL_HANDLERS
- HINT_OPENGL_ES_DRIVER
- HINT_OPENGL_LIBRARY
- HINT_OPENVR_LIBRARY
- HINT_ORIENTATIONS
- HINT_PEN_MOUSE_EVENTS
- HINT_PEN_TOUCH_EVENTS
- HINT_POLL_SENTINEL
- HINT_PREFERRED_LOCALES
- HINT_QUIT_ON_LAST_WINDOW_CLOSE
- HINT_RENDER_DIRECT3D11_DEBUG
- HINT_RENDER_DIRECT3D_THREADSAFE
- HINT_RENDER_DRIVER
- HINT_RENDER_GPU_DEBUG
- HINT_RENDER_GPU_LOW_POWER
- HINT_RENDER_LINE_METHOD
- HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE
- HINT_RENDER_VSYNC
- HINT_RENDER_VULKAN_DEBUG
- HINT_RETURN_KEY_HIDES_IME
- HINT_ROG_GAMEPAD_MICE
- HINT_ROG_GAMEPAD_MICE_EXCLUDED
- HINT_RPI_VIDEO_LAYER
- HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME
- HINT_SHUTDOWN_DBUS_ON_QUIT
- HINT_STORAGE_TITLE_DRIVER
- HINT_STORAGE_USER_DRIVER
- HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL
- HINT_THREAD_PRIORITY_POLICY
- HINT_TIMER_RESOLUTION
- HINT_TOUCH_MOUSE_EVENTS
- HINT_TRACKPAD_IS_TOUCH_ONLY
- HINT_TV_REMOTE_AS_JOYSTICK
- HINT_VIDEO_ALLOW_SCREENSAVER
- HINT_VIDEO_DISPLAY_PRIORITY
- HINT_VIDEO_DOUBLE_BUFFER
- HINT_VIDEO_DRIVER
- HINT_VIDEO_DUMMY_SAVE_FRAMES
- HINT_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK
- HINT_VIDEO_FORCE_EGL
- HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY
- HINT_VIDEO_MAC_FULLSCREEN_SPACES
- HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS
- HINT_VIDEO_OFFSCREEN_SAVE_FRAMES
- HINT_VIDEO_SYNC_WINDOW_OPERATIONS
- HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR
- HINT_VIDEO_WAYLAND_MODE_EMULATION
- HINT_VIDEO_WAYLAND_MODE_SCALING
- HINT_VIDEO_WAYLAND_PREFER_LIBDECOR
- HINT_VIDEO_WAYLAND_SCALE_TO_DISPLAY
- HINT_VIDEO_WIN_D3DCOMPILER
- HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR
- HINT_VIDEO_X11_NET_WM_PING
- HINT_VIDEO_X11_NODIRECTCOLOR
- HINT_VIDEO_X11_SCALING_FACTOR
- HINT_VIDEO_X11_VISUALID
- HINT_VIDEO_X11_WINDOW_VISUALID
- HINT_VIDEO_X11_XRANDR
- HINT_VITA_ENABLE_BACK_TOUCH
- HINT_VITA_ENABLE_FRONT_TOUCH
- HINT_VITA_MODULE_PATH
- HINT_VITA_PVR_INIT
- HINT_VITA_PVR_OPENGL
- HINT_VITA_RESOLUTION
- HINT_VITA_TOUCH_MOUSE_DEVICE
- HINT_VULKAN_DISPLAY
- HINT_VULKAN_LIBRARY
- HINT_WAVE_CHUNK_LIMIT
- HINT_WAVE_FACT_CHUNK
- HINT_WAVE_RIFF_CHUNK_SIZE
- HINT_WAVE_TRUNCATION
- HINT_WINDOWS_CLOSE_ON_ALT_F4
- HINT_WINDOWS_ENABLE_MENU_MNEMONICS
- HINT_WINDOWS_ENABLE_MESSAGELOOP
- HINT_WINDOWS_ERASE_BACKGROUND_MODE
- HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL
- HINT_WINDOWS_GAMEINPUT
- HINT_WINDOWS_INTRESOURCE_ICON
- HINT_WINDOWS_INTRESOURCE_ICON_SMALL
- HINT_WINDOWS_RAW_KEYBOARD
- HINT_WINDOWS_USE_D3D9EX
- HINT_WINDOW_ACTIVATE_WHEN_RAISED
- HINT_WINDOW_ACTIVATE_WHEN_SHOWN
- HINT_WINDOW_ALLOW_TOPMOST
- HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN
- HINT_X11_FORCE_OVERRIDE_REDIRECT
- HINT_X11_WINDOW_TYPE
- HINT_X11_XCB_LIBRARY
- HINT_XINPUT_ENABLED
- ICONV_E2BIG
- ICONV_EILSEQ
- ICONV_EINVAL
- ICONV_ERROR
- INIT_AUDIO
- INIT_CAMERA
- INIT_EVENTS
- INIT_GAMEPAD
- INIT_HAPTIC
- INIT_JOYSTICK
- INIT_SENSOR
- INIT_VIDEO
- IO_SEEK_CUR
- IO_SEEK_END
- IO_SEEK_SET
- JOYSTICK_AXIS_MAX
- JOYSTICK_AXIS_MIN
- JOYSTICK_TYPE_COUNT
- KMOD_ALT
- KMOD_CAPS
- KMOD_CTRL
- KMOD_GUI
- KMOD_LALT
- KMOD_LCTRL
- KMOD_LEVEL5
- KMOD_LGUI
- KMOD_LSHIFT
- KMOD_MODE
- KMOD_NONE
- KMOD_NUM
- KMOD_RALT
- KMOD_RCTRL
- KMOD_RGUI
- KMOD_RSHIFT
- KMOD_SCROLL
- KMOD_SHIFT
- K_0
- K_1
- K_2
- K_3
- K_4
- K_5
- K_6
- K_7
- K_8
- K_9
- K_A
- K_AC_BACK
- K_AC_BOOKMARKS
- K_AC_CLOSE
- K_AC_EXIT
- K_AC_FORWARD
- K_AC_HOME
- K_AC_NEW
- K_AC_OPEN
- K_AC_PRINT
- K_AC_PROPERTIES
- K_AC_REFRESH
- K_AC_SAVE
- K_AC_SEARCH
- K_AC_STOP
- K_AGAIN
- K_ALTERASE
- K_AMPERSAND
- K_APOSTROPHE
- K_APPLICATION
- K_ASTERISK
- K_AT
- K_B
- K_BACKSLASH
- K_BACKSPACE
- K_C
- K_CALL
- K_CANCEL
- K_CAPSLOCK
- K_CARET
- K_CHANNEL_DECREMENT
- K_CHANNEL_INCREMENT
- K_CLEAR
- K_CLEARAGAIN
- K_COLON
- K_COMMA
- K_COPY
- K_CRSEL
- K_CURRENCYSUBUNIT
- K_CURRENCYUNIT
- K_CUT
- K_D
- K_DBLAPOSTROPHE
- K_DECIMALSEPARATOR
- K_DELETE
- K_DOLLAR
- K_DOWN
- K_E
- K_END
- K_ENDCALL
- K_EQUALS
- K_ESCAPE
- K_EXCLAIM
- K_EXECUTE
- K_EXSEL
- K_EXTENDED_MASK
- K_F
- K_F1
- K_F10
- K_F11
- K_F12
- K_F13
- K_F14
- K_F15
- K_F16
- K_F17
- K_F18
- K_F19
- K_F2
- K_F20
- K_F21
- K_F22
- K_F23
- K_F24
- K_F3
- K_F4
- K_F5
- K_F6
- K_F7
- K_F8
- K_F9
- K_FIND
- K_G
- K_GRAVE
- K_GREATER
- K_H
- K_HASH
- K_HELP
- K_HOME
- K_I
- K_INSERT
- K_J
- K_K
- K_KP_0
- K_KP_00
- K_KP_000
- K_KP_1
- K_KP_2
- K_KP_3
- K_KP_4
- K_KP_5
- K_KP_6
- K_KP_7
- K_KP_8
- K_KP_9
- K_KP_A
- K_KP_AMPERSAND
- K_KP_AT
- K_KP_B
- K_KP_BACKSPACE
- K_KP_BINARY
- K_KP_C
- K_KP_CLEAR
- K_KP_CLEARENTRY
- K_KP_COLON
- K_KP_COMMA
- K_KP_D
- K_KP_DBLAMPERSAND
- K_KP_DBLVERTICALBAR
- K_KP_DECIMAL
- K_KP_DIVIDE
- K_KP_E
- K_KP_ENTER
- K_KP_EQUALS
- K_KP_EQUALSAS400
- K_KP_EXCLAM
- K_KP_F
- K_KP_GREATER
- K_KP_HASH
- K_KP_HEXADECIMAL
- K_KP_LEFTBRACE
- K_KP_LEFTPAREN
- K_KP_LESS
- K_KP_MEMADD
- K_KP_MEMCLEAR
- K_KP_MEMDIVIDE
- K_KP_MEMMULTIPLY
- K_KP_MEMRECALL
- K_KP_MEMSTORE
- K_KP_MEMSUBTRACT
- K_KP_MINUS
- K_KP_MULTIPLY
- K_KP_OCTAL
- K_KP_PERCENT
- K_KP_PERIOD
- K_KP_PLUS
- K_KP_PLUSMINUS
- K_KP_POWER
- K_KP_RIGHTBRACE
- K_KP_RIGHTPAREN
- K_KP_SPACE
- K_KP_TAB
- K_KP_VERTICALBAR
- K_KP_XOR
- K_L
- K_LALT
- K_LCTRL
- K_LEFT
- K_LEFTBRACE
- K_LEFTBRACKET
- K_LEFTPAREN
- K_LEFT_TAB
- K_LESS
- K_LEVEL5_SHIFT
- K_LGUI
- K_LHYPER
- K_LMETA
- K_LSHIFT
- K_M
- K_MEDIA_EJECT
- K_MEDIA_FAST_FORWARD
- K_MEDIA_NEXT_TRACK
- K_MEDIA_PAUSE
- K_MEDIA_PLAY
- K_MEDIA_PLAY_PAUSE
- K_MEDIA_PREVIOUS_TRACK
- K_MEDIA_RECORD
- K_MEDIA_REWIND
- K_MEDIA_SELECT
- K_MEDIA_STOP
- K_MENU
- K_MINUS
- K_MODE
- K_MULTI_KEY_COMPOSE
- K_MUTE
- K_N
- K_NUMLOCKCLEAR
- K_O
- K_OPER
- K_OUT
- K_P
- K_PAGEDOWN
- K_PAGEUP
- K_PASTE
- K_PAUSE
- K_PERCENT
- K_PERIOD
- K_PIPE
- K_PLUS
- K_PLUSMINUS
- K_POWER
- K_PRINTSCREEN
- K_PRIOR
- K_Q
- K_QUESTION
- K_R
- K_RALT
- K_RCTRL
- K_RETURN
- K_RETURN2
- K_RGUI
- K_RHYPER
- K_RIGHT
- K_RIGHTBRACE
- K_RIGHTBRACKET
- K_RIGHTPAREN
- K_RMETA
- K_RSHIFT
- K_S
- K_SCANCODE_MASK
- K_SCROLLLOCK
- K_SELECT
- K_SEMICOLON
- K_SEPARATOR
- K_SLASH
- K_SLEEP
- K_SOFTLEFT
- K_SOFTRIGHT
- K_SPACE
- K_STOP
- K_SYSREQ
- K_T
- K_TAB
- K_THOUSANDSSEPARATOR
- K_TILDE
- K_U
- K_UNDERSCORE
- K_UNDO
- K_UNKNOWN
- K_UP
- K_V
- K_VOLUMEDOWN
- K_VOLUMEUP
- K_W
- K_WAKE
- K_X
- K_Y
- K_Z
- LIL_ENDIAN
- MAJOR_VERSION
- MICRO_VERSION
- MINOR_VERSION
- MOUSE_TOUCHID
- MS_PER_SECOND
- NS_PER_MS
- NS_PER_SECOND
- NS_PER_US
- PEN_MOUSEID
- PEN_TOUCHID
- PROP_APP_METADATA_COPYRIGHT_STRING
- PROP_APP_METADATA_CREATOR_STRING
- PROP_APP_METADATA_IDENTIFIER_STRING
- PROP_APP_METADATA_NAME_STRING
- PROP_APP_METADATA_TYPE_STRING
- PROP_APP_METADATA_URL_STRING
- PROP_APP_METADATA_VERSION_STRING
- PROP_DISPLAY_HDR_ENABLED_BOOLEAN
- PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER
- PROP_FILE_DIALOG_ACCEPT_STRING
- PROP_FILE_DIALOG_CANCEL_STRING
- PROP_FILE_DIALOG_FILTERS_POINTER
- PROP_FILE_DIALOG_LOCATION_STRING
- PROP_FILE_DIALOG_MANY_BOOLEAN
- PROP_FILE_DIALOG_NFILTERS_NUMBER
- PROP_FILE_DIALOG_TITLE_STRING
- PROP_FILE_DIALOG_WINDOW_POINTER
- PROP_GAMEPAD_CAP_MONO_LED_BOOLEAN
- PROP_GAMEPAD_CAP_PLAYER_LED_BOOLEAN
- PROP_GAMEPAD_CAP_RGB_LED_BOOLEAN
- PROP_GAMEPAD_CAP_RUMBLE_BOOLEAN
- PROP_GAMEPAD_CAP_TRIGGER_RUMBLE_BOOLEAN
- PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER
- PROP_GPU_BUFFER_CREATE_NAME_STRING
- PROP_GPU_COMPUTEPIPELINE_CREATE_NAME_STRING
- PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING
- PROP_GPU_DEVICE_CREATE_DEBUGMODE_BOOLEAN
- PROP_GPU_DEVICE_CREATE_NAME_STRING
- PROP_GPU_DEVICE_CREATE_PREFERLOWPOWER_BOOLEAN
- PROP_GPU_DEVICE_CREATE_SHADERS_DXBC_BOOLEAN
- PROP_GPU_DEVICE_CREATE_SHADERS_DXIL_BOOLEAN
- PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOLEAN
- PROP_GPU_DEVICE_CREATE_SHADERS_MSL_BOOLEAN
- PROP_GPU_DEVICE_CREATE_SHADERS_PRIVATE_BOOLEAN
- PROP_GPU_DEVICE_CREATE_SHADERS_SPIRV_BOOLEAN
- PROP_GPU_GRAPHICSPIPELINE_CREATE_NAME_STRING
- PROP_GPU_SAMPLER_CREATE_NAME_STRING
- PROP_GPU_SHADER_CREATE_NAME_STRING
- PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_A_FLOAT
- PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_B_FLOAT
- PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_DEPTH_FLOAT
- PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_G_FLOAT
- PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_R_FLOAT
- PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_UINT8
- PROP_GPU_TEXTURE_CREATE_NAME_STRING
- PROP_GPU_TRANSFERBUFFER_CREATE_NAME_STRING
- PROP_IOSTREAM_ANDROID_AASSET_POINTER
- PROP_IOSTREAM_DYNAMIC_CHUNKSIZE_NUMBER
- PROP_IOSTREAM_DYNAMIC_MEMORY_POINTER
- PROP_IOSTREAM_FILE_DESCRIPTOR_NUMBER
- PROP_IOSTREAM_MEMORY_POINTER
- PROP_IOSTREAM_MEMORY_SIZE_NUMBER
- PROP_IOSTREAM_STDIO_FILE_POINTER
- PROP_IOSTREAM_WINDOWS_HANDLE_POINTER
- PROP_JOYSTICK_CAP_MONO_LED_BOOLEAN
- PROP_JOYSTICK_CAP_PLAYER_LED_BOOLEAN
- PROP_JOYSTICK_CAP_RGB_LED_BOOLEAN
- PROP_JOYSTICK_CAP_RUMBLE_BOOLEAN
- PROP_JOYSTICK_CAP_TRIGGER_RUMBLE_BOOLEAN
- PROP_PROCESS_BACKGROUND_BOOLEAN
- PROP_PROCESS_CREATE_ARGS_POINTER
- PROP_PROCESS_CREATE_BACKGROUND_BOOLEAN
- PROP_PROCESS_CREATE_ENVIRONMENT_POINTER
- PROP_PROCESS_CREATE_STDERR_NUMBER
- PROP_PROCESS_CREATE_STDERR_POINTER
- PROP_PROCESS_CREATE_STDERR_TO_STDOUT_BOOLEAN
- PROP_PROCESS_CREATE_STDIN_NUMBER
- PROP_PROCESS_CREATE_STDIN_POINTER
- PROP_PROCESS_CREATE_STDOUT_NUMBER
- PROP_PROCESS_CREATE_STDOUT_POINTER
- PROP_PROCESS_PID_NUMBER
- PROP_PROCESS_STDERR_POINTER
- PROP_PROCESS_STDIN_POINTER
- PROP_PROCESS_STDOUT_POINTER
- PROP_RENDERER_CREATE_NAME_STRING
- PROP_RENDERER_CREATE_OUTPUT_COLORSPACE_NUMBER
- PROP_RENDERER_CREATE_PRESENT_VSYNC_NUMBER
- PROP_RENDERER_CREATE_SURFACE_POINTER
- PROP_RENDERER_CREATE_VULKAN_DEVICE_POINTER
- PROP_RENDERER_CREATE_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER
- PROP_RENDERER_CREATE_VULKAN_INSTANCE_POINTER
- PROP_RENDERER_CREATE_VULKAN_PHYSICAL_DEVICE_POINTER
- PROP_RENDERER_CREATE_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER
- PROP_RENDERER_CREATE_VULKAN_SURFACE_NUMBER
- PROP_RENDERER_CREATE_WINDOW_POINTER
- PROP_RENDERER_D3D11_DEVICE_POINTER
- PROP_RENDERER_D3D11_SWAPCHAIN_POINTER
- PROP_RENDERER_D3D12_COMMAND_QUEUE_POINTER
- PROP_RENDERER_D3D12_DEVICE_POINTER
- PROP_RENDERER_D3D12_SWAPCHAIN_POINTER
- PROP_RENDERER_D3D9_DEVICE_POINTER
- PROP_RENDERER_GPU_DEVICE_POINTER
- PROP_RENDERER_HDR_ENABLED_BOOLEAN
- PROP_RENDERER_HDR_HEADROOM_FLOAT
- PROP_RENDERER_MAX_TEXTURE_SIZE_NUMBER
- PROP_RENDERER_NAME_STRING
- PROP_RENDERER_OUTPUT_COLORSPACE_NUMBER
- PROP_RENDERER_SDR_WHITE_POINT_FLOAT
- PROP_RENDERER_SURFACE_POINTER
- PROP_RENDERER_TEXTURE_FORMATS_POINTER
- PROP_RENDERER_VSYNC_NUMBER
- PROP_RENDERER_VULKAN_DEVICE_POINTER
- PROP_RENDERER_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER
- PROP_RENDERER_VULKAN_INSTANCE_POINTER
- PROP_RENDERER_VULKAN_PHYSICAL_DEVICE_POINTER
- PROP_RENDERER_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER
- PROP_RENDERER_VULKAN_SURFACE_NUMBER
- PROP_RENDERER_VULKAN_SWAPCHAIN_IMAGE_COUNT_NUMBER
- PROP_RENDERER_WINDOW_POINTER
- PROP_TEXTINPUT_ANDROID_INPUTTYPE_NUMBER
- PROP_TEXTINPUT_AUTOCORRECT_BOOLEAN
- PROP_TEXTINPUT_CAPITALIZATION_NUMBER
- PROP_TEXTINPUT_MULTILINE_BOOLEAN
- PROP_TEXTINPUT_TYPE_NUMBER
- PROP_TEXTURE_ACCESS_NUMBER
- PROP_TEXTURE_COLORSPACE_NUMBER
- PROP_TEXTURE_CREATE_ACCESS_NUMBER
- PROP_TEXTURE_CREATE_COLORSPACE_NUMBER
- PROP_TEXTURE_CREATE_D3D11_TEXTURE_POINTER
- PROP_TEXTURE_CREATE_D3D11_TEXTURE_U_POINTER
- PROP_TEXTURE_CREATE_D3D11_TEXTURE_V_POINTER
- PROP_TEXTURE_CREATE_D3D12_TEXTURE_POINTER
- PROP_TEXTURE_CREATE_D3D12_TEXTURE_U_POINTER
- PROP_TEXTURE_CREATE_D3D12_TEXTURE_V_POINTER
- PROP_TEXTURE_CREATE_FORMAT_NUMBER
- PROP_TEXTURE_CREATE_HDR_HEADROOM_FLOAT
- PROP_TEXTURE_CREATE_HEIGHT_NUMBER
- PROP_TEXTURE_CREATE_METAL_PIXELBUFFER_POINTER
- PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_NUMBER
- PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_UV_NUMBER
- PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_U_NUMBER
- PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_V_NUMBER
- PROP_TEXTURE_CREATE_OPENGL_TEXTURE_NUMBER
- PROP_TEXTURE_CREATE_OPENGL_TEXTURE_UV_NUMBER
- PROP_TEXTURE_CREATE_OPENGL_TEXTURE_U_NUMBER
- PROP_TEXTURE_CREATE_OPENGL_TEXTURE_V_NUMBER
- PROP_TEXTURE_CREATE_SDR_WHITE_POINT_FLOAT
- PROP_TEXTURE_CREATE_VULKAN_TEXTURE_NUMBER
- PROP_TEXTURE_CREATE_WIDTH_NUMBER
- PROP_TEXTURE_D3D11_TEXTURE_POINTER
- PROP_TEXTURE_D3D11_TEXTURE_U_POINTER
- PROP_TEXTURE_D3D11_TEXTURE_V_POINTER
- PROP_TEXTURE_D3D12_TEXTURE_POINTER
- PROP_TEXTURE_D3D12_TEXTURE_U_POINTER
- PROP_TEXTURE_D3D12_TEXTURE_V_POINTER
- PROP_TEXTURE_FORMAT_NUMBER
- PROP_TEXTURE_HDR_HEADROOM_FLOAT
- PROP_TEXTURE_HEIGHT_NUMBER
- PROP_TEXTURE_OPENGLES2_TEXTURE_NUMBER
- PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET_NUMBER
- PROP_TEXTURE_OPENGLES2_TEXTURE_UV_NUMBER
- PROP_TEXTURE_OPENGLES2_TEXTURE_U_NUMBER
- PROP_TEXTURE_OPENGLES2_TEXTURE_V_NUMBER
- PROP_TEXTURE_OPENGL_TEXTURE_NUMBER
- PROP_TEXTURE_OPENGL_TEXTURE_TARGET_NUMBER
- PROP_TEXTURE_OPENGL_TEXTURE_UV_NUMBER
- PROP_TEXTURE_OPENGL_TEXTURE_U_NUMBER
- PROP_TEXTURE_OPENGL_TEXTURE_V_NUMBER
- PROP_TEXTURE_OPENGL_TEX_H_FLOAT
- PROP_TEXTURE_OPENGL_TEX_W_FLOAT
- PROP_TEXTURE_SDR_WHITE_POINT_FLOAT
- PROP_TEXTURE_VULKAN_TEXTURE_NUMBER
- PROP_TEXTURE_WIDTH_NUMBER
- PROP_THREAD_CREATE_ENTRY_FUNCTION_POINTER
- PROP_THREAD_CREATE_NAME_STRING
- PROP_THREAD_CREATE_STACKSIZE_NUMBER
- PROP_THREAD_CREATE_USERDATA_POINTER
- PROP_WINDOW_ANDROID_SURFACE_POINTER
- PROP_WINDOW_ANDROID_WINDOW_POINTER
- PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER
- PROP_WINDOW_COCOA_WINDOW_POINTER
- PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN
- PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN
- PROP_WINDOW_CREATE_COCOA_VIEW_POINTER
- PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER
- PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN
- PROP_WINDOW_CREATE_FLAGS_NUMBER
- PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN
- PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN
- PROP_WINDOW_CREATE_HEIGHT_NUMBER
- PROP_WINDOW_CREATE_HIDDEN_BOOLEAN
- PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN
- PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN
- PROP_WINDOW_CREATE_MENU_BOOLEAN
- PROP_WINDOW_CREATE_METAL_BOOLEAN
- PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN
- PROP_WINDOW_CREATE_MODAL_BOOLEAN
- PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN
- PROP_WINDOW_CREATE_OPENGL_BOOLEAN
- PROP_WINDOW_CREATE_PARENT_POINTER
- PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN
- PROP_WINDOW_CREATE_TITLE_STRING
- PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN
- PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN
- PROP_WINDOW_CREATE_UTILITY_BOOLEAN
- PROP_WINDOW_CREATE_VULKAN_BOOLEAN
- PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN
- PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN
- PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER
- PROP_WINDOW_CREATE_WIDTH_NUMBER
- PROP_WINDOW_CREATE_WIN32_HWND_POINTER
- PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER
- PROP_WINDOW_CREATE_X11_WINDOW_NUMBER
- PROP_WINDOW_CREATE_X_NUMBER
- PROP_WINDOW_CREATE_Y_NUMBER
- PROP_WINDOW_HDR_ENABLED_BOOLEAN
- PROP_WINDOW_HDR_HEADROOM_FLOAT
- PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER
- PROP_WINDOW_KMSDRM_DRM_FD_NUMBER
- PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER
- PROP_WINDOW_OPENVR_OVERLAY_ID
- PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT
- PROP_WINDOW_SHAPE_POINTER
- PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER
- PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER
- PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER
- PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER
- PROP_WINDOW_UIKIT_WINDOW_POINTER
- PROP_WINDOW_VIVANTE_DISPLAY_POINTER
- PROP_WINDOW_VIVANTE_SURFACE_POINTER
- PROP_WINDOW_VIVANTE_WINDOW_POINTER
- PROP_WINDOW_WAYLAND_DISPLAY_POINTER
- PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER
- PROP_WINDOW_WAYLAND_SURFACE_POINTER
- PROP_WINDOW_WAYLAND_VIEWPORT_POINTER
- PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER
- PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER
- PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER
- PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING
- PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER
- PROP_WINDOW_WIN32_HDC_POINTER
- PROP_WINDOW_WIN32_HWND_POINTER
- PROP_WINDOW_WIN32_INSTANCE_POINTER
- PROP_WINDOW_X11_DISPLAY_POINTER
- PROP_WINDOW_X11_SCREEN_NUMBER
- PROP_WINDOW_X11_WINDOW_NUMBER
- RENDERER_VSYNC_ADAPTIVE
- RENDERER_VSYNC_DISABLED
- SIZE_MAX
- SOFTWARE_RENDERER
- STANDARD_GRAVITY
- SURFACE_LOCKED
- SURFACE_LOCK_NEEDED
- SURFACE_PREALLOCATED
- SURFACE_SIMD_ALIGNED
- TOUCH_MOUSEID
- TRAYENTRY_BUTTON
- TRAYENTRY_CHECKBOX
- TRAYENTRY_CHECKED
- TRAYENTRY_DISABLED
- TRAYENTRY_SUBMENU
- US_PER_SECOND
- VERSION
- WINDOWPOS_CENTERED
- WINDOWPOS_CENTERED_MASK
- WINDOWPOS_UNDEFINED
- WINDOWPOS_UNDEFINED_MASK
- WINDOW_ALWAYS_ON_TOP
- WINDOW_BORDERLESS
- WINDOW_EXTERNAL
- WINDOW_FULLSCREEN
- WINDOW_HIDDEN
- WINDOW_HIGH_PIXEL_DENSITY
- WINDOW_INPUT_FOCUS
- WINDOW_KEYBOARD_GRABBED
- WINDOW_MAXIMIZED
- WINDOW_METAL
- WINDOW_MINIMIZED
- WINDOW_MODAL
- WINDOW_MOUSE_CAPTURE
- WINDOW_MOUSE_FOCUS
- WINDOW_MOUSE_GRABBED
- WINDOW_MOUSE_RELATIVE_MODE
- WINDOW_NOT_FOCUSABLE
- WINDOW_OCCLUDED
- WINDOW_OPENGL
- WINDOW_POPUP_MENU
- WINDOW_RESIZABLE
- WINDOW_SURFACE_VSYNC_ADAPTIVE
- WINDOW_SURFACE_VSYNC_DISABLED
- WINDOW_TOOLTIP
- WINDOW_TRANSPARENT
- WINDOW_UTILITY
- WINDOW_VULKAN
Variables (1)
Procedures (1324)
- AUDIO_BITSIZE
- AUDIO_BYTESIZE
- AUDIO_FRAMESIZE
- AUDIO_ISBIGENDIAN
- AUDIO_ISFLOAT
- AUDIO_ISINT
- AUDIO_ISLITTLEENDIAN
- AUDIO_ISSIGNED
- AUDIO_ISUNSIGNED
- AcquireCameraFrame
- AcquireGPUCommandBuffer
- AcquireGPUSwapchainTexture
- AddAtomicInt
- AddEventWatch
- AddGamepadMapping
- AddGamepadMappingsFromFile
- AddGamepadMappingsFromIO
- AddHintCallback
- AddSurfaceAlternateImage
- AddTimer
- AddTimerNS
- AddVulkanRenderSemaphores
- AppEvent
- AppInit
- AppIterate
- AppQuit
- AssertBreakpoint
- AsyncIOFromFile
- AttachVirtualJoystick
- AudioDevicePaused
- AudioStreamDevicePaused
- BITSPERPIXEL
- BeginGPUComputePass
- BeginGPUCopyPass
- BeginGPURenderPass
- BeginThreadFunction
- BindAudioStream
- BindAudioStreams
- BindGPUComputePipeline
- BindGPUComputeSamplers
- BindGPUComputeStorageBuffers
- BindGPUComputeStorageTextures
- BindGPUFragmentSamplers
- BindGPUFragmentStorageBuffers
- BindGPUFragmentStorageTextures
- BindGPUGraphicsPipeline
- BindGPUIndexBuffer
- BindGPUVertexBuffers
- BindGPUVertexSamplers
- BindGPUVertexStorageBuffers
- BindGPUVertexStorageTextures
- BlitGPUTexture
- BlitSurface
- BlitSurface9Grid
- BlitSurfaceScaled
- BlitSurfaceTiled
- BlitSurfaceTiledWithScale
- BlitSurfaceUnchecked
- BlitSurfaceUncheckedScaled
- COLORSPACECHROMA
- COLORSPACEMATRIX
- COLORSPACEPRIMARIES
- COLORSPACERANGE
- COLORSPACETRANSFER
- COLORSPACETYPE
- CPUPauseInstruction
- CalculateGPUTextureFormatSize
- CancelGPUCommandBuffer
- CaptureMouse
- ClaimWindowForGPUDevice
- CleanupTLS
- ClearAudioStream
- ClearClipboardData
- ClearComposition
- ClearError
- ClearProperty
- ClearSurface
- ClickTrayEntry
- CloseAsyncIO
- CloseAudioDevice
- CloseCamera
- CloseGamepad
- CloseHaptic
- CloseIO
- CloseJoystick
- CloseSensor
- CloseStorage
- CompareAndSwapAtomicInt
- CompareAndSwapAtomicPointer
- CompareAndSwapAtomicU32
- ComposeCustomBlendMode
- ConvertAudioSamples
- ConvertEventToRenderCoordinates
- ConvertPixels
- ConvertPixelsAndColorspace
- ConvertSurface
- ConvertSurfaceAndColorspace
- CopyFile
- CopyGPUBufferToBuffer
- CopyGPUTextureToTexture
- CopyProperties
- CopyStorageFile
- CreateAsyncIOQueue
- CreateAudioStream
- CreateColorCursor
- CreateCursor
- CreateDirectory
- CreateEnvironment
- CreateGPUBuffer
- CreateGPUComputePipeline
- CreateGPUDevice
- CreateGPUDeviceWithProperties
- CreateGPUGraphicsPipeline
- CreateGPUSampler
- CreateGPUShader
- CreateGPUTexture
- CreateGPUTransferBuffer
- CreateHapticEffect
- CreateMutex
- CreatePalette
- CreatePopupWindow
- CreateProcess
- CreateProcessWithProperties
- CreateProperties
- CreateRWLock
- CreateRenderer
- CreateRendererWithProperties
- CreateSoftwareRenderer
- CreateStorageDirectory
- CreateSurface
- CreateSurfaceFrom
- CreateSurfacePalette
- CreateSystemCursor
- CreateTexture
- CreateTextureFromSurface
- CreateTextureWithProperties
- CreateThread
- CreateThreadRuntime
- CreateThreadWithProperties
- CreateThreadWithPropertiesRuntime
- CreateTray
- CreateTrayMenu
- CreateTraySubmenu
- CreateWindow
- CreateWindowAndRenderer
- CreateWindowWithProperties
- CursorVisible
- DEFINE_AUDIO_FORMAT
- DEFINE_COLORSPACE
- DEFINE_PIXELFORMAT
- DEFINE_PIXELFOURCC
- DateTimeToTime
- Delay
- DelayNS
- DelayPrecise
- DestroyAsyncIOQueue
- DestroyAudioStream
- DestroyCursor
- DestroyEnvironment
- DestroyGPUDevice
- DestroyHapticEffect
- DestroyMutex
- DestroyPalette
- DestroyProcess
- DestroyProperties
- DestroyRWLock
- DestroyRenderer
- DestroySurface
- DestroyTexture
- DestroyTray
- DestroyWindow
- DestroyWindowSurface
- DetachThread
- DetachVirtualJoystick
- DisableScreenSaver
- DispatchGPUCompute
- DispatchGPUComputeIndirect
- DownloadFromGPUBuffer
- DownloadFromGPUTexture
- DrawGPUIndexedPrimitives
- DrawGPUIndexedPrimitivesIndirect
- DrawGPUPrimitives
- DrawGPUPrimitivesIndirect
- DuplicateSurface
- EGL_GetCurrentConfig
- EGL_GetCurrentDisplay
- EGL_GetProcAddress
- EGL_GetWindowSurface
- EGL_SetAttributeCallbacks
- EnableScreenSaver
- EndGPUComputePass
- EndGPUCopyPass
- EndGPURenderPass
- EndThreadFunction
- EnterAppMainCallbacks
- EnumerateDirectory
- EnumerateProperties
- EnumerateStorageDirectory
- EventEnabled
- FOURCC
- FillSurfaceRect
- FillSurfaceRects
- FilterEvents
- FlashWindow
- FlipSurface
- FlushAudioStream
- FlushEvent
- FlushEvents
- FlushIO
- FlushRenderer
- GDKResumeGPU
- GDKSuspendComplete
- GDKSuspendGPU
- GL_CreateContext
- GL_DestroyContext
- GL_ExtensionSupported
- GL_GetAttribute
- GL_GetCurrentContext
- GL_GetCurrentWindow
- GL_GetProcAddress
- GL_GetSwapInterval
- GL_LoadLibrary
- GL_MakeCurrent
- GL_ResetAttributes
- GL_SetAttribute
- GL_SetSwapInterval
- GL_SwapWindow
- GL_UnloadLibrary
- GPUSupportsProperties
- GPUSupportsShaderFormats
- GPUTextureFormatTexelBlockSize
- GPUTextureSupportsFormat
- GPUTextureSupportsSampleCount
- GUIDToString
- GamepadConnected
- GamepadEventsEnabled
- GamepadHasAxis
- GamepadHasButton
- GamepadHasSensor
- GamepadSensorEnabled
- GenerateMipmapsForGPUTexture
- GetAndroidActivity
- GetAndroidCachePath
- GetAndroidExternalStoragePath
- GetAndroidExternalStorageState
- GetAndroidInternalStoragePath
- GetAndroidJNIEnv
- GetAndroidSDKVersion
- GetAppMetadataProperty
- GetAssertionReport
- GetAsyncIOResult
- GetAsyncIOSize
- GetAtomicInt
- GetAtomicPointer
- GetAtomicU32
- GetAudioDeviceChannelMap
- GetAudioDeviceFormat
- GetAudioDeviceGain
- GetAudioDeviceName
- GetAudioDriver
- GetAudioFormatName
- GetAudioPlaybackDevices
- GetAudioRecordingDevices
- GetAudioStreamAvailable
- GetAudioStreamData
- GetAudioStreamDevice
- GetAudioStreamFormat
- GetAudioStreamFrequencyRatio
- GetAudioStreamGain
- GetAudioStreamInputChannelMap
- GetAudioStreamOutputChannelMap
- GetAudioStreamProperties
- GetAudioStreamQueued
- GetBasePath
- GetBooleanProperty
- GetCPUCacheLineSize
- GetCameraDriver
- GetCameraFormat
- GetCameraID
- GetCameraName
- GetCameraPermissionState
- GetCameraPosition
- GetCameraProperties
- GetCameraSupportedFormats
- GetCameras
- GetClipboardData
- GetClipboardMimeTypes
- GetClipboardText
- GetClosestFullscreenDisplayMode
- GetCurrentAudioDriver
- GetCurrentCameraDriver
- GetCurrentDirectory
- GetCurrentDisplayMode
- GetCurrentDisplayOrientation
- GetCurrentRenderOutputSize
- GetCurrentThreadID
- GetCurrentTime
- GetCurrentVideoDriver
- GetCursor
- GetDXGIOutputInfo
- GetDateTimeLocalePreferences
- GetDayOfWeek
- GetDayOfYear
- GetDaysInMonth
- GetDefaultAssertionHandler
- GetDefaultCursor
- GetDefaultLogOutputFunction
- GetDesktopDisplayMode
- GetDirect3D9AdapterIndex
- GetDisplayBounds
- GetDisplayContentScale
- GetDisplayForPoint
- GetDisplayForRect
- GetDisplayForWindow
- GetDisplayName
- GetDisplayProperties
- GetDisplayUsableBounds
- GetDisplays
- GetEnvironment
- GetEnvironmentVariable
- GetEnvironmentVariables
- GetError
- GetEventFilter
- GetFloatProperty
- GetFullscreenDisplayModes
- GetGDKDefaultUser
- GetGDKTaskQueue
- GetGPUDeviceDriver
- GetGPUDriver
- GetGPUShaderFormats
- GetGPUSwapchainTextureFormat
- GetGamepadAppleSFSymbolsNameForAxis
- GetGamepadAppleSFSymbolsNameForButton
- GetGamepadAxis
- GetGamepadAxisFromString
- GetGamepadBindings
- GetGamepadButton
- GetGamepadButtonFromString
- GetGamepadButtonLabel
- GetGamepadButtonLabelForType
- GetGamepadConnectionState
- GetGamepadFirmwareVersion
- GetGamepadFromID
- GetGamepadFromPlayerIndex
- GetGamepadGUIDForID
- GetGamepadID
- GetGamepadJoystick
- GetGamepadMapping
- GetGamepadMappingForGUID
- GetGamepadMappingForID
- GetGamepadMappings
- GetGamepadName
- GetGamepadNameForID
- GetGamepadPath
- GetGamepadPathForID
- GetGamepadPlayerIndex
- GetGamepadPlayerIndexForID
- GetGamepadPowerInfo
- GetGamepadProduct
- GetGamepadProductForID
- GetGamepadProductVersion
- GetGamepadProductVersionForID
- GetGamepadProperties
- GetGamepadSensorData
- GetGamepadSensorDataRate
- GetGamepadSerial
- GetGamepadSteamHandle
- GetGamepadStringForAxis
- GetGamepadStringForButton
- GetGamepadStringForType
- GetGamepadTouchpadFinger
- GetGamepadType
- GetGamepadTypeForID
- GetGamepadTypeFromString
- GetGamepadVendor
- GetGamepadVendorForID
- GetGamepads
- GetGlobalMouseState
- GetGlobalProperties
- GetGrabbedWindow
- GetHapticEffectStatus
- GetHapticFeatures
- GetHapticFromID
- GetHapticID
- GetHapticName
- GetHapticNameForID
- GetHaptics
- GetHint
- GetHintBoolean
- GetIOProperties
- GetIOSize
- GetIOStatus
- GetJoystickAxis
- GetJoystickAxisInitialState
- GetJoystickBall
- GetJoystickButton
- GetJoystickConnectionState
- GetJoystickFirmwareVersion
- GetJoystickFromID
- GetJoystickFromPlayerIndex
- GetJoystickGUID
- GetJoystickGUIDForID
- GetJoystickGUIDInfo
- GetJoystickHat
- GetJoystickID
- GetJoystickName
- GetJoystickNameForID
- GetJoystickPath
- GetJoystickPathForID
- GetJoystickPlayerIndex
- GetJoystickPlayerIndexForID
- GetJoystickPowerInfo
- GetJoystickProduct
- GetJoystickProductForID
- GetJoystickProductVersion
- GetJoystickProductVersionForID
- GetJoystickProperties
- GetJoystickSerial
- GetJoystickType
- GetJoystickTypeForID
- GetJoystickVendor
- GetJoystickVendorForID
- GetJoysticks
- GetKeyFromName
- GetKeyFromScancode
- GetKeyName
- GetKeyboardFocus
- GetKeyboardNameForID
- GetKeyboardState
- GetKeyboards
- GetLogOutputFunction
- GetLogPriority
- GetMasksForPixelFormat
- GetMaxHapticEffects
- GetMaxHapticEffectsPlaying
- GetMemoryFunctions
- GetMice
- GetModState
- GetMouseFocus
- GetMouseNameForID
- GetMouseState
- GetNaturalDisplayOrientation
- GetNumAllocations
- GetNumAudioDrivers
- GetNumCameraDrivers
- GetNumGPUDrivers
- GetNumGamepadTouchpadFingers
- GetNumGamepadTouchpads
- GetNumHapticAxes
- GetNumJoystickAxes
- GetNumJoystickBalls
- GetNumJoystickButtons
- GetNumJoystickHats
- GetNumLogicalCPUCores
- GetNumRenderDrivers
- GetNumVideoDrivers
- GetNumberProperty
- GetOriginalMemoryFunctions
- GetPathInfo
- GetPerformanceCounter
- GetPerformanceFrequency
- GetPixelFormatDetails
- GetPixelFormatForMasks
- GetPixelFormatName
- GetPlatform
- GetPointerProperty
- GetPowerInfo
- GetPrefPath
- GetPreferredLocales
- GetPrimaryDisplay
- GetPrimarySelectionText
- GetProcessInput
- GetProcessOutput
- GetProcessProperties
- GetPropertyType
- GetRGB
- GetRGBA
- GetRealGamepadType
- GetRealGamepadTypeForID
- GetRectAndLineIntersection
- GetRectAndLineIntersectionFloat
- GetRectEnclosingPoints
- GetRectEnclosingPointsFloat
- GetRectIntersection
- GetRectIntersectionFloat
- GetRectUnion
- GetRectUnionFloat
- GetRelativeMouseState
- GetRenderClipRect
- GetRenderColorScale
- GetRenderDrawBlendMode
- GetRenderDrawColor
- GetRenderDrawColorFloat
- GetRenderDriver
- GetRenderLogicalPresentation
- GetRenderLogicalPresentationRect
- GetRenderMetalCommandEncoder
- GetRenderMetalLayer
- GetRenderOutputSize
- GetRenderSafeArea
- GetRenderScale
- GetRenderTarget
- GetRenderVSync
- GetRenderViewport
- GetRenderWindow
- GetRenderer
- GetRendererFromTexture
- GetRendererName
- GetRendererProperties
- GetRevision
- GetSIMDAlignment
- GetSandbox
- GetScancodeFromKey
- GetScancodeFromName
- GetScancodeName
- GetSensorData
- GetSensorFromID
- GetSensorID
- GetSensorName
- GetSensorNameForID
- GetSensorNonPortableType
- GetSensorNonPortableTypeForID
- GetSensorProperties
- GetSensorType
- GetSensorTypeForID
- GetSensors
- GetSilenceValueForFormat
- GetStorageFileSize
- GetStoragePathInfo
- GetStorageSpaceRemaining
- GetStringProperty
- GetSurfaceAlphaMod
- GetSurfaceBlendMode
- GetSurfaceClipRect
- GetSurfaceColorKey
- GetSurfaceColorMod
- GetSurfaceColorspace
- GetSurfaceImages
- GetSurfacePalette
- GetSurfaceProperties
- GetSystemRAM
- GetSystemTheme
- GetTLS
- GetTextInputArea
- GetTextureAlphaMod
- GetTextureAlphaModFloat
- GetTextureBlendMode
- GetTextureColorMod
- GetTextureColorModFloat
- GetTextureProperties
- GetTextureScaleMode
- GetTextureSize
- GetThreadID
- GetThreadName
- GetThreadState
- GetTicks
- GetTicksNS
- GetTouchDeviceName
- GetTouchDeviceType
- GetTouchDevices
- GetTouchFingers
- GetTrayEntries
- GetTrayEntryChecked
- GetTrayEntryEnabled
- GetTrayEntryLabel
- GetTrayEntryParent
- GetTrayMenu
- GetTrayMenuParentEntry
- GetTrayMenuParentTray
- GetTraySubmenu
- GetUserFolder
- GetVersion
- GetVideoDriver
- GetWindowAspectRatio
- GetWindowBordersSize
- GetWindowDisplayScale
- GetWindowFlags
- GetWindowFromEvent
- GetWindowFromID
- GetWindowFullscreenMode
- GetWindowICCProfile
- GetWindowID
- GetWindowKeyboardGrab
- GetWindowMaximumSize
- GetWindowMinimumSize
- GetWindowMouseGrab
- GetWindowMouseRect
- GetWindowOpacity
- GetWindowParent
- GetWindowPixelDensity
- GetWindowPixelFormat
- GetWindowPosition
- GetWindowProperties
- GetWindowRelativeMouseMode
- GetWindowSafeArea
- GetWindowSize
- GetWindowSizeInPixels
- GetWindowSurface
- GetWindowSurfaceVSync
- GetWindowTitle
- GetWindows
- GlobDirectory
- GlobStorageDirectory
- HapticEffectSupported
- HapticRumbleSupported
- HasARMSIMD
- HasAVX
- HasAVX2
- HasAVX512F
- HasAltiVec
- HasClipboardData
- HasClipboardText
- HasEvent
- HasEvents
- HasExactlyOneBitSet32
- HasGamepad
- HasJoystick
- HasKeyboard
- HasLASX
- HasLSX
- HasMMX
- HasMouse
- HasNEON
- HasPrimarySelectionText
- HasProperty
- HasRectIntersection
- HasRectIntersectionFloat
- HasSSE
- HasSSE2
- HasSSE3
- HasSSE41
- HasSSE42
- HasScreenKeyboardSupport
- HideCursor
- HideWindow
- INIT_INTERFACE
- IOFromConstMem
- IOFromDynamicMem
- IOFromFile
- IOFromMem
- IOprintf
- IOvprintf
- ISCOLORSPACE_FULL_RANGE
- ISCOLORSPACE_LIMITED_RANGE
- ISCOLORSPACE_MATRIX_BT2020_NCL
- ISCOLORSPACE_MATRIX_BT601
- ISCOLORSPACE_MATRIX_BT709
- ISPIXELFORMAT_10BIT
- ISPIXELFORMAT_ALPHA
- ISPIXELFORMAT_ARRAY
- ISPIXELFORMAT_FLOAT
- ISPIXELFORMAT_FOURCC
- ISPIXELFORMAT_INDEXED
- ISPIXELFORMAT_PACKED
- Init
- InitHapticRumble
- InitSubSystem
- InsertGPUDebugLabel
- InsertTrayEntryAt
- InvalidParamError
- IsAudioDevicePhysical
- IsAudioDevicePlayback
- IsChromebook
- IsDeXMode
- IsGamepad
- IsJoystickHaptic
- IsJoystickVirtual
- IsMainThread
- IsMouseHaptic
- IsTV
- IsTablet
- JoystickConnected
- JoystickEventsEnabled
- KillProcess
- LoadBMP
- LoadBMP_IO
- LoadFile
- LoadFileAsync
- LoadFile_IO
- LoadFunction
- LoadObject
- LoadWAV
- LoadWAV_IO
- LockAudioStream
- LockJoysticks
- LockMutex
- LockProperties
- LockRWLockForReading
- LockRWLockForWriting
- LockSpinlock
- LockSurface
- LockTexture
- LockTextureToSurface
- Log
- LogCritical
- LogDebug
- LogError
- LogInfo
- LogMessage
- LogMessageV
- LogTrace
- LogVerbose
- LogWarn
- MS_TO_NS
- MUSTLOCK
- MapGPUTransferBuffer
- MapRGB
- MapRGBA
- MapSurfaceRGB
- MapSurfaceRGBA
- MaximizeWindow
- MemoryBarrierAcquire
- MemoryBarrierAcquireFunction
- MemoryBarrierRelease
- MemoryBarrierReleaseFunction
- Metal_CreateView
- Metal_DestroyView
- Metal_GetLayer
- MinimizeWindow
- MixAudio
- MostSignificantBitIndex32
- NS_TO_MS
- NS_TO_SECONDS
- NS_TO_US
- OnApplicationDidChangeStatusBarOrientation
- OnApplicationDidEnterBackground
- OnApplicationDidEnterForeground
- OnApplicationDidReceiveMemoryWarning
- OnApplicationWillEnterBackground
- OnApplicationWillEnterForeground
- OnApplicationWillTerminate
- OpenAudioDevice
- OpenAudioDeviceStream
- OpenCamera
- OpenFileStorage
- OpenGamepad
- OpenHaptic
- OpenHapticFromJoystick
- OpenHapticFromMouse
- OpenIO
- OpenJoystick
- OpenSensor
- OpenStorage
- OpenTitleStorage
- OpenURL
- OpenUserStorage
- OutOfMemory
- PIXELARRAYORDER
- PIXELFLAG
- PIXELLAYOUT
- PIXELORDER
- PIXELTYPE
- PauseAudioDevice
- PauseAudioStreamDevice
- PauseHaptic
- PeepEvents
- PlayHapticRumble
- PointInRect
- PollEvent
- PopGPUDebugGroup
- PremultiplyAlpha
- PremultiplySurfaceAlpha
- PumpEvents
- PushEvent
- PushGPUComputeUniformData
- PushGPUDebugGroup
- PushGPUFragmentUniformData
- PushGPUVertexUniformData
- PutAudioStreamData
- QueryGPUFence
- Quit
- QuitSubSystem
- RaiseWindow
- ReadAsyncIO
- ReadIO
- ReadProcess
- ReadS16BE
- ReadS16LE
- ReadS32BE
- ReadS32LE
- ReadS64BE
- ReadS64LE
- ReadS8
- ReadStorageFile
- ReadSurfacePixel
- ReadSurfacePixelFloat
- ReadU16BE
- ReadU16LE
- ReadU32BE
- ReadU32LE
- ReadU64BE
- ReadU64LE
- ReadU8
- RectEmpty
- RectEqual
- RectToFRect
- RegisterApp
- RegisterEvents
- ReleaseCameraFrame
- ReleaseGPUBuffer
- ReleaseGPUComputePipeline
- ReleaseGPUFence
- ReleaseGPUGraphicsPipeline
- ReleaseGPUSampler
- ReleaseGPUShader
- ReleaseGPUTexture
- ReleaseGPUTransferBuffer
- ReleaseWindowFromGPUDevice
- ReloadGamepadMappings
- RemoveEventWatch
- RemoveHintCallback
- RemovePath
- RemoveStoragePath
- RemoveSurfaceAlternateImages
- RemoveTimer
- RemoveTrayEntry
- RenamePath
- RenameStoragePath
- RenderClear
- RenderClipEnabled
- RenderCoordinatesFromWindow
- RenderCoordinatesToWindow
- RenderDebugText
- RenderDebugTextFormat
- RenderFillRect
- RenderFillRects
- RenderGeometry
- RenderGeometryRaw
- RenderLine
- RenderLines
- RenderPoint
- RenderPoints
- RenderPresent
- RenderReadPixels
- RenderRect
- RenderRects
- RenderTexture
- RenderTexture9Grid
- RenderTextureAffine
- RenderTextureRotated
- RenderTextureTiled
- RenderViewportSet
- ReportAssertion
- RequestAndroidPermission
- ResetAssertionReport
- ResetHint
- ResetHints
- ResetKeyboard
- ResetLogPriorities
- RestoreWindow
- ResumeAudioDevice
- ResumeAudioStreamDevice
- ResumeHaptic
- RumbleGamepad
- RumbleGamepadTriggers
- RumbleJoystick
- RumbleJoystickTriggers
- RunApp
- RunHapticEffect
- RunOnMainThread
- SCANCODE_TO_KEYCODE
- SDL_main
- SECONDS_TO_NS
- SaveBMP
- SaveBMP_IO
- SaveFile
- SaveFile_IO
- ScaleSurface
- ScreenKeyboardShown
- ScreenSaverEnabled
- SeekIO
- SendAndroidBackButton
- SendAndroidMessage
- SendGamepadEffect
- SendJoystickEffect
- SendJoystickVirtualSensorData
- SetAppMetadata
- SetAppMetadataProperty
- SetAssertionHandler
- SetAtomicInt
- SetAtomicPointer
- SetAtomicU32
- SetAudioDeviceGain
- SetAudioPostmixCallback
- SetAudioStreamFormat
- SetAudioStreamFrequencyRatio
- SetAudioStreamGain
- SetAudioStreamGetCallback
- SetAudioStreamInputChannelMap
- SetAudioStreamOutputChannelMap
- SetAudioStreamPutCallback
- SetBooleanProperty
- SetClipboardData
- SetClipboardText
- SetCurrentThreadPriority
- SetCursor
- SetEnvironmentVariable
- SetError
- SetErrorV
- SetEventEnabled
- SetEventFilter
- SetFloatProperty
- SetGPUAllowedFramesInFlight
- SetGPUBlendConstants
- SetGPUBufferName
- SetGPUScissor
- SetGPUStencilReference
- SetGPUSwapchainParameters
- SetGPUTextureName
- SetGPUViewport
- SetGamepadEventsEnabled
- SetGamepadLED
- SetGamepadMapping
- SetGamepadPlayerIndex
- SetGamepadSensorEnabled
- SetHapticAutocenter
- SetHapticGain
- SetHint
- SetHintWithPriority
- SetJoystickEventsEnabled
- SetJoystickLED
- SetJoystickPlayerIndex
- SetJoystickVirtualAxis
- SetJoystickVirtualBall
- SetJoystickVirtualButton
- SetJoystickVirtualHat
- SetJoystickVirtualTouchpad
- SetLinuxThreadPriority
- SetLinuxThreadPriorityAndPolicy
- SetLogOutputFunction
- SetLogPriorities
- SetLogPriority
- SetLogPriorityPrefix
- SetMainReady
- SetMemoryFunctions
- SetModState
- SetNumberProperty
- SetPaletteColors
- SetPointerProperty
- SetPointerPropertyWithCleanup
- SetPrimarySelectionText
- SetRenderClipRect
- SetRenderColorScale
- SetRenderDrawBlendMode
- SetRenderDrawColor
- SetRenderDrawColorFloat
- SetRenderLogicalPresentation
- SetRenderScale
- SetRenderTarget
- SetRenderVSync
- SetRenderViewport
- SetScancodeName
- SetStringProperty
- SetSurfaceAlphaMod
- SetSurfaceBlendMode
- SetSurfaceClipRect
- SetSurfaceColorKey
- SetSurfaceColorMod
- SetSurfaceColorspace
- SetSurfacePalette
- SetSurfaceRLE
- SetTLS
- SetTextInputArea
- SetTextureAlphaMod
- SetTextureAlphaModFloat
- SetTextureBlendMode
- SetTextureColorMod
- SetTextureColorModFloat
- SetTextureScaleMode
- SetTrayEntryCallback
- SetTrayEntryChecked
- SetTrayEntryEnabled
- SetTrayEntryLabel
- SetTrayIcon
- SetTrayTooltip
- SetWindowAlwaysOnTop
- SetWindowAspectRatio
- SetWindowBordered
- SetWindowFocusable
- SetWindowFullscreen
- SetWindowFullscreenMode
- SetWindowHitTest
- SetWindowIcon
- SetWindowKeyboardGrab
- SetWindowMaximumSize
- SetWindowMinimumSize
- SetWindowModal
- SetWindowMouseGrab
- SetWindowMouseRect
- SetWindowOpacity
- SetWindowParent
- SetWindowPosition
- SetWindowRelativeMouseMode
- SetWindowResizable
- SetWindowShape
- SetWindowSize
- SetWindowSurfaceVSync
- SetWindowTitle
- SetWindowsMessageHook
- SetX11EventHook
- SetiOSAnimationCallback
- SetiOSEventPump
- ShowAndroidToast
- ShowCursor
- ShowFileDialogWithProperties
- ShowMessageBox
- ShowOpenFileDialog
- ShowOpenFolderDialog
- ShowSaveFileDialog
- ShowSimpleMessageBox
- ShowWindow
- ShowWindowSystemMenu
- SignalAsyncIOQueue
- StartTextInput
- StartTextInputWithProperties
- StepBackUTF8
- StepUTF8
- StopHapticEffect
- StopHapticEffects
- StopHapticRumble
- StopTextInput
- StorageReady
- StringToGUID
- SubmitGPUCommandBuffer
- SubmitGPUCommandBufferAndAcquireFence
- SurfaceHasAlternateImages
- SurfaceHasColorKey
- SurfaceHasRLE
- Swap16
- Swap16BE
- Swap16LE
- Swap32
- Swap32BE
- Swap32LE
- Swap64
- Swap64BE
- Swap64LE
- SwapFloat
- SwapFloatBE
- SwapFloatLE
- SyncWindow
- TellIO
- TextInputActive
- TimeFromWindows
- TimeToDateTime
- TimeToWindows
- TriggerBreakpoint
- TryLockMutex
- TryLockRWLockForReading
- TryLockRWLockForWriting
- TryLockSpinlock
- UCS4ToUTF8
- US_TO_NS
- UnbindAudioStream
- UnbindAudioStreams
- UnloadObject
- UnlockAudioStream
- UnlockJoysticks
- UnlockMutex
- UnlockProperties
- UnlockRWLock
- UnlockSpinlock
- UnlockSurface
- UnlockTexture
- UnmapGPUTransferBuffer
- UnregisterApp
- UnsetEnvironmentVariable
- Unsupported
- UpdateGamepads
- UpdateHapticEffect
- UpdateJoysticks
- UpdateNVTexture
- UpdateSensors
- UpdateTexture
- UpdateTrays
- UpdateWindowSurface
- UpdateWindowSurfaceRects
- UpdateYUVTexture
- UploadToGPUBuffer
- UploadToGPUTexture
- VERSIONNUM
- VERSIONNUM_MAJOR
- VERSIONNUM_MICRO
- VERSIONNUM_MINOR
- VERSION_ATLEAST
- Vulkan_CreateSurface
- Vulkan_DestroySurface
- Vulkan_GetInstanceExtensions
- Vulkan_GetPresentationSupport
- Vulkan_GetVkGetInstanceProcAddr
- Vulkan_LoadLibrary
- Vulkan_UnloadLibrary
- WINDOWPOS_CENTERED_DISPLAY
- WINDOWPOS_ISCENTERED
- WINDOWPOS_ISUNDEFINED
- WINDOWPOS_UNDEFINED_DISPLAY
- WaitAndAcquireGPUSwapchainTexture
- WaitAsyncIOResult
- WaitEvent
- WaitEventTimeout
- WaitForGPUFences
- WaitForGPUIdle
- WaitForGPUSwapchain
- WaitProcess
- WaitThread
- WarpMouseGlobal
- WarpMouseInWindow
- WasInit
- WindowHasSurface
- WindowSupportsGPUPresentMode
- WindowSupportsGPUSwapchainComposition
- WriteAsyncIO
- WriteIO
- WriteS16BE
- WriteS16LE
- WriteS32BE
- WriteS32LE
- WriteS64BE
- WriteS64LE
- WriteS8
- WriteStorageFile
- WriteSurfacePixel
- WriteSurfacePixelFloat
- WriteU16BE
- WriteU16LE
- WriteU32BE
- WriteU32LE
- WriteU64BE
- WriteU64LE
- WriteU8
- abs
- acos
- acosf
- aligned_alloc
- aligned_free
- asin
- asinf
- asprintf
- assert
- assert_always
- assert_release
- atan
- atan2
- atan2f
- atanf
- atof
- atoi
- bsearch
- bsearch_r
- calloc
- ceil
- ceilf
- clamp
- copyp
- copysign
- copysignf
- cos
- cosf
- crc16
- crc32
- disabled_assert
- enabled_assert
- exp
- expf
- fabs
- fabsf
- floor
- floorf
- fmod
- fmodf
- free
- getenv
- getenv_unsafe
- gl_set_proc_address
- hid_ble_scan
- hid_close
- hid_device_change_count
- hid_enumerate
- hid_exit
- hid_free_enumeration
- hid_get_device_info
- hid_get_feature_report
- hid_get_indexed_string
- hid_get_input_report
- hid_get_manufacturer_string
- hid_get_product_string
- hid_get_report_descriptor
- hid_get_serial_number_string
- hid_init
- hid_open
- hid_open_path
- hid_read
- hid_read_timeout
- hid_send_feature_report
- hid_set_nonblocking
- hid_write
- iconv
- iconv_close
- iconv_open
- iconv_string
- iconv_utf8_locale
- iconv_utf8_ucs2
- iconv_utf8_ucs4
- iconv_wchar_utf8
- isalnum
- isalpha
- isblank
- iscntrl
- isdigit
- isgraph
- isinf
- isinff
- islower
- isnan
- isnanf
- isprint
- ispunct
- isspace
- isupper
- isxdigit
- itoa
- lltoa
- log
- log10
- log10f
- logf
- lround
- lroundf
- ltoa
- malloc
- max
- memcmp
- memcpy
- memmove
- memset
- min
- modf
- modff
- murmur3_32
- pow
- powf
- qsort
- qsort_r
- rand
- rand_bits
- rand_bits_r
- rand_r
- randf
- randf_r
- realloc
- round
- roundf
- scalbn
- scalbnf
- setenv_unsafe
- sin
- sinf
- size_add_check_overflow
- size_add_check_overflow_ptr
- size_mul_check_overflow
- size_mul_check_overflow_ptr
- snprintf
- sqrt
- sqrtf
- srand
- sscanf
- stack_alloc
- strcasecmp
- strcasestr
- strchr
- strcmp
- strdup
- strlcat
- strlcpy
- strlen
- strlwr
- strncasecmp
- strncmp
- strndup
- strnlen
- strnstr
- strpbrk
- strrchr
- strrev
- strstr
- strtod
- strtok_r
- strtol
- strtoll
- strtoul
- strtoull
- strupr
- swprintf
- tan
- tanf
- tolower
- toupper
- trunc
- truncf
- uitoa
- ulltoa
- ultoa
- unsetenv_unsafe
- utf8strlcpy
- utf8strlen
- utf8strnlen
- vasprintf
- vsnprintf
- vsscanf
- vswprintf
- wcscasecmp
- wcscmp
- wcsdup
- wcslcat
- wcslcpy
- wcslen
- wcsncasecmp
- wcsncmp
- wcsnlen
- wcsnstr
- wcsstr
- wcstol
- zeroa
- zerop
Procedure Groups (0)
This section is empty.
Types
AppEvent_func ¶
Related Procedures With Parameters
AppInit_func ¶
Related Procedures With Parameters
AppIterate_func ¶
Related Procedures With Parameters
AppQuit_func ¶
Related Procedures With Parameters
AppResult ¶
AppResult :: enum i32 { CONTINUE, // *< Value that requests that the app continue from the main callbacks. SUCCESS, // *< Value that requests termination with success from the main callbacks. FAILURE, // *< Value that requests termination with error from the main callbacks. }
Related Procedures With Parameters
Related Procedures With Returns
ArrayOrder ¶
ArrayOrder :: enum i32 { NONE, RGB, RGBA, ARGB, BGR, BGRA, ABGR, }
Related Procedures With Returns
AssertData ¶
AssertData :: struct { always_ignore: bool, // *< true if app should always continue when assertion is triggered. trigger_count: u32, // *< Number of times this assertion has been triggered. condition: cstring, // *< A string of this assert's test code. filename: cstring, // *< The source file where this assert lives. linenum: i32, // *< The line in `filename` where this assert lives. function: cstring, // *< The name of the function where this assert lives. next: ^AssertData, }
* * Information about an assertion failure. * * This structure is filled in with information about a triggered assertion, * used by the assertion handler, then added to the assertion report. This is * returned as a linked list from SDL_GetAssertionReport(). * * \since This struct is available since SDL 3.2.0.
Related Procedures With Parameters
Related Procedures With Returns
AssertState ¶
AssertState :: enum i32 { RETRY, // *< Retry the assert immediately. BREAK, // *< Make the debugger trigger a breakpoint. ABORT, // *< Terminate the program. IGNORE, // *< Ignore the assert. ALWAYS_IGNORE, // *< Ignore the assert from now on. }
* * Possible outcomes from a triggered assertion. * * When an enabled assertion triggers, it may call the assertion handler * (possibly one provided by the app via SDL_SetAssertionHandler), which will * return one of these values, possibly after asking the user. * * Then SDL will respond based on this outcome (loop around to retry the * condition, try to break in a debugger, kill the program, or ignore the * problem). * * \since This enum is available since SDL 3.2.0.
Related Procedures With Returns
AssertionHandler ¶
AssertionHandler :: proc "c" (data: ^AssertData, userdata: rawptr) -> AssertState
Related Procedures With Parameters
Related Procedures With Returns
AsyncIOOutcome ¶
AsyncIOOutcome :: struct { asyncio: ^AsyncIO, // *< what generated this task. This pointer will be invalid if it was closed! type: AsyncIOTaskType, // *< What sort of task was this? Read, write, etc? result: AsyncIOResult, // *< the result of the work (success, failure, cancellation). buffer: rawptr, // *< buffer where data was read/written. offset: u64, // *< offset in the SDL_AsyncIO where data was read/written. bytes_requested: u64, // *< number of bytes the task was to read/write. bytes_transferred: u64, // *< actual number of bytes that were read/written. userdata: rawptr, }
Related Procedures With Parameters
AsyncIOQueue ¶
AsyncIOQueue :: struct {}
Related Procedures With Parameters
- CloseAsyncIO
- DestroyAsyncIOQueue
- GetAsyncIOResult
- LoadFileAsync
- ReadAsyncIO
- SignalAsyncIOQueue
- WaitAsyncIOResult
- WriteAsyncIO
Related Procedures With Returns
AsyncIOResult ¶
AsyncIOResult :: enum i32 { COMPLETE, // *< request was completed without error FAILURE, // *< request failed for some reason; check SDL_GetError()! CANCELED, // *< request was canceled before completing. }
AsyncIOTaskType ¶
AsyncIOTaskType :: enum i32 { READ, // *< A read operation. WRITE, // *< A write operation. CLOSE, // *< A close operation. }
AudioDeviceEvent ¶
AudioDeviceEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_AUDIO_DEVICE_ADDED, or SDL_EVENT_AUDIO_DEVICE_REMOVED, or SDL_EVENT_AUDIO_DEVICE_FORMAT_CHANGED which: AudioDeviceID, // *< SDL_AudioDeviceID for the device being added or removed or changing recording: bool, // *< false if a playback device, true if a recording device. _: u8, _: u8, _: u8, }
AudioDeviceID ¶
AudioDeviceID :: distinct u32
Related Procedures With Parameters
- AudioDevicePaused
- BindAudioStream
- BindAudioStreams
- CloseAudioDevice
- GetAudioDeviceChannelMap
- GetAudioDeviceFormat
- GetAudioDeviceGain
- GetAudioDeviceName
- IsAudioDevicePhysical
- IsAudioDevicePlayback
- OpenAudioDevice
- OpenAudioDeviceStream
- PauseAudioDevice
- ResumeAudioDevice
- SetAudioDeviceGain
- SetAudioPostmixCallback
Related Procedures With Returns
Related Constants
AudioFormat ¶
AudioFormat :: enum i32 { UNKNOWN = 0, // *< Unspecified audio format U8 = 8, // *< Unsigned 8-bit samples // DEFINE_AUDIO_FORMAT(0, 0, 0, 8), S8 = 32776, // *< Signed 8-bit samples // DEFINE_AUDIO_FORMAT(1, 0, 0, 8), S16LE = 32784, // *< Signed 16-bit samples // DEFINE_AUDIO_FORMAT(1, 0, 0, 16), S16BE = 36880, // *< As above, but big-endian byte order // DEFINE_AUDIO_FORMAT(1, 1, 0, 16), S32LE = 32800, // *< 32-bit integer samples // DEFINE_AUDIO_FORMAT(1, 0, 0, 32), S32BE = 36896, // *< As above, but big-endian byte order // DEFINE_AUDIO_FORMAT(1, 1, 0, 32), F32LE = 33056, // *< 32-bit floating point samples // DEFINE_AUDIO_FORMAT(1, 0, 1, 32), F32BE = 37152, // *< As above, but big-endian byte order // These represent the current system's byteorder. S16 = 32784, S32 = 32800, F32 = 33056, }
Related Procedures With Parameters
AudioPostmixCallback ¶
Related Procedures With Parameters
AudioSpec ¶
AudioSpec :: struct { format: AudioFormat, // *< Audio data format channels: i32, // *< Number of channels: 1 mono, 2 stereo, etc freq: i32, }
Related Procedures With Parameters
AudioStream ¶
AudioStream :: struct {}
Related Procedures With Parameters
- AudioStreamDevicePaused
- BindAudioStream
- ClearAudioStream
- DestroyAudioStream
- FlushAudioStream
- GetAudioStreamAvailable
- GetAudioStreamData
- GetAudioStreamDevice
- GetAudioStreamFormat
- GetAudioStreamFrequencyRatio
- GetAudioStreamGain
- GetAudioStreamInputChannelMap
- GetAudioStreamOutputChannelMap
- GetAudioStreamProperties
- GetAudioStreamQueued
- LockAudioStream
- PauseAudioStreamDevice
- PutAudioStreamData
- ResumeAudioStreamDevice
- SetAudioStreamFormat
- SetAudioStreamFrequencyRatio
- SetAudioStreamGain
- SetAudioStreamGetCallback
- SetAudioStreamInputChannelMap
- SetAudioStreamOutputChannelMap
- SetAudioStreamPutCallback
- UnbindAudioStream
- UnlockAudioStream
Related Procedures With Returns
AudioStreamCallback ¶
AudioStreamCallback :: proc "c" (userdata: rawptr, stream: ^AudioStream, additional_amount, total_amount: i32)
Related Procedures With Parameters
BitmapOrder ¶
BitmapOrder :: enum i32 { NONE, ORDER_4321, ORDER_1234, }
BlendFactor ¶
BlendFactor :: enum i32 { ZERO = 1, // *< 0, 0, 0, 0 ONE = 2, // *< 1, 1, 1, 1 SRC_COLOR = 3, // *< srcR, srcG, srcB, srcA ONE_MINUS_SRC_COLOR = 4, // *< 1-srcR, 1-srcG, 1-srcB, 1-srcA SRC_ALPHA = 5, // *< srcA, srcA, srcA, srcA ONE_MINUS_SRC_ALPHA = 6, // *< 1-srcA, 1-srcA, 1-srcA, 1-srcA DST_COLOR = 7, // *< dstR, dstG, dstB, dstA ONE_MINUS_DST_COLOR = 8, // *< 1-dstR, 1-dstG, 1-dstB, 1-dstA DST_ALPHA = 9, // *< dstA, dstA, dstA, dstA ONE_MINUS_DST_ALPHA = 10, // *< 1-dstA, 1-dstA, 1-dstA, 1-dstA }
Related Procedures With Parameters
BlendMode ¶
BlendMode :: distinct bit_set[BlendModeFlag; u32]
Related Procedures With Parameters
- GetRenderDrawBlendMode
- GetSurfaceBlendMode
- GetTextureBlendMode
- SetRenderDrawBlendMode
- SetSurfaceBlendMode
- SetTextureBlendMode
Related Procedures With Returns
Related Constants
BlendModeFlag ¶
BlendModeFlag :: enum u32 { BLEND = 0, // log2(0x00000001) BLEND_PREMULTIPLIED = 4, // log2(0x00000010) ADD = 1, // log2(0x00000002) ADD_PREMULTIPLIED = 5, // log2(0x00000020) MOD = 2, // log2(0x00000004) MUL = 3, // log2(0x00000008) }
BlendOperation ¶
BlendOperation :: enum i32 { ADD = 1, // *< dst + src: supported by all renderers SUBTRACT = 2, // *< src - dst : supported by D3D, OpenGL, OpenGLES, and Vulkan REV_SUBTRACT = 3, // *< dst - src : supported by D3D, OpenGL, OpenGLES, and Vulkan MINIMUM = 4, // *< min(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan MAXIMUM = 5, // *< max(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan }
Related Procedures With Parameters
Camera ¶
Camera :: struct {}
Related Procedures With Parameters
- AcquireCameraFrame
- CloseCamera
- GetCameraFormat
- GetCameraID
- GetCameraPermissionState
- GetCameraProperties
- ReleaseCameraFrame
Related Procedures With Returns
CameraDeviceEvent ¶
CameraDeviceEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_CAMERA_DEVICE_ADDED, SDL_EVENT_CAMERA_DEVICE_REMOVED, SDL_EVENT_CAMERA_DEVICE_APPROVED, SDL_EVENT_CAMERA_DEVICE_DENIED which: CameraID, }
CameraID ¶
CameraID :: distinct u32
Related Procedures With Parameters
Related Procedures With Returns
CameraPosition ¶
CameraPosition :: enum i32 { UNKNOWN, FRONT_FACING, BACK_FACING, }
Related Procedures With Returns
CameraSpec ¶
CameraSpec :: struct { format: PixelFormat, // *< Frame format colorspace: Colorspace, // *< Frame colorspace width: i32, // *< Frame width height: i32, // *< Frame height framerate_numerator: i32, // *< Frame rate numerator ((num / denom) == FPS, (denom / num) == duration in seconds) framerate_denominator: i32, }
Related Procedures With Parameters
Capitalization ¶
Capitalization :: enum i32 { NONE, // *< No auto-capitalization will be done SENTENCES, // *< The first letter of sentences will be capitalized WORDS, // *< The first letter of words will be capitalized LETTERS, // *< All letters will be capitalized }
ChromaLocation ¶
ChromaLocation :: enum i32 { NONE = 0, // *< RGB, no chroma sampling LEFT = 1, // *< In MPEG-2, MPEG-4, and AVC, Cb and Cr are taken on midpoint of the left-edge of the 2x2 square. In other words, they have the same horizontal location as the top-left pixel, but is shifted one-half pixel down vertically. CENTER = 2, // *< In JPEG/JFIF, H.261, and MPEG-1, Cb and Cr are taken at the center of the 2x2 square. In other words, they are offset one-half pixel to the right and one-half pixel down compared to the top-left pixel. TOPLEFT = 3, // *< In HEVC for BT.2020 and BT.2100 content (in particular on Blu-rays), Cb and Cr are sampled at the same location as the group's top-left Y pixel ("co-sited", "co-located"). }
Related Procedures With Parameters
Related Procedures With Returns
CleanupPropertyCallback ¶
Related Procedures With Parameters
ClipboardCleanupCallback ¶
ClipboardCleanupCallback :: proc "c" (userdata: rawptr)
Related Procedures With Parameters
ClipboardDataCallback ¶
Related Procedures With Parameters
ClipboardEvent ¶
ClipboardEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_CLIPBOARD_UPDATE owner: bool, // *< are we owning the clipboard (internal update) num_mime_types: i32, // *< number of mime types mime_types: [^]cstring `fmt:"v,num_mime_types"`, }
ColorPrimaries ¶
ColorPrimaries :: enum i32 { UNKNOWN = 0, BT709 = 1, // *< ITU-R BT.709-6 UNSPECIFIED = 2, BT470M = 4, // *< ITU-R BT.470-6 System M BT470BG = 5, // *< ITU-R BT.470-6 System B, G / ITU-R BT.601-7 625 BT601 = 6, // *< ITU-R BT.601-7 525, SMPTE 170M SMPTE240 = 7, // *< SMPTE 240M, functionally the same as SDL_COLOR_PRIMARIES_BT601 GENERIC_FILM = 8, // *< Generic film (color filters using Illuminant C) BT2020 = 9, // *< ITU-R BT.2020-2 / ITU-R BT.2100-0 XYZ = 10, // *< SMPTE ST 428-1 SMPTE431 = 11, // *< SMPTE RP 431-2 SMPTE432 = 12, // *< SMPTE EG 432-1 / DCI P3 EBU3213 = 22, // *< EBU Tech. 3213-E CUSTOM = 31, }
Related Procedures With Parameters
Related Procedures With Returns
ColorRange ¶
ColorRange :: enum i32 { UNKNOWN = 0, LIMITED = 1, // *< Narrow range, e.g. 16-235 for 8-bit RGB and luma, and 16-240 for 8-bit chroma FULL = 2, // *< Full range, e.g. 0-255 for 8-bit RGB and luma, and 1-255 for 8-bit chroma }
Related Procedures With Parameters
Related Procedures With Returns
ColorType ¶
ColorType :: enum i32 { UNKNOWN = 0, RGB = 1, YCBCR = 2, }
Related Procedures With Parameters
Related Procedures With Returns
Colorspace ¶
Colorspace :: enum i32 { UNKNOWN = 0, // sRGB is a gamma corrected colorspace, and the default colorspace for SDL rendering and 8-bit RGB surfaces SRGB = 301991328, // *< Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 // This is a linear colorspace and the default colorspace for floating point surfaces. On Windows this is the scRGB colorspace, and on Apple platforms this is kCGColorSpaceExtendedLinearSRGB for EDR content SRGB_LINEAR = 301991168, // *< Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 // HDR10 is a non-linear HDR colorspace and the default colorspace for 10-bit surfaces HDR10 = 301999616, // *< Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 JPEG = 570426566, // *< Equivalent to DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 BT601_LIMITED = 554703046, // *< Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 BT601_FULL = 571480262, // *< Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 BT709_LIMITED = 554697761, // *< Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 BT709_FULL = 571474977, // *< Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 BT2020_LIMITED = 554706441, // *< Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 BT2020_FULL = 571483657, // *< Equivalent to DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 RGB_DEFAULT = 301991328, // *< The default colorspace for RGB surfaces if no colorspace is specified YUV_DEFAULT = 570426566, // *< The default colorspace for YUV surfaces if no colorspace is specified }
Related Procedures With Parameters
- COLORSPACECHROMA
- COLORSPACEMATRIX
- COLORSPACEPRIMARIES
- COLORSPACERANGE
- COLORSPACETRANSFER
- COLORSPACETYPE
- ConvertPixelsAndColorspace
- ConvertSurfaceAndColorspace
- ISCOLORSPACE_FULL_RANGE
- ISCOLORSPACE_LIMITED_RANGE
- ISCOLORSPACE_MATRIX_BT2020_NCL
- ISCOLORSPACE_MATRIX_BT601
- ISCOLORSPACE_MATRIX_BT709
- SetSurfaceColorspace
Related Procedures With Returns
CompareCallback ¶
Related Procedures With Parameters
CompareCallback_r ¶
Related Procedures With Parameters
DateFormat ¶
DateFormat :: enum i32 { YYYYMMDD = 0, // *< Year/Month/Day DDMMYYYY = 1, // *< Day/Month/Year MMDDYYYY = 2, // *< Month/Day/Year }
Related Procedures With Parameters
DateTime ¶
DateTime :: struct { year: i32, // *< Year month: i32, // *< Month [01-12] day: i32, // *< Day of the month [01-31] hour: i32, // *< Hour [0-23] minute: i32, // *< Minute [0-59] second: i32, // *< Seconds [0-60] nanosecond: i32, // *< Nanoseconds [0-999999999] day_of_week: i32, // *< Day of the week [0-6] (0 being Sunday) utc_offset: i32, }
Related Procedures With Parameters
DialogFileCallback ¶
Related Procedures With Parameters
DialogFileFilter ¶
Related Procedures With Parameters
DisplayEvent ¶
DisplayEvent :: struct { using commonEvent: CommonEvent, // *< SDL_DISPLAYEVENT_* displayID: DisplayID, // *< The associated display data1: i32, // *< event dependent data data2: i32, }
DisplayID ¶
DisplayID :: distinct u32
Related Procedures With Parameters
- GetClosestFullscreenDisplayMode
- GetCurrentDisplayMode
- GetCurrentDisplayOrientation
- GetDXGIOutputInfo
- GetDesktopDisplayMode
- GetDirect3D9AdapterIndex
- GetDisplayBounds
- GetDisplayContentScale
- GetDisplayName
- GetDisplayProperties
- GetDisplayUsableBounds
- GetFullscreenDisplayModes
- GetNaturalDisplayOrientation
Related Procedures With Returns
DisplayMode ¶
DisplayMode :: struct { displayID: DisplayID, // *< the display this mode is associated with format: PixelFormat, // *< pixel format w: i32, // *< width h: i32, // *< height pixel_density: f32, // *< scale converting size to pixels (e.g. a 1920x1080 mode with 2.0 scale would have 3840x2160 pixels) refresh_rate: f32, // *< refresh rate (or 0.0f for unspecified) refresh_rate_numerator: i32, // *< precise refresh rate numerator (or 0 for unspecified) refresh_rate_denominator: i32, // *< precise refresh rate denominator internal: ^DisplayModeData, }
Related Procedures With Parameters
Related Procedures With Returns
DisplayModeData ¶
DisplayModeData :: struct {}
DisplayOrientation ¶
DisplayOrientation :: enum i32 { UNKNOWN, // *< The display orientation can't be determined LANDSCAPE, // *< The display is in landscape mode, with the right side up, relative to portrait mode LANDSCAPE_FLIPPED, // *< The display is in landscape mode, with the left side up, relative to portrait mode PORTRAIT, // *< The display is in portrait mode PORTRAIT_FLIPPED, // *< The display is in portrait mode, upside down }
Related Procedures With Returns
DropEvent ¶
DropEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_DROP_BEGIN or SDL_EVENT_DROP_FILE or SDL_EVENT_DROP_TEXT or SDL_EVENT_DROP_COMPLETE or SDL_EVENT_DROP_POSITION windowID: WindowID, // *< The window that was dropped on, if any x: f32, // *< X coordinate, relative to window (not on begin) y: f32, // *< Y coordinate, relative to window (not on begin) source: cstring, // *< The source app that sent this drop event, or NULL if that isn't available data: cstring, }
EGLAttrib ¶
EGLAttrib :: distinct uintptr
EGLAttribArrayCallback ¶
Related Procedures With Parameters
EGLIntArrayCallback ¶
EGLIntArrayCallback :: proc "c" (userdata: rawptr, display: EGLDisplay, config: EGLConfig) -> [^]EGLint
Related Procedures With Parameters
EnumerateDirectoryCallback ¶
EnumerateDirectoryCallback :: proc "c" (userdata: rawptr, dirname, fname: cstring) -> EnumerationResult
Related Procedures With Parameters
EnumeratePropertiesCallback ¶
EnumeratePropertiesCallback :: proc "c" (userdata: rawptr, props: PropertiesID, name: cstring)
Related Procedures With Parameters
EnumerationResult ¶
EnumerationResult :: enum i32 { CONTINUE, // *< Value that requests that enumeration continue. SUCCESS, // *< Value that requests that enumeration stop, successfully. FAILURE, // *< Value that requests that enumeration stop, as a failure. }
Environment ¶
Environment :: struct {}
Related Procedures With Parameters
- DestroyEnvironment
- GetEnvironmentVariable
- GetEnvironmentVariables
- SetEnvironmentVariable
- UnsetEnvironmentVariable
Related Procedures With Returns
Event ¶
Event :: struct #raw_union { type: EventType, // *< Event type, shared with all events, Uint32 to cover user events which are not in the SDL_EventType enumeration common: CommonEvent, // *< Common event data display: DisplayEvent, // *< Display event data window: WindowEvent, // *< Window event data kdevice: KeyboardDeviceEvent, // *< Keyboard device change event data key: KeyboardEvent, // *< Keyboard event data edit: TextEditingEvent, // *< Text editing event data edit_candidates: TextEditingCandidatesEvent, // *< Text editing candidates event data text: TextInputEvent, // *< Text input event data mdevice: MouseDeviceEvent, // *< Mouse device change event data motion: MouseMotionEvent, // *< Mouse motion event data button: MouseButtonEvent, // *< Mouse button event data wheel: MouseWheelEvent, // *< Mouse wheel event data jdevice: JoyDeviceEvent, // *< Joystick device change event data jaxis: JoyAxisEvent, // *< Joystick axis event data jball: JoyBallEvent, // *< Joystick ball event data jhat: JoyHatEvent, // *< Joystick hat event data jbutton: JoyButtonEvent, // *< Joystick button event data jbattery: JoyBatteryEvent, // *< Joystick battery event data gdevice: GamepadDeviceEvent, // *< Gamepad device event data gaxis: GamepadAxisEvent, // *< Gamepad axis event data gbutton: GamepadButtonEvent, // *< Gamepad button event data gtouchpad: GamepadTouchpadEvent, // *< Gamepad touchpad event data gsensor: GamepadSensorEvent, // *< Gamepad sensor event data adevice: AudioDeviceEvent, // *< Audio device event data cdevice: CameraDeviceEvent, // *< Camera device event data sensor: SensorEvent, // *< Sensor event data quit: QuitEvent, // *< Quit request event data user: UserEvent, // *< Custom event data tfinger: TouchFingerEvent, // *< Touch finger event data pproximity: PenProximityEvent, // *< Pen proximity event data ptouch: PenTouchEvent, // *< Pen tip touching event data pmotion: PenMotionEvent, // *< Pen motion event data pbutton: PenButtonEvent, // *< Pen button event data paxis: PenAxisEvent, // *< Pen axis event data render: RenderEvent, // *< Render event data drop: DropEvent, // *< Drag and drop event data clipboard: ClipboardEvent, // This is necessary for ABI compatibility between Visual C++ and GCC. // Visual C++ will respect the push pack pragma and use 52 bytes (size of // SDL_TextEditingEvent, the largest structure for 32-bit and 64-bit // architectures) for this union, and GCC will use the alignment of the // largest datatype within the union, which is 8 bytes on 64-bit // architectures. // // So... we'll add _to force the size to be the same for both. // // On architectures where pointers are 16 bytes, this needs rounding up to // the next multiple of 16, 64, and on architectures where pointers are // even larger the size of SDL_UserEvent will dominate as being 3 pointers. padding: [128]u8, }
Related Procedures With Parameters
EventAction ¶
EventAction :: enum i32 { ADDEVENT, // *< Add events to the back of the queue. PEEKEVENT, // *< Check but don't remove events from the queue front. GETEVENT, // *< Retrieve/remove events from the front of the queue. }
Related Procedures With Parameters
EventFilter ¶
Related Procedures With Parameters
EventType ¶
EventType :: enum u32 { FIRST = 0, // *< Unused (do not remove) // Application events QUIT = 256, // *< User-requested quit // These application events have special meaning on iOS and Android, see README-ios.md and README-android.md for details TERMINATING, // *< The application is being terminated by the OS. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationWillTerminate() Called on Android in onDestroy() LOW_MEMORY, // *< The application is low on memory, free memory if possible. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationDidReceiveMemoryWarning() Called on Android in onTrimMemory() WILL_ENTER_BACKGROUND, // *< The application is about to enter the background. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationWillResignActive() Called on Android in onPause() DID_ENTER_BACKGROUND, // *< The application did enter the background and may not get CPU for some time. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationDidEnterBackground() Called on Android in onPause() WILL_ENTER_FOREGROUND, // *< The application is about to enter the foreground. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationWillEnterForeground() Called on Android in onResume() DID_ENTER_FOREGROUND, // *< The application is now interactive. This event must be handled in a callback set with SDL_AddEventWatch(). Called on iOS in applicationDidBecomeActive() Called on Android in onResume() LOCALE_CHANGED, // *< The user's locale preferences have changed. SYSTEM_THEME_CHANGED, // *< The system theme changed // Display events // 0x150 was SDL_DISPLAYEVENT, reserve the number for sdl2-compat DISPLAY_ORIENTATION = 337, // *< Display orientation has changed to data1 DISPLAY_ADDED, // *< Display has been added to the system DISPLAY_REMOVED, // *< Display has been removed from the system DISPLAY_MOVED, // *< Display has changed position DISPLAY_DESKTOP_MODE_CHANGED, // *< Display has changed desktop mode DISPLAY_CURRENT_MODE_CHANGED, // *< Display has changed current mode DISPLAY_CONTENT_SCALE_CHANGED, // *< Display has changed content scale DISPLAY_FIRST = 337, DISPLAY_LAST = 343, // Window events // 0x200 was SDL_WINDOWEVENT, reserve the number for sdl2-compat // 0x201 was SYSWM, reserve the number for sdl2-compat WINDOW_SHOWN = 514, // *< Window has been shown WINDOW_HIDDEN, // *< Window has been hidden WINDOW_EXPOSED, // *< Window has been exposed and should be redrawn, and can be redrawn directly from event watchers for this event WINDOW_MOVED, // *< Window has been moved to data1, data2 WINDOW_RESIZED, // *< Window has been resized to data1xdata2 WINDOW_PIXEL_SIZE_CHANGED, // *< The pixel size of the window has changed to data1xdata2 WINDOW_METAL_VIEW_RESIZED, // *< The pixel size of a Metal view associated with the window has changed WINDOW_MINIMIZED, // *< Window has been minimized WINDOW_MAXIMIZED, // *< Window has been maximized WINDOW_RESTORED, // *< Window has been restored to normal size and position WINDOW_MOUSE_ENTER, // *< Window has gained mouse focus WINDOW_MOUSE_LEAVE, // *< Window has lost mouse focus WINDOW_FOCUS_GAINED, // *< Window has gained keyboard focus WINDOW_FOCUS_LOST, // *< Window has lost keyboard focus WINDOW_CLOSE_REQUESTED, // *< The window manager requests that the window be closed WINDOW_HIT_TEST, // *< Window had a hit test that wasn't SDL_HITTEST_NORMAL WINDOW_ICCPROF_CHANGED, // *< The ICC profile of the window's display has changed WINDOW_DISPLAY_CHANGED, // *< Window has been moved to display data1 WINDOW_DISPLAY_SCALE_CHANGED, // *< Window display scale has been changed WINDOW_SAFE_AREA_CHANGED, // *< The window safe area has been changed WINDOW_OCCLUDED, // *< The window has been occluded WINDOW_ENTER_FULLSCREEN, // *< The window has entered fullscreen mode WINDOW_LEAVE_FULLSCREEN, // *< The window has left fullscreen mode WINDOW_DESTROYED, // *< The window with the associated ID is being or has been destroyed. If this message is being handled in an event watcher, the window handle is still valid and can still be used to retrieve any properties associated with the window. Otherwise, the handle has already been destroyed and all resources associated with it are invalid WINDOW_HDR_STATE_CHANGED, // *< Window HDR properties have changed WINDOW_FIRST = 514, WINDOW_LAST = 538, // Keyboard events KEY_DOWN = 768, // *< Key pressed KEY_UP, // *< Key released TEXT_EDITING, // *< Keyboard text editing (composition) TEXT_INPUT, // *< Keyboard text input KEYMAP_CHANGED, // *< Keymap changed due to a system event such as an input language or keyboard layout change. KEYBOARD_ADDED, // *< A new keyboard has been inserted into the system KEYBOARD_REMOVED, // *< A keyboard has been removed TEXT_EDITING_CANDIDATES, // *< Keyboard text editing candidates // Mouse events MOUSE_MOTION = 1024, // *< Mouse moved MOUSE_BUTTON_DOWN, // *< Mouse button pressed MOUSE_BUTTON_UP, // *< Mouse button released MOUSE_WHEEL, // *< Mouse wheel motion MOUSE_ADDED, // *< A new mouse has been inserted into the system MOUSE_REMOVED, // *< A mouse has been removed // Joystick events JOYSTICK_AXIS_MOTION = 1536, // *< Joystick axis motion JOYSTICK_BALL_MOTION, // *< Joystick trackball motion JOYSTICK_HAT_MOTION, // *< Joystick hat position change JOYSTICK_BUTTON_DOWN, // *< Joystick button pressed JOYSTICK_BUTTON_UP, // *< Joystick button released JOYSTICK_ADDED, // *< A new joystick has been inserted into the system JOYSTICK_REMOVED, // *< An opened joystick has been removed JOYSTICK_BATTERY_UPDATED, // *< Joystick battery level change JOYSTICK_UPDATE_COMPLETE, // *< Joystick update is complete // Gamepad events GAMEPAD_AXIS_MOTION = 1616, // *< Gamepad axis motion GAMEPAD_BUTTON_DOWN, // *< Gamepad button pressed GAMEPAD_BUTTON_UP, // *< Gamepad button released GAMEPAD_ADDED, // *< A new gamepad has been inserted into the system GAMEPAD_REMOVED, // *< A gamepad has been removed GAMEPAD_REMAPPED, // *< The gamepad mapping was updated GAMEPAD_TOUCHPAD_DOWN, // *< Gamepad touchpad was touched GAMEPAD_TOUCHPAD_MOTION, // *< Gamepad touchpad finger was moved GAMEPAD_TOUCHPAD_UP, // *< Gamepad touchpad finger was lifted GAMEPAD_SENSOR_UPDATE, // *< Gamepad sensor was updated GAMEPAD_UPDATE_COMPLETE, // *< Gamepad update is complete GAMEPAD_STEAM_HANDLE_UPDATED, // *< Gamepad Steam handle has changed // Touch events FINGER_DOWN = 1792, FINGER_UP, FINGER_MOTION, FINGER_CANCELED, // Clipboard events CLIPBOARD_UPDATE = 2304, // *< The clipboard or primary selection changed // Drag and drop events DROP_FILE = 4096, // *< The system requests a file open DROP_TEXT, // *< text/plain drag-and-drop event DROP_BEGIN, // *< A new set of drops is beginning (NULL filename) DROP_COMPLETE, // *< Current set of drops is now complete (NULL filename) DROP_POSITION, // *< Position while moving over the window // Audio hotplug events AUDIO_DEVICE_ADDED = 4352, // *< A new audio device is available AUDIO_DEVICE_REMOVED, // *< An audio device has been removed. AUDIO_DEVICE_FORMAT_CHANGED, // *< An audio device's format has been changed by the system. // Sensor events SENSOR_UPDATE = 4608, // *< A sensor was updated // Pressure-sensitive pen events PEN_PROXIMITY_IN = 4864, // *< Pressure-sensitive pen has become available PEN_PROXIMITY_OUT, // *< Pressure-sensitive pen has become unavailable PEN_DOWN, // *< Pressure-sensitive pen touched drawing surface PEN_UP, // *< Pressure-sensitive pen stopped touching drawing surface PEN_BUTTON_DOWN, // *< Pressure-sensitive pen button pressed PEN_BUTTON_UP, // *< Pressure-sensitive pen button released PEN_MOTION, // *< Pressure-sensitive pen is moving on the tablet PEN_AXIS, // *< Pressure-sensitive pen angle/pressure/etc changed // Camera hotplug events CAMERA_DEVICE_ADDED = 5120, // *< A new camera device is available CAMERA_DEVICE_REMOVED, // *< A camera device has been removed. CAMERA_DEVICE_APPROVED, // *< A camera device has been approved for use by the user. CAMERA_DEVICE_DENIED, // *< A camera device has been denied for use by the user. // Render events RENDER_TARGETS_RESET = 8192, // *< The render targets have been reset and their contents need to be updated RENDER_DEVICE_RESET, // *< The device has been reset and all textures need to be recreated RENDER_DEVICE_LOST, // *< The device has been lost and can't be recovered. // Reserved events for private platforms PRIVATE0 = 16384, PRIVATE1, PRIVATE2, PRIVATE3, // Internal events POLL_SENTINEL = 32512, // *< Signals the end of an event poll cycle // Events USER through LAST are for your use, // * and should be allocated with SDL_RegisterEvents() USER = 32768, // * // * This last event is only for bounding internal arrays LAST = 65535, }
Related Procedures With Parameters
FRect ¶
Related Procedures With Parameters
FileDialogType ¶
FileDialogType :: enum i32 { OPENFILE, SAVEFILE, OPENFOLDER, }
Related Procedures With Parameters
FingerID ¶
FingerID :: distinct u64
FlashOperation ¶
FlashOperation :: enum i32 { CANCEL, // *< Cancel any window flash state BRIEFLY, // *< Flash the window briefly to get attention UNTIL_FOCUSED, // *< Flash the window until it gets focus }
Related Procedures With Parameters
FlipMode ¶
FlipMode :: enum i32 { NONE, // *< Do not flip HORIZONTAL, // *< flip horizontally VERTICAL, // *< flip vertically }
Related Procedures With Parameters
Folder ¶
Folder :: enum i32 { HOME, // *< The folder which contains all of the current user's data, preferences, and documents. It usually contains most of the other folders. If a requested folder does not exist, the home folder can be considered a safe fallback to store a user's documents. DESKTOP, // *< The folder of files that are displayed on the desktop. Note that the existence of a desktop folder does not guarantee that the system does show icons on its desktop; certain GNU/Linux distros with a graphical environment may not have desktop icons. DOCUMENTS, // *< User document files, possibly application-specific. This is a good place to save a user's projects. DOWNLOADS, // *< Standard folder for user files downloaded from the internet. MUSIC, // *< Music files that can be played using a standard music player (mp3, ogg...). PICTURES, // *< Image files that can be displayed using a standard viewer (png, jpg...). PUBLICSHARE, // *< Files that are meant to be shared with other users on the same computer. SAVEDGAMES, // *< Save files for games. SCREENSHOTS, // *< Application screenshots. TEMPLATES, // *< Template files to be used when the user requests the desktop environment to create a new file in a certain folder, such as "New Text File.txt". Any file in the Templates folder can be used as a starting point for a new file. VIDEOS, // *< Video files that can be played using a standard video player (mp4, webm...). }
Related Procedures With Parameters
FunctionPointer ¶
FunctionPointer :: proc "c" ()
Related Procedures With Parameters
Related Procedures With Returns
GLAttr ¶
GLAttr :: enum i32 { RED_SIZE, // *< the minimum number of bits for the red channel of the color buffer; defaults to 3. GREEN_SIZE, // *< the minimum number of bits for the green channel of the color buffer; defaults to 3. BLUE_SIZE, // *< the minimum number of bits for the blue channel of the color buffer; defaults to 2. ALPHA_SIZE, // *< the minimum number of bits for the alpha channel of the color buffer; defaults to 0. BUFFER_SIZE, // *< the minimum number of bits for frame buffer size; defaults to 0. DOUBLEBUFFER, // *< whether the output is single or double buffered; defaults to double buffering on. DEPTH_SIZE, // *< the minimum number of bits in the depth buffer; defaults to 16. STENCIL_SIZE, // *< the minimum number of bits in the stencil buffer; defaults to 0. ACCUM_RED_SIZE, // *< the minimum number of bits for the red channel of the accumulation buffer; defaults to 0. ACCUM_GREEN_SIZE, // *< the minimum number of bits for the green channel of the accumulation buffer; defaults to 0. ACCUM_BLUE_SIZE, // *< the minimum number of bits for the blue channel of the accumulation buffer; defaults to 0. ACCUM_ALPHA_SIZE, // *< the minimum number of bits for the alpha channel of the accumulation buffer; defaults to 0. STEREO, // *< whether the output is stereo 3D; defaults to off. MULTISAMPLEBUFFERS, // *< the number of buffers used for multisample anti-aliasing; defaults to 0. MULTISAMPLESAMPLES, // *< the number of samples used around the current pixel used for multisample anti-aliasing. ACCELERATED_VISUAL, // *< set to 1 to require hardware acceleration, set to 0 to force software rendering; defaults to allow either. RETAINED_BACKING, // *< not used (deprecated). CONTEXT_MAJOR_VERSION, // *< OpenGL context major version. CONTEXT_MINOR_VERSION, // *< OpenGL context minor version. CONTEXT_FLAGS, // *< some combination of 0 or more of elements of the SDL_GLContextFlag enumeration; defaults to 0. CONTEXT_PROFILE_MASK, // *< type of GL context (Core, Compatibility, ES). See SDL_GLProfile; default value depends on platform. SHARE_WITH_CURRENT_CONTEXT, // *< OpenGL context sharing; defaults to 0. FRAMEBUFFER_SRGB_CAPABLE, // *< requests sRGB capable visual; defaults to 0. CONTEXT_RELEASE_BEHAVIOR, // *< sets context the release behavior. See SDL_GLContextReleaseFlag; defaults to FLUSH. CONTEXT_RESET_NOTIFICATION, // *< set context reset notification. See SDL_GLContextResetNotification; defaults to NO_NOTIFICATION. CONTEXT_NO_ERROR, FLOATBUFFERS, EGL_PLATFORM, }
Related Procedures With Parameters
Related Constants
- GL_ACCELERATED_VISUAL
- GL_ACCUM_ALPHA_SIZE
- GL_ACCUM_BLUE_SIZE
- GL_ACCUM_GREEN_SIZE
- GL_ACCUM_RED_SIZE
- GL_ALPHA_SIZE
- GL_BLUE_SIZE
- GL_BUFFER_SIZE
- GL_CONTEXT_FLAGS
- GL_CONTEXT_MAJOR_VERSION
- GL_CONTEXT_MINOR_VERSION
- GL_CONTEXT_NO_ERROR
- GL_CONTEXT_PROFILE_MASK
- GL_CONTEXT_RELEASE_BEHAVIOR
- GL_CONTEXT_RESET_NOTIFICATION
- GL_DEPTH_SIZE
- GL_DOUBLEBUFFER
- GL_EGL_PLATFORM
- GL_FLOATBUFFERS
- GL_FRAMEBUFFER_SRGB_CAPABLE
- GL_GREEN_SIZE
- GL_MULTISAMPLEBUFFERS
- GL_MULTISAMPLESAMPLES
- GL_RED_SIZE
- GL_RETAINED_BACKING
- GL_SHARE_WITH_CURRENT_CONTEXT
- GL_STENCIL_SIZE
- GL_STEREO
GLContext ¶
GLContext :: ^GLContextState
GLContextFlagBit ¶
GLContextFlagBit :: enum u32 { DEBUG = 0, FORWARD_COMPATIBLE = 1, ROBUST_ACCESS = 2, RESET_ISOLATION = 3, }
GLContextReleaseFlag ¶
GLContextReleaseFlag :: distinct bit_set[GLContextReleaseFlagBit; u32]
Related Constants
GLContextReleaseFlagBit ¶
GLContextReleaseFlagBit :: enum u32 { BEHAVIOR_FLUSH = 0, }
GLContextResetNotification ¶
GLContextResetNotification :: distinct bit_set[GLContextResetNotificationFlag; u32]
Related Constants
GLContextResetNotificationFlag ¶
GLContextResetNotificationFlag :: enum u32 { LOSE_CONTEXT = 0, }
GLContextState ¶
GLContextState :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
GLProfileFlag ¶
GLProfileFlag :: enum u32 { CORE = 0, // *< OpenGL Core Profile context COMPATIBILITY = 1, // *< OpenGL Compatibility Profile context ES = 2, // *< GLX_CONTEXT_ES2_PROFILE_BIT_EXT }
GPUBlendFactor ¶
GPUBlendFactor :: enum i32 { INVALID, ZERO, // *< 0 ONE, // *< 1 SRC_COLOR, // *< source color ONE_MINUS_SRC_COLOR, // *< 1 - source color DST_COLOR, // *< destination color ONE_MINUS_DST_COLOR, // *< 1 - destination color SRC_ALPHA, // *< source alpha ONE_MINUS_SRC_ALPHA, // *< 1 - source alpha DST_ALPHA, // *< destination alpha ONE_MINUS_DST_ALPHA, // *< 1 - destination alpha CONSTANT_COLOR, // *< blend constant ONE_MINUS_CONSTANT_COLOR, // *< 1 - blend constant SRC_ALPHA_SATURATE, // *< min(source alpha, 1 - destination alpha) }
GPUBlendOp ¶
GPUBlendOp :: enum i32 { INVALID, ADD, // *< (source * source_factor) + (destination * destination_factor) SUBTRACT, // *< (source * source_factor) - (destination * destination_factor) REVERSE_SUBTRACT, // *< (destination * destination_factor) - (source * source_factor) MIN, // *< min(source, destination) MAX, // *< max(source, destination) }
GPUBlitInfo ¶
GPUBlitInfo :: struct { source: GPUBlitRegion, // *< The source region for the blit. destination: GPUBlitRegion, // *< The destination region for the blit. load_op: GPULoadOp, // *< What is done with the contents of the destination before the blit. clear_color: FColor, // *< The color to clear the destination region to before the blit. Ignored if load_op is not GPU_LOADOP_CLEAR. flip_mode: FlipMode, // *< The flip mode for the source region. filter: GPUFilter, // *< The filter mode used when blitting. cycle: bool, // *< true cycles the destination texture if it is already bound. _: u8, _: u8, _: u8, }
Related Procedures With Parameters
GPUBlitRegion ¶
GPUBlitRegion :: struct { texture: ^GPUTexture, // *< The texture. mip_level: u32, // *< The mip level index of the region. layer_or_depth_plane: u32, // *< The layer index or depth plane of the region. This value is treated as a layer index on 2D array and cube textures, and as a depth plane on 3D textures. x: u32, // *< The left offset of the region. y: u32, // *< The top offset of the region. w: u32, // *< The width of the region. h: u32, }
GPUBuffer ¶
GPUBuffer :: struct {}
Related Procedures With Parameters
- DispatchGPUComputeIndirect
- DrawGPUIndexedPrimitivesIndirect
- DrawGPUPrimitivesIndirect
- ReleaseGPUBuffer
- SetGPUBufferName
Related Procedures With Returns
GPUBufferBinding ¶
Related Procedures With Parameters
GPUBufferCreateInfo ¶
GPUBufferCreateInfo :: struct { usage: GPUBufferUsageFlags, // *< How the buffer is intended to be used by the client. size: u32, // *< The size in bytes of the buffer. props: PropertiesID, }
Related Procedures With Parameters
GPUBufferLocation ¶
Related Procedures With Parameters
GPUBufferRegion ¶
GPUBufferRegion :: struct { buffer: ^GPUBuffer, // *< The buffer. offset: u32, // *< The starting byte within the buffer. size: u32, }
Related Procedures With Parameters
GPUBufferUsageFlag ¶
GPUBufferUsageFlag :: enum u32 { VERTEX = 0, // *< Buffer is a vertex buffer. INDEX = 1, // *< Buffer is an index buffer. INDIRECT = 2, // *< Buffer is an indirect buffer. GRAPHICS_STORAGE_READ = 3, // *< Buffer supports storage reads in graphics stages. COMPUTE_STORAGE_READ = 4, // *< Buffer supports storage reads in the compute stage. COMPUTE_STORAGE_WRITE = 5, // *< Buffer supports storage writes in the compute stage. }
GPUBufferUsageFlags ¶
GPUBufferUsageFlags :: distinct bit_set[GPUBufferUsageFlag; u32]
GPUColorComponentFlag ¶
GPUColorComponentFlag :: enum u8 { R = 0, // *< the red component G = 1, // *< the green component B = 2, // *< the blue component A = 3, // *< the alpha component }
GPUColorComponentFlags ¶
GPUColorComponentFlags :: distinct bit_set[GPUColorComponentFlag; u8]
GPUColorTargetBlendState ¶
GPUColorTargetBlendState :: struct { src_color_blendfactor: GPUBlendFactor, // *< The value to be multiplied by the source RGB value. dst_color_blendfactor: GPUBlendFactor, // *< The value to be multiplied by the destination RGB value. color_blend_op: GPUBlendOp, // *< The blend operation for the RGB components. src_alpha_blendfactor: GPUBlendFactor, // *< The value to be multiplied by the source alpha. dst_alpha_blendfactor: GPUBlendFactor, // *< The value to be multiplied by the destination alpha. alpha_blend_op: GPUBlendOp, // *< The blend operation for the alpha component. color_write_mask: GPUColorComponentFlags, // *< A bitmask specifying which of the RGBA components are enabled for writing. Writes to all channels if enable_color_write_mask is false. enable_blend: bool, // *< Whether blending is enabled for the color target. enable_color_write_mask: bool, // *< Whether the color write mask is enabled. _: u8, _: u8, }
GPUColorTargetDescription ¶
GPUColorTargetDescription :: struct { format: GPUTextureFormat, // *< The pixel format of the texture to be used as a color target. blend_state: GPUColorTargetBlendState, }
GPUColorTargetInfo ¶
GPUColorTargetInfo :: struct { texture: ^GPUTexture, // *< The texture that will be used as a color target by a render pass. mip_level: u32, // *< The mip level to use as a color target. layer_or_depth_plane: u32, // *< The layer index or depth plane to use as a color target. This value is treated as a layer index on 2D array and cube textures, and as a depth plane on 3D textures. clear_color: FColor, // *< The color to clear the color target to at the start of the render pass. Ignored if GPU_LOADOP_CLEAR is not used. load_op: GPULoadOp, // *< What is done with the contents of the color target at the beginning of the render pass. store_op: GPUStoreOp, // *< What is done with the results of the render pass. resolve_texture: ^GPUTexture, // *< The texture that will receive the results of a multisample resolve operation. Ignored if a RESOLVE* store_op is not used. resolve_mip_level: u32, // *< The mip level of the resolve texture to use for the resolve operation. Ignored if a RESOLVE* store_op is not used. resolve_layer: u32, // *< The layer index of the resolve texture to use for the resolve operation. Ignored if a RESOLVE* store_op is not used. cycle: bool, // *< true cycles the texture if the texture is bound and load_op is not LOAD cycle_resolve_texture: bool, // *< true cycles the resolve texture if the resolve texture is bound. Ignored if a RESOLVE* store_op is not used. _: u8, _: u8, }
Related Procedures With Parameters
GPUCommandBuffer ¶
GPUCommandBuffer :: struct {}
Related Procedures With Parameters
- AcquireGPUSwapchainTexture
- BeginGPUComputePass
- BeginGPUCopyPass
- BeginGPURenderPass
- BlitGPUTexture
- CancelGPUCommandBuffer
- GenerateMipmapsForGPUTexture
- InsertGPUDebugLabel
- PopGPUDebugGroup
- PushGPUComputeUniformData
- PushGPUDebugGroup
- PushGPUFragmentUniformData
- PushGPUVertexUniformData
- SubmitGPUCommandBuffer
- SubmitGPUCommandBufferAndAcquireFence
- WaitAndAcquireGPUSwapchainTexture
Related Procedures With Returns
GPUCompareOp ¶
GPUCompareOp :: enum i32 { INVALID, NEVER, // *< The comparison always evaluates false. LESS, // *< The comparison evaluates reference < test. EQUAL, // *< The comparison evaluates reference == test. LESS_OR_EQUAL, // *< The comparison evaluates reference <= test. GREATER, // *< The comparison evaluates reference > test. NOT_EQUAL, // *< The comparison evaluates reference != test. GREATER_OR_EQUAL, // *< The comparison evalutes reference >= test. ALWAYS, // *< The comparison always evaluates true. }
GPUComputePass ¶
GPUComputePass :: struct {}
Related Procedures With Parameters
- BindGPUComputePipeline
- BindGPUComputeSamplers
- BindGPUComputeStorageBuffers
- BindGPUComputeStorageTextures
- DispatchGPUCompute
- DispatchGPUComputeIndirect
- EndGPUComputePass
Related Procedures With Returns
GPUComputePipeline ¶
GPUComputePipeline :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
GPUComputePipelineCreateInfo ¶
GPUComputePipelineCreateInfo :: struct { code_size: uint, // *< The size in bytes of the compute shader code pointed to. code: [^]u8, // *< A pointer to compute shader code. entrypoint: cstring, // *< A pointer to a null-terminated UTF-8 string specifying the entry point function name for the shader. format: GPUShaderFormat, // *< The format of the compute shader code. num_samplers: u32, // *< The number of samplers defined in the shader. num_readonly_storage_textures: u32, // *< The number of readonly storage textures defined in the shader. num_readonly_storage_buffers: u32, // *< The number of readonly storage buffers defined in the shader. num_readwrite_storage_textures: u32, // *< The number of read-write storage textures defined in the shader. num_readwrite_storage_buffers: u32, // *< The number of read-write storage buffers defined in the shader. num_uniform_buffers: u32, // *< The number of uniform buffers defined in the shader. threadcount_x: u32, // *< The number of threads in the X dimension. This should match the value in the shader. threadcount_y: u32, // *< The number of threads in the Y dimension. This should match the value in the shader. threadcount_z: u32, // *< The number of threads in the Z dimension. This should match the value in the shader. props: PropertiesID, }
Related Procedures With Parameters
GPUCopyPass ¶
GPUCopyPass :: struct {}
Related Procedures With Parameters
- CopyGPUBufferToBuffer
- CopyGPUTextureToTexture
- DownloadFromGPUBuffer
- DownloadFromGPUTexture
- EndGPUCopyPass
- UploadToGPUBuffer
- UploadToGPUTexture
Related Procedures With Returns
GPUCubeMapFace ¶
GPUCubeMapFace :: enum i32 { POSITIVEX, NEGATIVEX, POSITIVEY, NEGATIVEY, POSITIVEZ, NEGATIVEZ, }
GPUCullMode ¶
GPUCullMode :: enum i32 { NONE, // *< No triangles are culled. FRONT, // *< Front-facing triangles are culled. BACK, // *< Back-facing triangles are culled. }
GPUDepthStencilState ¶
GPUDepthStencilState :: struct { compare_op: GPUCompareOp, // *< The comparison operator used for depth testing. back_stencil_state: GPUStencilOpState, // *< The stencil op state for back-facing triangles. front_stencil_state: GPUStencilOpState, // *< The stencil op state for front-facing triangles. compare_mask: u8, // *< Selects the bits of the stencil values participating in the stencil test. write_mask: u8, // *< Selects the bits of the stencil values updated by the stencil test. enable_depth_test: bool, // *< true enables the depth test. enable_depth_write: bool, // *< true enables depth writes. Depth writes are always disabled when enable_depth_test is false. enable_stencil_test: bool, // *< true enables the stencil test. _: u8, _: u8, _: u8, }
GPUDepthStencilTargetInfo ¶
GPUDepthStencilTargetInfo :: struct { texture: ^GPUTexture, // *< The texture that will be used as the depth stencil target by the render pass. clear_depth: f32, // *< The value to clear the depth component to at the beginning of the render pass. Ignored if GPU_LOADOP_CLEAR is not used. load_op: GPULoadOp, // *< What is done with the depth contents at the beginning of the render pass. store_op: GPUStoreOp, // *< What is done with the depth results of the render pass. stencil_load_op: GPULoadOp, // *< What is done with the stencil contents at the beginning of the render pass. stencil_store_op: GPUStoreOp, // *< What is done with the stencil results of the render pass. cycle: bool, // *< true cycles the texture if the texture is bound and any load ops are not LOAD clear_stencil: u8, // *< The value to clear the stencil component to at the beginning of the render pass. Ignored if GPU_LOADOP_CLEAR is not used. _: u8, _: u8, }
GPUDevice ¶
GPUDevice :: struct {}
Related Procedures With Parameters
- AcquireGPUCommandBuffer
- ClaimWindowForGPUDevice
- CreateGPUBuffer
- CreateGPUComputePipeline
- CreateGPUGraphicsPipeline
- CreateGPUSampler
- CreateGPUShader
- CreateGPUTexture
- CreateGPUTransferBuffer
- DestroyGPUDevice
- GDKResumeGPU
- GDKSuspendGPU
- GPUTextureSupportsFormat
- GPUTextureSupportsSampleCount
- GetGPUDeviceDriver
- GetGPUShaderFormats
- GetGPUSwapchainTextureFormat
- MapGPUTransferBuffer
- QueryGPUFence
- ReleaseGPUBuffer
- ReleaseGPUComputePipeline
- ReleaseGPUFence
- ReleaseGPUGraphicsPipeline
- ReleaseGPUSampler
- ReleaseGPUShader
- ReleaseGPUTexture
- ReleaseGPUTransferBuffer
- ReleaseWindowFromGPUDevice
- SetGPUAllowedFramesInFlight
- SetGPUBufferName
- SetGPUSwapchainParameters
- SetGPUTextureName
- UnmapGPUTransferBuffer
- WaitForGPUFences
- WaitForGPUIdle
- WaitForGPUSwapchain
- WindowSupportsGPUPresentMode
- WindowSupportsGPUSwapchainComposition
Related Procedures With Returns
GPUFillMode ¶
GPUFillMode :: enum i32 { FILL, // *< Polygons will be rendered via rasterization. LINE, // *< Polygon edges will be drawn as line segments. }
GPUFilter ¶
GPUFilter :: enum i32 { NEAREST, // *< Point filtering. LINEAR, // *< Linear filtering. }
GPUFrontFace ¶
GPUFrontFace :: enum i32 { COUNTER_CLOCKWISE, // *< A triangle with counter-clockwise vertex winding will be considered front-facing. CLOCKWISE, // *< A triangle with clockwise vertex winding will be considered front-facing. }
GPUGraphicsPipeline ¶
GPUGraphicsPipeline :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
GPUGraphicsPipelineCreateInfo ¶
GPUGraphicsPipelineCreateInfo :: struct { vertex_shader: ^GPUShader, // *< The vertex shader used by the graphics pipeline. fragment_shader: ^GPUShader, // *< The fragment shader used by the graphics pipeline. vertex_input_state: GPUVertexInputState, // *< The vertex layout of the graphics pipeline. primitive_type: GPUPrimitiveType, // *< The primitive topology of the graphics pipeline. rasterizer_state: GPURasterizerState, // *< The rasterizer state of the graphics pipeline. multisample_state: GPUMultisampleState, // *< The multisample state of the graphics pipeline. depth_stencil_state: GPUDepthStencilState, // *< The depth-stencil state of the graphics pipeline. target_info: GPUGraphicsPipelineTargetInfo, // *< Formats and blend modes for the render targets of the graphics pipeline. props: PropertiesID, }
Related Procedures With Parameters
GPUGraphicsPipelineTargetInfo ¶
GPUGraphicsPipelineTargetInfo :: struct { color_target_descriptions: [^]GPUColorTargetDescription `fmt:"v,num_color_targets"`, // *< A pointer to an array of color target descriptions. num_color_targets: u32, // *< The number of color target descriptions in the above array. depth_stencil_format: GPUTextureFormat, // *< The pixel format of the depth-stencil target. Ignored if has_depth_stencil_target is false. has_depth_stencil_target: bool, // *< true specifies that the pipeline uses a depth-stencil target. _: u8, _: u8, _: u8, }
GPUIndexElementSize ¶
GPUIndexElementSize :: enum i32 { _16BIT, // *< The index elements are 16-bit. _32BIT, // *< The index elements are 32-bit. }
Related Procedures With Parameters
GPUIndexedIndirectDrawCommand ¶
GPUIndexedIndirectDrawCommand :: struct { num_indices: u32, // *< The number of indices to draw per instance. num_instances: u32, // *< The number of instances to draw. first_index: u32, // *< The base index within the index buffer. vertex_offset: i32, // *< The value added to the vertex index before indexing into the vertex buffer. first_instance: u32, }
GPULoadOp ¶
GPULoadOp :: enum i32 { LOAD, // *< The previous contents of the texture will be preserved. CLEAR, // *< The contents of the texture will be cleared to a color. DONT_CARE, // *< The previous contents of the texture need not be preserved. The contents will be undefined. }
GPUMultisampleState ¶
GPUMultisampleState :: struct { sample_count: GPUSampleCount, // *< The number of samples to be used in rasterization. sample_mask: u32, // *< Determines which samples get updated in the render targets. Treated as 0xFFFFFFFF if enable_mask is false. enable_mask: bool, // *< Enables sample masking. _: u8, _: u8, _: u8, }
GPUPresentMode ¶
GPUPresentMode :: enum i32 { VSYNC, IMMEDIATE, MAILBOX, }
Related Procedures With Parameters
GPUPrimitiveType ¶
GPUPrimitiveType :: enum i32 { TRIANGLELIST, // *< A series of separate triangles. TRIANGLESTRIP, // *< A series of connected triangles. LINELIST, // *< A series of separate lines. LINESTRIP, // *< A series of connected lines. POINTLIST, // *< A series of separate points. }
GPURasterizerState ¶
GPURasterizerState :: struct { fill_mode: GPUFillMode, // *< Whether polygons will be filled in or drawn as lines. cull_mode: GPUCullMode, // *< The facing direction in which triangles will be culled. front_face: GPUFrontFace, // *< The vertex winding that will cause a triangle to be determined as front-facing. depth_bias_constant_factor: f32, // *< A scalar factor controlling the depth value added to each fragment. depth_bias_clamp: f32, // *< The maximum depth bias of a fragment. depth_bias_slope_factor: f32, // *< A scalar factor applied to a fragment's slope in depth calculations. enable_depth_bias: bool, // *< true to bias fragment depth values. enable_depth_clip: bool, // *< true to enable depth clip, false to enable depth clamp. _: u8, _: u8, }
GPURenderPass ¶
GPURenderPass :: struct {}
Related Procedures With Parameters
- BindGPUFragmentSamplers
- BindGPUFragmentStorageBuffers
- BindGPUFragmentStorageTextures
- BindGPUGraphicsPipeline
- BindGPUIndexBuffer
- BindGPUVertexBuffers
- BindGPUVertexSamplers
- BindGPUVertexStorageBuffers
- BindGPUVertexStorageTextures
- DrawGPUIndexedPrimitives
- DrawGPUIndexedPrimitivesIndirect
- DrawGPUPrimitives
- DrawGPUPrimitivesIndirect
- EndGPURenderPass
- SetGPUBlendConstants
- SetGPUScissor
- SetGPUStencilReference
- SetGPUViewport
Related Procedures With Returns
GPUSampleCount ¶
GPUSampleCount :: enum i32 { _1, // *< No multisampling. _2, // *< MSAA 2x _4, // *< MSAA 4x _8, // *< MSAA 8x }
Related Procedures With Parameters
GPUSampler ¶
GPUSampler :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
GPUSamplerAddressMode ¶
GPUSamplerAddressMode :: enum i32 { REPEAT, // *< Specifies that the coordinates will wrap around. MIRRORED_REPEAT, // *< Specifies that the coordinates will wrap around mirrored. CLAMP_TO_EDGE, // *< Specifies that the coordinates will clamp to the 0-1 range. }
GPUSamplerCreateInfo ¶
GPUSamplerCreateInfo :: struct { min_filter: GPUFilter, // *< The minification filter to apply to lookups. mag_filter: GPUFilter, // *< The magnification filter to apply to lookups. mipmap_mode: GPUSamplerMipmapMode, // *< The mipmap filter to apply to lookups. address_mode_u: GPUSamplerAddressMode, // *< The addressing mode for U coordinates outside [0, 1). address_mode_v: GPUSamplerAddressMode, // *< The addressing mode for V coordinates outside [0, 1). address_mode_w: GPUSamplerAddressMode, // *< The addressing mode for W coordinates outside [0, 1). mip_lod_bias: f32, // *< The bias to be added to mipmap LOD calculation. max_anisotropy: f32, // *< The anisotropy value clamp used by the sampler. If enable_anisotropy is false, this is ignored. compare_op: GPUCompareOp, // *< The comparison operator to apply to fetched data before filtering. min_lod: f32, // *< Clamps the minimum of the computed LOD value. max_lod: f32, // *< Clamps the maximum of the computed LOD value. enable_anisotropy: bool, // *< true to enable anisotropic filtering. enable_compare: bool, // *< true to enable comparison against a reference value during lookups. _: u8, _: u8, props: PropertiesID, }
Related Procedures With Parameters
GPUSamplerMipmapMode ¶
GPUSamplerMipmapMode :: enum i32 { NEAREST, // *< Point filtering. LINEAR, // *< Linear filtering. }
GPUShader ¶
GPUShader :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
GPUShaderCreateInfo ¶
GPUShaderCreateInfo :: struct { code_size: uint, // *< The size in bytes of the code pointed to. code: [^]u8, // *< A pointer to shader code. entrypoint: cstring, // *< A pointer to a null-terminated UTF-8 string specifying the entry point function name for the shader. format: GPUShaderFormat, // *< The format of the shader code. stage: GPUShaderStage, // *< The stage the shader program corresponds to. num_samplers: u32, // *< The number of samplers defined in the shader. num_storage_textures: u32, // *< The number of storage textures defined in the shader. num_storage_buffers: u32, // *< The number of storage buffers defined in the shader. num_uniform_buffers: u32, // *< The number of uniform buffers defined in the shader. props: PropertiesID, }
Related Procedures With Parameters
GPUShaderFormat ¶
GPUShaderFormat :: distinct bit_set[GPUShaderFormatFlag; u32]
Related Procedures With Parameters
Related Procedures With Returns
Related Constants
GPUShaderFormatFlag ¶
GPUShaderFormatFlag :: enum u32 { PRIVATE = 0, // *< Shaders for NDA'd platforms. SPIRV = 1, // *< SPIR-V shaders for Vulkan. DXBC = 2, // *< DXBC SM5_1 shaders for D3D12. DXIL = 3, // *< DXIL SM6_0 shaders for D3D12. MSL = 4, // *< MSL shaders for Metal. METALLIB = 5, // *< Precompiled metallib shaders for Metal. }
GPUShaderStage ¶
GPUShaderStage :: enum i32 { VERTEX, FRAGMENT, }
GPUStencilOp ¶
GPUStencilOp :: enum i32 { INVALID, KEEP, // *< Keeps the current value. ZERO, // *< Sets the value to 0. REPLACE, // *< Sets the value to reference. INCREMENT_AND_CLAMP, // *< Increments the current value and clamps to the maximum value. DECREMENT_AND_CLAMP, // *< Decrements the current value and clamps to 0. INVERT, // *< Bitwise-inverts the current value. INCREMENT_AND_WRAP, // *< Increments the current value and wraps back to 0. DECREMENT_AND_WRAP, // *< Decrements the current value and wraps to the maximum value. }
GPUStencilOpState ¶
GPUStencilOpState :: struct { fail_op: GPUStencilOp, // *< The action performed on samples that fail the stencil test. pass_op: GPUStencilOp, // *< The action performed on samples that pass the depth and stencil tests. depth_fail_op: GPUStencilOp, // *< The action performed on samples that pass the stencil test and fail the depth test. compare_op: GPUCompareOp, }
GPUStorageBufferReadWriteBinding ¶
GPUStorageBufferReadWriteBinding :: struct { buffer: ^GPUBuffer, // *< The buffer to bind. Must have been created with GPU_BUFFERUSAGE_COMPUTE_STORAGE_WRITE. cycle: bool, // *< true cycles the buffer if it is already bound. _: u8, _: u8, _: u8, }
Related Procedures With Parameters
GPUStorageTextureReadWriteBinding ¶
GPUStorageTextureReadWriteBinding :: struct { texture: ^GPUTexture, // *< The texture to bind. Must have been created with GPU_TEXTUREUSAGE_COMPUTE_STORAGE_WRITE or GPU_TEXTUREUSAGE_COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE. mip_level: u32, // *< The mip level index to bind. layer: u32, // *< The layer index to bind. cycle: bool, // *< true cycles the texture if it is already bound. _: u8, _: u8, _: u8, }
Related Procedures With Parameters
GPUStoreOp ¶
GPUStoreOp :: enum i32 { STORE, // *< The contents generated during the render pass will be written to memory. DONT_CARE, // *< The contents generated during the render pass are not needed and may be discarded. The contents will be undefined. RESOLVE, // *< The multisample contents generated during the render pass will be resolved to a non-multisample texture. The contents in the multisample texture may then be discarded and will be undefined. RESOLVE_AND_STORE, // *< The multisample contents generated during the render pass will be resolved to a non-multisample texture. The contents in the multisample texture will be written to memory. }
GPUSwapchainComposition ¶
GPUSwapchainComposition :: enum i32 { SDR, SDR_LINEAR, HDR_EXTENDED_LINEAR, HDR10_ST2084, }
Related Procedures With Parameters
GPUTexture ¶
GPUTexture :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
GPUTextureCreateInfo ¶
GPUTextureCreateInfo :: struct { type: GPUTextureType, // *< The base dimensionality of the texture. format: GPUTextureFormat, // *< The pixel format of the texture. usage: GPUTextureUsageFlags, // *< How the texture is intended to be used by the client. width: u32, // *< The width of the texture. height: u32, // *< The height of the texture. layer_count_or_depth: u32, // *< The layer count or depth of the texture. This value is treated as a layer count on 2D array textures, and as a depth value on 3D textures. num_levels: u32, // *< The number of mip levels in the texture. sample_count: GPUSampleCount, // *< The number of samples per texel. Only applies if the texture is used as a render target. props: PropertiesID, }
Related Procedures With Parameters
GPUTextureFormat ¶
GPUTextureFormat :: enum i32 { INVALID, // Unsigned Normalized Float Color Formats A8_UNORM, R8_UNORM, R8G8_UNORM, R8G8B8A8_UNORM, R16_UNORM, R16G16_UNORM, R16G16B16A16_UNORM, R10G10B10A2_UNORM, B5G6R5_UNORM, B5G5R5A1_UNORM, B4G4R4A4_UNORM, B8G8R8A8_UNORM, // Compressed Unsigned Normalized Float Color Formats BC1_RGBA_UNORM, BC2_RGBA_UNORM, BC3_RGBA_UNORM, BC4_R_UNORM, BC5_RG_UNORM, BC7_RGBA_UNORM, // Compressed Signed Float Color Formats BC6H_RGB_FLOAT, // Compressed Unsigned Float Color Formats BC6H_RGB_UFLOAT, // Signed Normalized Float Color Formats R8_SNORM, R8G8_SNORM, R8G8B8A8_SNORM, R16_SNORM, R16G16_SNORM, R16G16B16A16_SNORM, // Signed Float Color Formats R16_FLOAT, R16G16_FLOAT, R16G16B16A16_FLOAT, R32_FLOAT, R32G32_FLOAT, R32G32B32A32_FLOAT, // Unsigned Float Color Formats R11G11B10_UFLOAT, // Unsigned Integer Color Formats R8_UINT, R8G8_UINT, R8G8B8A8_UINT, R16_UINT, R16G16_UINT, R16G16B16A16_UINT, R32_UINT, R32G32_UINT, R32G32B32A32_UINT, // Signed Integer Color Formats R8_INT, R8G8_INT, R8G8B8A8_INT, R16_INT, R16G16_INT, R16G16B16A16_INT, R32_INT, R32G32_INT, R32G32B32A32_INT, // SRGB Unsigned Normalized Color Formats R8G8B8A8_UNORM_SRGB, B8G8R8A8_UNORM_SRGB, // Compressed SRGB Unsigned Normalized Color Formats BC1_RGBA_UNORM_SRGB, BC2_RGBA_UNORM_SRGB, BC3_RGBA_UNORM_SRGB, BC7_RGBA_UNORM_SRGB, // Depth Formats D16_UNORM, D24_UNORM, D32_FLOAT, D24_UNORM_S8_UINT, D32_FLOAT_S8_UINT, // Compressed ASTC Normalized Float Color Formats ASTC_4x4_UNORM, ASTC_5x4_UNORM, ASTC_5x5_UNORM, ASTC_6x5_UNORM, ASTC_6x6_UNORM, ASTC_8x5_UNORM, ASTC_8x6_UNORM, ASTC_8x8_UNORM, ASTC_10x5_UNORM, ASTC_10x6_UNORM, ASTC_10x8_UNORM, ASTC_10x10_UNORM, ASTC_12x10_UNORM, ASTC_12x12_UNORM, // Compressed SRGB ASTC Normalized Float Color Formats ASTC_4x4_UNORM_SRGB, ASTC_5x4_UNORM_SRGB, ASTC_5x5_UNORM_SRGB, ASTC_6x5_UNORM_SRGB, ASTC_6x6_UNORM_SRGB, ASTC_8x5_UNORM_SRGB, ASTC_8x6_UNORM_SRGB, ASTC_8x8_UNORM_SRGB, ASTC_10x5_UNORM_SRGB, ASTC_10x6_UNORM_SRGB, ASTC_10x8_UNORM_SRGB, ASTC_10x10_UNORM_SRGB, ASTC_12x10_UNORM_SRGB, ASTC_12x12_UNORM_SRGB, // Compressed ASTC Signed Float Color Formats ASTC_4x4_FLOAT, ASTC_5x4_FLOAT, ASTC_5x5_FLOAT, ASTC_6x5_FLOAT, ASTC_6x6_FLOAT, ASTC_8x5_FLOAT, ASTC_8x6_FLOAT, ASTC_8x8_FLOAT, ASTC_10x5_FLOAT, ASTC_10x6_FLOAT, ASTC_10x8_FLOAT, ASTC_10x10_FLOAT, ASTC_12x10_FLOAT, ASTC_12x12_FLOAT, }
Related Procedures With Parameters
- CalculateGPUTextureFormatSize
- GPUTextureFormatTexelBlockSize
- GPUTextureSupportsFormat
- GPUTextureSupportsSampleCount
Related Procedures With Returns
GPUTextureLocation ¶
GPUTextureLocation :: struct { texture: ^GPUTexture, // *< The texture used in the copy operation. mip_level: u32, // *< The mip level index of the location. layer: u32, // *< The layer index of the location. x: u32, // *< The left offset of the location. y: u32, // *< The top offset of the location. z: u32, }
Related Procedures With Parameters
GPUTextureRegion ¶
GPUTextureRegion :: struct { texture: ^GPUTexture, // *< The texture used in the copy operation. mip_level: u32, // *< The mip level index to transfer. layer: u32, // *< The layer index to transfer. x: u32, // *< The left offset of the region. y: u32, // *< The top offset of the region. z: u32, // *< The front offset of the region. w: u32, // *< The width of the region. h: u32, // *< The height of the region. d: u32, }
Related Procedures With Parameters
GPUTextureSamplerBinding ¶
GPUTextureSamplerBinding :: struct { texture: ^GPUTexture, // *< The texture to bind. Must have been created with GPU_TEXTUREUSAGE_SAMPLER. sampler: ^GPUSampler, }
Related Procedures With Parameters
GPUTextureTransferInfo ¶
GPUTextureTransferInfo :: struct { transfer_buffer: ^GPUTransferBuffer, // *< The transfer buffer used in the transfer operation. offset: u32, // *< The starting byte of the image data in the transfer buffer. pixels_per_row: u32, // *< The number of pixels from one row to the next. rows_per_layer: u32, }
Related Procedures With Parameters
GPUTextureType ¶
GPUTextureType :: enum i32 { D2, // *< The texture is a 2-dimensional image. D2_ARRAY, // *< The texture is a 2-dimensional array image. D3, // *< The texture is a 3-dimensional image. CUBE, // *< The texture is a cube image. CUBE_ARRAY, // *< The texture is a cube array image. }
Related Procedures With Parameters
GPUTextureUsageFlag ¶
GPUTextureUsageFlag :: enum u32 { SAMPLER = 0, // *< Texture supports sampling. COLOR_TARGET = 1, // *< Texture is a color render target. DEPTH_STENCIL_TARGET = 2, // *< Texture is a depth stencil target. GRAPHICS_STORAGE_READ = 3, // *< Texture supports storage reads in graphics stages. COMPUTE_STORAGE_READ = 4, // *< Texture supports storage reads in the compute stage. COMPUTE_STORAGE_WRITE = 5, // *< Texture supports storage writes in the compute stage. COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE = 6, // *< Texture supports reads and writes in the same compute shader. This is NOT equivalent to READ | WRITE. }
GPUTextureUsageFlags ¶
GPUTextureUsageFlags :: distinct bit_set[GPUTextureUsageFlag; u32]
Related Procedures With Parameters
GPUTransferBuffer ¶
GPUTransferBuffer :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
GPUTransferBufferCreateInfo ¶
GPUTransferBufferCreateInfo :: struct { usage: GPUTransferBufferUsage, // *< How the transfer buffer is intended to be used by the client. size: u32, // *< The size in bytes of the transfer buffer. props: PropertiesID, }
Related Procedures With Parameters
GPUTransferBufferLocation ¶
GPUTransferBufferLocation :: struct { transfer_buffer: ^GPUTransferBuffer, // *< The transfer buffer used in the transfer operation. offset: u32, }
Related Procedures With Parameters
GPUTransferBufferUsage ¶
GPUTransferBufferUsage :: enum i32 { UPLOAD, DOWNLOAD, }
GPUVertexAttribute ¶
GPUVertexAttribute :: struct { location: u32, // *< The shader input location index. buffer_slot: u32, // *< The binding slot of the associated vertex buffer. format: GPUVertexElementFormat, // *< The size and type of the attribute data. offset: u32, }
GPUVertexBufferDescription ¶
GPUVertexBufferDescription :: struct { slot: u32, // *< The binding slot of the vertex buffer. pitch: u32, // *< The byte pitch between consecutive elements of the vertex buffer. input_rate: GPUVertexInputRate, // *< Whether attribute addressing is a function of the vertex index or instance index. instance_step_rate: u32, }
GPUVertexElementFormat ¶
GPUVertexElementFormat :: enum i32 { INVALID, // 32-bit Signed Integers INT, INT2, INT3, INT4, // 32-bit Unsigned Integers UINT, UINT2, UINT3, UINT4, // 32-bit Floats FLOAT, FLOAT2, FLOAT3, FLOAT4, // 8-bit Signed Integers BYTE2, BYTE4, // 8-bit Unsigned Integers UBYTE2, UBYTE4, // 8-bit Signed Normalized BYTE2_NORM, BYTE4_NORM, // 8-bit Unsigned Normalized UBYTE2_NORM, UBYTE4_NORM, // 16-bit Signed Integers SHORT2, SHORT4, // 16-bit Unsigned Integers USHORT2, USHORT4, // 16-bit Signed Normalized SHORT2_NORM, SHORT4_NORM, // 16-bit Unsigned Normalized USHORT2_NORM, USHORT4_NORM, // 16-bit Floats HALF2, HALF4, }
GPUVertexInputRate ¶
GPUVertexInputRate :: enum i32 { VERTEX, // *< Attribute addressing is a function of the vertex index. INSTANCE, // *< Attribute addressing is a function of the instance index. }
GPUVertexInputState ¶
GPUVertexInputState :: struct { vertex_buffer_descriptions: [^]GPUVertexBufferDescription `fmt:"v,num_vertex_buffers"`, // *< A pointer to an array of vertex buffer descriptions. num_vertex_buffers: u32, // *< The number of vertex buffer descriptions in the above array. vertex_attributes: [^]GPUVertexAttribute `fmt:"v,num_vertex_attributes"`, // *< A pointer to an array of vertex attribute descriptions. num_vertex_attributes: u32, }
GPUViewport ¶
GPUViewport :: struct { x: f32, // *< The left offset of the viewport. y: f32, // *< The top offset of the viewport. w: f32, // *< The width of the viewport. h: f32, // *< The height of the viewport. min_depth: f32, // *< The minimum depth of the viewport. max_depth: f32, }
Related Procedures With Parameters
GUID ¶
GUID :: struct { data: [16]u8, }
Related Procedures With Parameters
Related Procedures With Returns
Gamepad ¶
Gamepad :: struct {}
Related Procedures With Parameters
- CloseGamepad
- GamepadConnected
- GamepadHasAxis
- GamepadHasButton
- GamepadHasSensor
- GamepadSensorEnabled
- GetGamepadAppleSFSymbolsNameForAxis
- GetGamepadAppleSFSymbolsNameForButton
- GetGamepadAxis
- GetGamepadBindings
- GetGamepadButton
- GetGamepadButtonLabel
- GetGamepadConnectionState
- GetGamepadFirmwareVersion
- GetGamepadID
- GetGamepadJoystick
- GetGamepadMapping
- GetGamepadName
- GetGamepadPath
- GetGamepadPlayerIndex
- GetGamepadPowerInfo
- GetGamepadProduct
- GetGamepadProductVersion
- GetGamepadProperties
- GetGamepadSensorData
- GetGamepadSensorDataRate
- GetGamepadSerial
- GetGamepadSteamHandle
- GetGamepadTouchpadFinger
- GetGamepadType
- GetGamepadVendor
- GetNumGamepadTouchpadFingers
- GetNumGamepadTouchpads
- GetRealGamepadType
- RumbleGamepad
- RumbleGamepadTriggers
- SendGamepadEffect
- SetGamepadLED
- SetGamepadPlayerIndex
- SetGamepadSensorEnabled
Related Procedures With Returns
GamepadAxis ¶
GamepadAxis :: enum i32 { INVALID = -1, LEFTX, LEFTY, RIGHTX, RIGHTY, LEFT_TRIGGER, RIGHT_TRIGGER, }
Related Procedures With Parameters
Related Procedures With Returns
GamepadAxisEvent ¶
GamepadAxisEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_AXIS_MOTION which: JoystickID, // *< The joystick instance id axis: u8, // *< The joystick axis index _: u8, _: u8, _: u8, value: i16, // *< The axis value (range: -32768 to 32767) _: u16, }
GamepadBinding ¶
GamepadBinding :: struct { input_type: GamepadBindingType, input: struct #raw_union { button: i32, axis: struct { axis: i32, axis_min: i32, axis_max: i32, }, hat: struct { hat: i32, hat_mask: i32, }, }, output_type: GamepadBindingType, output: struct #raw_union { button: GamepadButton, axis: struct { axis: GamepadAxis, axis_min: i32, axis_max: i32, }, }, }
GamepadBindingType ¶
GamepadBindingType :: enum i32 { NONE = 0, BUTTON, AXIS, HAT, }
GamepadButton ¶
GamepadButton :: enum i32 { INVALID = -1, SOUTH, // *< Bottom face button (e.g. Xbox A button) EAST, // *< Right face button (e.g. Xbox B button) WEST, // *< Left face button (e.g. Xbox X button) NORTH, // *< Top face button (e.g. Xbox Y button) BACK, GUIDE, START, LEFT_STICK, RIGHT_STICK, LEFT_SHOULDER, RIGHT_SHOULDER, DPAD_UP, DPAD_DOWN, DPAD_LEFT, DPAD_RIGHT, MISC1, // *< Additional button (e.g. Xbox Series X share button, PS5 microphone button, Nintendo Switch Pro capture button, Amazon Luna microphone button, Google Stadia capture button) RIGHT_PADDLE1, // *< Upper or primary paddle, under your right hand (e.g. Xbox Elite paddle P1) LEFT_PADDLE1, // *< Upper or primary paddle, under your left hand (e.g. Xbox Elite paddle P3) RIGHT_PADDLE2, // *< Lower or secondary paddle, under your right hand (e.g. Xbox Elite paddle P2) LEFT_PADDLE2, // *< Lower or secondary paddle, under your left hand (e.g. Xbox Elite paddle P4) TOUCHPAD, // *< PS4/PS5 touchpad button MISC2, // *< Additional button MISC3, // *< Additional button MISC4, // *< Additional button MISC5, // *< Additional button MISC6, // *< Additional button }
Related Procedures With Parameters
- GamepadHasButton
- GetGamepadAppleSFSymbolsNameForButton
- GetGamepadButton
- GetGamepadButtonLabel
- GetGamepadButtonLabelForType
- GetGamepadStringForButton
Related Procedures With Returns
GamepadButtonEvent ¶
GamepadButtonEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_BUTTON_DOWN or SDL_EVENT_JOYSTICK_BUTTON_UP which: JoystickID, // *< The joystick instance id button: u8, // *< The joystick button index down: bool, // *< true if the button is pressed _: u8, _: u8, }
GamepadButtonLabel ¶
GamepadButtonLabel :: enum i32 { UNKNOWN, A, B, X, Y, CROSS, CIRCLE, SQUARE, TRIANGLE, }
Related Procedures With Returns
GamepadDeviceEvent ¶
GamepadDeviceEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_ADDED or SDL_EVENT_JOYSTICK_REMOVED or SDL_EVENT_JOYSTICK_UPDATE_COMPLETE which: JoystickID, }
GamepadSensorEvent ¶
GamepadSensorEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_GAMEPAD_SENSOR_UPDATE which: JoystickID, // *< The joystick instance id sensor: i32, // *< The type of the sensor, one of the values of SDL_SensorType data: [3]f32, // *< Up to 3 values from the sensor, as defined in SDL_sensor.h sensor_timestamp: u64, }
GamepadTouchpadEvent ¶
GamepadTouchpadEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_GAMEPAD_TOUCHPAD_DOWN or SDL_EVENT_GAMEPAD_TOUCHPAD_MOTION or SDL_EVENT_GAMEPAD_TOUCHPAD_UP which: JoystickID, // *< The joystick instance id touchpad: i32, // *< The index of the touchpad finger: i32, // *< The index of the finger on the touchpad x: f32, // *< Normalized in the range 0...1 with 0 being on the left y: f32, // *< Normalized in the range 0...1 with 0 being at the top pressure: f32, }
GamepadType ¶
GamepadType :: enum i32 { UNKNOWN = 0, STANDARD, XBOX360, XBOXONE, PS3, PS4, PS5, NINTENDO_SWITCH_PRO, NINTENDO_SWITCH_JOYCON_LEFT, NINTENDO_SWITCH_JOYCON_RIGHT, NINTENDO_SWITCH_JOYCON_PAIR, }
Related Procedures With Parameters
Related Procedures With Returns
GlobFlag ¶
GlobFlag :: enum u32 { CASEINSENSITIVE = 0, }
Haptic ¶
Haptic :: struct {}
Related Procedures With Parameters
- CloseHaptic
- CreateHapticEffect
- DestroyHapticEffect
- GetHapticEffectStatus
- GetHapticFeatures
- GetHapticID
- GetHapticName
- GetMaxHapticEffects
- GetMaxHapticEffectsPlaying
- GetNumHapticAxes
- HapticEffectSupported
- HapticRumbleSupported
- InitHapticRumble
- PauseHaptic
- PlayHapticRumble
- ResumeHaptic
- RunHapticEffect
- SetHapticAutocenter
- SetHapticGain
- StopHapticEffect
- StopHapticEffects
- StopHapticRumble
- UpdateHapticEffect
Related Procedures With Returns
HapticCondition ¶
HapticCondition :: struct { // Header type: u16, // *< HAPTIC_SPRING, HAPTIC_DAMPER, // HAPTIC_INERTIA or HAPTIC_FRICTION direction: HapticDirection, // Replay length: u32, // *< Duration of the effect. delay: u16, // Trigger button: u16, // *< Button that triggers the effect. interval: u16, // Condition right_sat: [3]u16, // *< Level when joystick is to the positive side; max 0xFFFF. left_sat: [3]u16, // *< Level when joystick is to the negative side; max 0xFFFF. right_coeff: [3]i16, // *< How fast to increase the force towards the positive side. left_coeff: [3]i16, // *< How fast to increase the force towards the negative side. deadband: [3]u16, // *< Size of the dead zone; max 0xFFFF: whole axis-range when 0-centered. center: [3]i16, }
HapticConstant ¶
HapticConstant :: struct { // Header type: u16, // *< HAPTIC_CONSTANT direction: HapticDirection, // Replay length: u32, // *< Duration of the effect. delay: u16, // Trigger button: u16, // *< Button that triggers the effect. interval: u16, // Constant level: i16, // Envelope attack_length: u16, // *< Duration of the attack. attack_level: u16, // *< Level at the start of the attack. fade_length: u16, // *< Duration of the fade. fade_level: u16, }
HapticCustom ¶
HapticCustom :: struct { // Header type: u16, // *< HAPTIC_CUSTOM direction: HapticDirection, // Replay length: u32, // *< Duration of the effect. delay: u16, // Trigger button: u16, // *< Button that triggers the effect. interval: u16, // Custom channels: u8, // *< Axes to use, minimum of one. period: u16, // *< Sample periods. samples: u16, // *< Amount of samples. data: [^]u16, // Envelope attack_length: u16, // *< Duration of the attack. attack_level: u16, // *< Level at the start of the attack. fade_length: u16, // *< Duration of the fade. fade_level: u16, }
HapticDirection ¶
HapticDirection :: struct { type: HapticDirectionType, // *< The type of encoding. dir: [3]i32, }
HapticDirectionType ¶
HapticDirectionType :: enum u8 { POLAR = 0, CARTESIAN = 1, SPHERICAL = 2, STEERING_AXIS = 3, }
HapticEffect ¶
HapticEffect :: struct #raw_union { // Common for all force feedback effects type: u16, // *< Effect type. constant: HapticConstant, // *< Constant effect. periodic: HapticPeriodic, // *< Periodic effect. condition: HapticCondition, // *< Condition effect. ramp: HapticRamp, // *< Ramp effect. leftright: HapticLeftRight, // *< Left/Right effect. custom: HapticCustom, }
Related Procedures With Parameters
HapticID ¶
HapticID :: distinct u32
Related Procedures With Parameters
Related Procedures With Returns
HapticPeriodic ¶
HapticPeriodic :: struct { // Header type: u16, // *< HAPTIC_SINE, HAPTIC_SQUARE // HAPTIC_TRIANGLE, HAPTIC_SAWTOOTHUP or // HAPTIC_SAWTOOTHDOWN direction: HapticDirection, // Replay length: u32, // *< Duration of the effect. delay: u16, // Trigger button: u16, // *< Button that triggers the effect. interval: u16, // Periodic period: u16, // *< Period of the wave. magnitude: i16, // *< Peak value; if negative, equivalent to 180 degrees extra phase shift. offset: i16, // *< Mean value of the wave. phase: u16, // Envelope attack_length: u16, // *< Duration of the attack. attack_level: u16, // *< Level at the start of the attack. fade_length: u16, // *< Duration of the fade. fade_level: u16, }
HapticRamp ¶
HapticRamp :: struct { // Header type: u16, // *< HAPTIC_RAMP direction: HapticDirection, // Replay length: u32, // *< Duration of the effect. delay: u16, // Trigger button: u16, // *< Button that triggers the effect. interval: u16, // Ramp start: i16, // *< Beginning strength level. end: i16, // Envelope attack_length: u16, // *< Duration of the attack. attack_level: u16, // *< Level at the start of the attack. fade_length: u16, // *< Duration of the fade. fade_level: u16, }
HapticType ¶
HapticType :: u16
HintCallback ¶
Related Procedures With Parameters
HintPriority ¶
HintPriority :: enum i32 { DEFAULT, NORMAL, OVERRIDE, }
Related Procedures With Parameters
HitTest ¶
HitTest :: proc "c" (win: ^Window, area: ^Point, data: rawptr) -> HitTestResult
Related Procedures With Parameters
HitTestResult ¶
HitTestResult :: enum i32 { NORMAL, // *< Region is normal. No special properties. DRAGGABLE, // *< Region can drag entire window. RESIZE_TOPLEFT, // *< Region is the resizable top-left corner border. RESIZE_TOP, // *< Region is the resizable top border. RESIZE_TOPRIGHT, // *< Region is the resizable top-right corner border. RESIZE_RIGHT, // *< Region is the resizable right border. RESIZE_BOTTOMRIGHT, // *< Region is the resizable bottom-right corner border. RESIZE_BOTTOM, // *< Region is the resizable bottom border. RESIZE_BOTTOMLEFT, // *< Region is the resizable bottom-left corner border. RESIZE_LEFT, // *< Region is the resizable left border. }
IOStatus ¶
IOStatus :: enum i32 { READY, // *< Everything is ready (no errors and not EOF). ERROR, // *< Read or write I/O error EOF, // *< End of file NOT_READY, // *< Non blocking I/O, not ready READONLY, // *< Tried to write a read-only buffer WRITEONLY, // *< Tried to read a write-only buffer }
Related Procedures With Returns
IOStream ¶
IOStream :: struct {}
Related Procedures With Parameters
- AddGamepadMappingsFromIO
- CloseIO
- FlushIO
- GetIOProperties
- GetIOSize
- GetIOStatus
- IOprintf
- IOvprintf
- LoadBMP_IO
- LoadFile_IO
- LoadWAV_IO
- ReadIO
- ReadS16BE
- ReadS16LE
- ReadS32BE
- ReadS32LE
- ReadS64BE
- ReadS64LE
- ReadS8
- ReadU16BE
- ReadU16LE
- ReadU32BE
- ReadU32LE
- ReadU64BE
- ReadU64LE
- ReadU8
- SaveBMP_IO
- SaveFile_IO
- SeekIO
- TellIO
- WriteIO
- WriteS16BE
- WriteS16LE
- WriteS32BE
- WriteS32LE
- WriteS64BE
- WriteS64LE
- WriteS8
- WriteU16BE
- WriteU16LE
- WriteU32BE
- WriteU32LE
- WriteU64BE
- WriteU64LE
- WriteU8
Related Procedures With Returns
IOStreamInterface ¶
IOStreamInterface :: struct { version: u32, size: proc "c" (userdata: rawptr) -> i64, seek: proc "c" (userdata: rawptr, offset: i64, whence: IOWhence) -> i64, read: proc "c" (userdata: rawptr, ptr: rawptr, size: uint, status: ^IOStatus) -> uint, write: proc "c" (userdata: rawptr, ptr: rawptr, size: uint, status: ^IOStatus) -> uint, flush: proc "c" (userdata: rawptr, status: ^IOStatus) -> bool, close: proc "c" (userdata: rawptr) -> bool, }
Related Procedures With Parameters
IOWhence ¶
IOWhence :: enum i32 { SEEK_SET, // *< Seek from the beginning of data SEEK_CUR, // *< Seek relative to current read point SEEK_END, // *< Seek relative to the end of data }
Related Procedures With Parameters
Related Constants
InitFlag ¶
InitFlag :: enum u32 { AUDIO = 4, // *< `SDL_INIT_AUDIO` implies `SDL_INIT_EVENTS` VIDEO = 5, // *< `SDL_INIT_VIDEO` implies `SDL_INIT_EVENTS`, should be initialized on the main thread JOYSTICK = 9, // *< `SDL_INIT_JOYSTICK` implies `SDL_INIT_EVENTS`, should be initialized on the same thread as SDL_INIT_VIDEO on Windows if you don't set SDL_HINT_JOYSTICK_THREAD HAPTIC = 12, GAMEPAD = 13, // *< `SDL_INIT_GAMEPAD` implies `SDL_INIT_JOYSTICK` EVENTS = 14, SENSOR = 15, // *< `SDL_INIT_SENSOR` implies `SDL_INIT_EVENTS` CAMERA = 16, // *< `SDL_INIT_CAMERA` implies `SDL_INIT_EVENTS` }
JoyAxisEvent ¶
JoyAxisEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_AXIS_MOTION which: JoystickID, // *< The joystick instance id axis: u8, // *< The joystick axis index _: u8, _: u8, _: u8, value: i16, // *< The axis value (range: -32768 to 32767) _: u16, }
JoyBallEvent ¶
JoyBallEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_BALL_MOTION which: JoystickID, // *< The joystick instance id ball: u8, // *< The joystick trackball index _: u8, _: u8, _: u8, xrel: i16, // *< The relative motion in the X direction yrel: i16, }
JoyBatteryEvent ¶
JoyBatteryEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_BATTERY_UPDATED which: JoystickID, // *< The joystick instance id state: PowerState, // *< The joystick battery state percent: i32, }
JoyButtonEvent ¶
JoyButtonEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_BUTTON_DOWN or SDL_EVENT_JOYSTICK_BUTTON_UP which: JoystickID, // *< The joystick instance id button: u8, // *< The joystick button index down: bool, // *< true if the button is pressed _: u8, _: u8, }
JoyDeviceEvent ¶
JoyDeviceEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_ADDED or SDL_EVENT_JOYSTICK_REMOVED or SDL_EVENT_JOYSTICK_UPDATE_COMPLETE which: JoystickID, }
JoyHatEvent ¶
JoyHatEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_JOYSTICK_HAT_MOTION which: JoystickID, // *< The joystick instance id hat: u8, // *< The joystick hat index value: u8, // *< The hat position value. // * \sa SDL_HAT_LEFTUP SDL_HAT_UP SDL_HAT_RIGHTUP // * \sa SDL_HAT_LEFT SDL_HAT_CENTERED SDL_HAT_RIGHT // * \sa SDL_HAT_LEFTDOWN SDL_HAT_DOWN SDL_HAT_RIGHTDOWN // * // * Note that zero means the POV is centered. _: u8, _: u8, }
Joystick ¶
Joystick :: struct {}
Related Procedures With Parameters
- CloseJoystick
- GetJoystickAxis
- GetJoystickAxisInitialState
- GetJoystickBall
- GetJoystickButton
- GetJoystickConnectionState
- GetJoystickFirmwareVersion
- GetJoystickGUID
- GetJoystickHat
- GetJoystickID
- GetJoystickName
- GetJoystickPath
- GetJoystickPlayerIndex
- GetJoystickPowerInfo
- GetJoystickProduct
- GetJoystickProductVersion
- GetJoystickProperties
- GetJoystickSerial
- GetJoystickType
- GetJoystickVendor
- GetNumJoystickAxes
- GetNumJoystickBalls
- GetNumJoystickButtons
- GetNumJoystickHats
- IsJoystickHaptic
- JoystickConnected
- OpenHapticFromJoystick
- RumbleJoystick
- RumbleJoystickTriggers
- SendJoystickEffect
- SendJoystickVirtualSensorData
- SetJoystickLED
- SetJoystickPlayerIndex
- SetJoystickVirtualAxis
- SetJoystickVirtualBall
- SetJoystickVirtualButton
- SetJoystickVirtualHat
- SetJoystickVirtualTouchpad
Related Procedures With Returns
JoystickConnectionState ¶
JoystickConnectionState :: enum i32 { INVALID = -1, UNKNOWN, WIRED, WIRELESS, }
Related Procedures With Returns
JoystickID ¶
JoystickID :: distinct u32
Related Procedures With Parameters
- DetachVirtualJoystick
- GetGamepadFromID
- GetGamepadGUIDForID
- GetGamepadMappingForID
- GetGamepadNameForID
- GetGamepadPathForID
- GetGamepadPlayerIndexForID
- GetGamepadProductForID
- GetGamepadProductVersionForID
- GetGamepadTypeForID
- GetGamepadVendorForID
- GetJoystickFromID
- GetJoystickGUIDForID
- GetJoystickNameForID
- GetJoystickPathForID
- GetJoystickPlayerIndexForID
- GetJoystickProductForID
- GetJoystickProductVersionForID
- GetJoystickTypeForID
- GetJoystickVendorForID
- GetRealGamepadTypeForID
- IsGamepad
- IsJoystickVirtual
- OpenGamepad
- OpenJoystick
- SetGamepadMapping
Related Procedures With Returns
JoystickType ¶
JoystickType :: enum i32 { UNKNOWN, GAMEPAD, WHEEL, ARCADE_STICK, FLIGHT_STICK, DANCE_PAD, GUITAR, DRUM_KIT, ARCADE_PAD, THROTTLE, }
Related Procedures With Returns
KeyboardDeviceEvent ¶
KeyboardDeviceEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_KEYBOARD_ADDED or SDL_EVENT_KEYBOARD_REMOVED which: KeyboardID, }
KeyboardEvent ¶
KeyboardEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_KEY_DOWN or SDL_EVENT_KEY_UP windowID: WindowID, // *< The window with keyboard focus, if any which: KeyboardID, // *< The keyboard instance id, or 0 if unknown or virtual scancode: Scancode, // *< SDL physical key code key: Keycode, // *< SDL virtual key code mod: Keymod, // *< current key modifiers raw: u16, // *< The platform dependent scancode for this event down: bool, // *< true if the key is pressed repeat: bool, }
KeyboardID ¶
KeyboardID :: distinct u32
Related Procedures With Parameters
Related Procedures With Returns
Keycode ¶
Keycode :: distinct u32
Related Procedures With Parameters
Related Procedures With Returns
Keymod ¶
Keymod :: distinct bit_set[KeymodFlag; u16]
Related Procedures With Parameters
Related Procedures With Returns
Related Constants
KeymodFlag ¶
KeymodFlag :: enum u16 { LSHIFT = 0, // *< the left Shift key is down. RSHIFT = 1, // *< the right Shift key is down. LEVEL5 = 2, // *< the Level 5 Shift key is down. LCTRL = 6, // *< the left Ctrl (Control) key is down. RCTRL = 7, // *< the right Ctrl (Control) key is down. LALT = 8, // *< the left Alt key is down. RALT = 9, // *< the right Alt key is down. LGUI = 10, // *< the left GUI key (often the Windows key) is down. RGUI = 11, // *< the right GUI key (often the Windows key) is down. NUM = 12, // *< the Num Lock key (may be located on an extended keypad) is down. CAPS = 13, // *< the Caps Lock key is down. MODE = 14, // *< the !AltGr key is down. SCROLL = 15, // *< the Scroll Lock key is down. }
LogCategory ¶
LogCategory :: enum i32 { APPLICATION, ERROR, ASSERT, SYSTEM, AUDIO, VIDEO, RENDER, INPUT, TEST, GPU, // Reserved for future SDL library use RESERVED2, RESERVED3, RESERVED4, RESERVED5, RESERVED6, RESERVED7, RESERVED8, RESERVED9, RESERVED10, // Beyond this point is reserved for application use, e.g. // enum { // MYAPP_CATEGORY_AWESOME1 = CUSTOM, // MYAPP_CATEGORY_AWESOME2, // MYAPP_CATEGORY_AWESOME3, // ... // }; CUSTOM, }
Related Procedures With Parameters
LogOutputFunction ¶
LogOutputFunction :: proc "c" (userdata: rawptr, category: LogCategory, priority: LogPriority, message: cstring)
Related Procedures With Parameters
Related Procedures With Returns
LogPriority ¶
LogPriority :: enum i32 { INVALID, TRACE, VERBOSE, DEBUG, INFO, WARN, ERROR, CRITICAL, }
Related Procedures With Parameters
Related Procedures With Returns
MainThreadCallback ¶
MainThreadCallback :: proc "c" (userdata: rawptr)
Related Procedures With Parameters
MatrixCoefficients ¶
MatrixCoefficients :: enum i32 { IDENTITY = 0, BT709 = 1, // *< ITU-R BT.709-6 UNSPECIFIED = 2, FCC = 4, // *< US FCC Title 47 BT470BG = 5, // *< ITU-R BT.470-6 System B, G / ITU-R BT.601-7 625, functionally the same as SDL_MATRIX_COEFFICIENTS_BT601 BT601 = 6, // *< ITU-R BT.601-7 525 SMPTE240 = 7, // *< SMPTE 240M YCGCO = 8, BT2020_NCL = 9, // *< ITU-R BT.2020-2 non-constant luminance BT2020_CL = 10, // *< ITU-R BT.2020-2 constant luminance SMPTE2085 = 11, // *< SMPTE ST 2085 CHROMA_DERIVED_NCL = 12, CHROMA_DERIVED_CL = 13, ICTCP = 14, // *< ITU-R BT.2100-0 ICTCP CUSTOM = 31, }
Related Procedures With Parameters
Related Procedures With Returns
MessageBoxButtonData ¶
MessageBoxButtonData :: struct { flags: MessageBoxButtonFlags, buttonID: i32, // *< User defined button id (value returned via SDL_ShowMessageBox) text: cstring, }
MessageBoxButtonFlag ¶
MessageBoxButtonFlag :: enum u32 { RETURNKEY_DEFAULT = 0, // *< Marks the default button when return is hit ESCAPEKEY_DEFAULT = 1, // *< Marks the default button when return is hit }
MessageBoxButtonFlags ¶
MessageBoxButtonFlags :: distinct bit_set[MessageBoxButtonFlag; u32]
MessageBoxColor ¶
MessageBoxColor :: distinct [3]u8
MessageBoxColorScheme ¶
MessageBoxColorScheme :: struct { colors: [MessageBoxColorType]MessageBoxColor, }
MessageBoxColorType ¶
MessageBoxColorType :: enum i32 { BACKGROUND, TEXT, BUTTON_BORDER, BUTTON_BACKGROUND, BUTTON_SELECTED, }
MessageBoxData ¶
MessageBoxData :: struct { flags: MessageBoxFlags, window: ^Window, // *< Parent window, can be NULL title: cstring, // *< UTF-8 title message: cstring, // *< UTF-8 message text numbuttons: i32, buttons: [^]MessageBoxButtonData `fmt:"v,numbuttons"`, colorScheme: ^MessageBoxColorScheme, }
Related Procedures With Parameters
MessageBoxFlag ¶
MessageBoxFlag :: enum u32 { ERROR = 4, // *< error dialog WARNING = 5, // *< warning dialog INFORMATION = 6, // *< informational dialog BUTTONS_LEFT_TO_RIGHT = 7, // *< buttons placed left to right BUTTONS_RIGHT_TO_LEFT = 8, // *< buttons placed right to left }
MessageBoxFlags ¶
MessageBoxFlags :: distinct bit_set[MessageBoxFlag; u32]
Related Procedures With Parameters
MetalView ¶
MetalView :: distinct rawptr
Related Procedures With Parameters
Related Procedures With Returns
MouseButtonEvent ¶
MouseButtonEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_MOUSE_BUTTON_DOWN or SDL_EVENT_MOUSE_BUTTON_UP windowID: WindowID, // *< The window with mouse focus, if any which: MouseID, // *< The mouse instance id in relative mode, SDL_TOUCH_MOUSEID for touch events, or 0 button: u8, // *< The mouse button index down: bool, // *< true if the button is pressed clicks: u8, // *< 1 for single-click, 2 for double-click, etc. _: u8, x: f32, // *< X coordinate, relative to window y: f32, }
MouseButtonFlag ¶
MouseButtonFlag :: enum u32 { LEFT = 0, MIDDLE = 1, RIGHT = 2, X1 = 3, X2 = 4, }
MouseButtonFlags ¶
MouseButtonFlags :: distinct bit_set[MouseButtonFlag; u32]
Related Procedures With Returns
Related Constants
MouseDeviceEvent ¶
MouseDeviceEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_MOUSE_ADDED or SDL_EVENT_MOUSE_REMOVED which: MouseID, }
MouseID ¶
MouseID :: distinct u32
Related Procedures With Parameters
Related Procedures With Returns
Related Constants
MouseMotionEvent ¶
MouseMotionEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_MOUSE_MOTION windowID: WindowID, // *< The window with mouse focus, if any which: MouseID, // *< The mouse instance id in relative mode, SDL_TOUCH_MOUSEID for touch events, or 0 state: MouseButtonFlags, // *< The current button state x: f32, // *< X coordinate, relative to window y: f32, // *< Y coordinate, relative to window xrel: f32, // *< The relative motion in the X direction yrel: f32, }
MouseWheelDirection ¶
MouseWheelDirection :: enum i32 { NORMAL, // *< The scroll direction is normal FLIPPED, // *< The scroll direction is flipped / natural }
MouseWheelEvent ¶
MouseWheelEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_MOUSE_WHEEL windowID: WindowID, // *< The window with mouse focus, if any which: MouseID, // *< The mouse instance id in relative mode or 0 x: f32, // *< The amount scrolled horizontally, positive to the right and negative to the left y: f32, // *< The amount scrolled vertically, positive away from the user and negative toward the user direction: MouseWheelDirection, // *< Set to one of the SDL_MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back mouse_x: f32, // *< X coordinate, relative to window mouse_y: f32, }
NSTimerCallback ¶
Related Procedures With Parameters
PackedLayout ¶
PackedLayout :: enum i32 { NONE, LAYOUT_332, LAYOUT_4444, LAYOUT_1555, LAYOUT_5551, LAYOUT_565, LAYOUT_8888, LAYOUT_2101010, LAYOUT_1010102, }
Related Procedures With Parameters
Related Procedures With Returns
PackedOrder ¶
PackedOrder :: enum i32 { NONE, XRGB, RGBX, ARGB, RGBA, XBGR, BGRX, ABGR, BGRA, }
Related Procedures With Parameters
Related Procedures With Returns
Palette ¶
Palette :: struct { ncolors: i32, // *< number of elements in `colors`. colors: [^]Color `fmt:"v,ncolors"`, // *< an array of colors, `ncolors` long. version: u32, // *< internal use only, do not touch. refcount: i32, }
Related Procedures With Parameters
- ConvertSurfaceAndColorspace
- DestroyPalette
- GetRGB
- GetRGBA
- MapRGB
- MapRGBA
- SetPaletteColors
- SetSurfacePalette
Related Procedures With Returns
PathInfo ¶
PathInfo :: struct { type: PathType, // *< the path type size: u64, // *< the file size in bytes create_time: Time, // *< the time when the path was created modify_time: Time, // *< the last time the path was modified access_time: Time, }
Related Procedures With Parameters
PathType ¶
PathType :: enum i32 { NONE, // *< path does not exist FILE, // *< a normal file DIRECTORY, // *< a directory OTHER, // *< something completely different like a device node (not a symlink, those are always followed) }
PenAxis ¶
PenAxis :: enum i32 { PRESSURE, // *< Pen pressure. Unidirectional: 0 to 1.0 XTILT, // *< Pen horizontal tilt angle. Bidirectional: -90.0 to 90.0 (left-to-right). YTILT, // *< Pen vertical tilt angle. Bidirectional: -90.0 to 90.0 (top-to-down). DISTANCE, // *< Pen distance to drawing surface. Unidirectional: 0.0 to 1.0 ROTATION, // *< Pen barrel rotation. Bidirectional: -180 to 179.9 (clockwise, 0 is facing up, -180.0 is facing down). SLIDER, // *< Pen finger wheel or slider (e.g., Airbrush Pen). Unidirectional: 0 to 1.0 TANGENTIAL_PRESSURE, // *< Pressure from squeezing the pen ("barrel pressure"). }
PenAxisEvent ¶
PenAxisEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_PEN_AXIS windowID: WindowID, // *< The window with pen focus, if any which: PenID, // *< The pen instance id pen_state: PenInputFlags, // *< Complete pen input state at time of event x: f32, // *< X coordinate, relative to window y: f32, // *< Y coordinate, relative to window axis: PenAxis, // *< Axis that has changed value: f32, }
PenButtonEvent ¶
PenButtonEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_PEN_BUTTON_DOWN or SDL_EVENT_PEN_BUTTON_UP windowID: WindowID, // *< The window with mouse focus, if any which: PenID, // *< The pen instance id pen_state: PenInputFlags, // *< Complete pen input state at time of event x: f32, // *< X coordinate, relative to window y: f32, // *< Y coordinate, relative to window button: u8, // *< The pen button index (first button is 1). down: bool, }
PenInputFlag ¶
PenInputFlag :: enum u32 { DOWN = 0, // *< pen is pressed down BUTTON_1 = 1, // *< button 1 is pressed BUTTON_2 = 2, // *< button 2 is pressed BUTTON_3 = 3, // *< button 3 is pressed BUTTON_4 = 4, // *< button 4 is pressed BUTTON_5 = 5, // *< button 5 is pressed ERASER_TIP = 30, // *< eraser tip is used }
PenInputFlags ¶
PenInputFlags :: distinct bit_set[PenInputFlag; u32]
PenMotionEvent ¶
PenMotionEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_PEN_MOTION windowID: WindowID, // *< The window with pen focus, if any which: PenID, // *< The pen instance id pen_state: PenInputFlags, // *< Complete pen input state at time of event x: f32, // *< X coordinate, relative to window y: f32, }
PenProximityEvent ¶
PenProximityEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_PEN_PROXIMITY_IN or SDL_EVENT_PEN_PROXIMITY_OUT windowID: WindowID, // *< The window with pen focus, if any which: PenID, }
PenTouchEvent ¶
PenTouchEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_PEN_DOWN or SDL_EVENT_PEN_UP windowID: WindowID, // *< The window with pen focus, if any which: PenID, // *< The pen instance id pen_state: PenInputFlags, // *< Complete pen input state at time of event x: f32, // *< X coordinate, relative to window y: f32, // *< Y coordinate, relative to window eraser: bool, // *< true if eraser end is used (not all pens support this). down: bool, }
PixelFormat ¶
PixelFormat :: enum i32 { UNKNOWN = 0, INDEX1LSB = 286261504, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_4321, 0, 1, 0), INDEX1MSB = 287310080, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_1234, 0, 1, 0), INDEX2LSB = 470811136, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX2, SDL_BITMAPORDER_4321, 0, 2, 0), INDEX2MSB = 471859712, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX2, SDL_BITMAPORDER_1234, 0, 2, 0), INDEX4LSB = 303039488, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0, 4, 0), INDEX4MSB = 304088064, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0, 4, 0), INDEX8 = 318769153, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1), RGB332 = 336660481, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED8, SDL_PACKEDORDER_XRGB, SDL_PACKEDLAYOUT_332, 8, 1), XRGB4444 = 353504258, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB, SDL_PACKEDLAYOUT_4444, 12, 2), XBGR4444 = 357698562, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR, SDL_PACKEDLAYOUT_4444, 12, 2), XRGB1555 = 353570562, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB, SDL_PACKEDLAYOUT_1555, 15, 2), XBGR1555 = 357764866, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR, SDL_PACKEDLAYOUT_1555, 15, 2), ARGB4444 = 355602434, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ARGB, SDL_PACKEDLAYOUT_4444, 16, 2), RGBA4444 = 356651010, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_RGBA, SDL_PACKEDLAYOUT_4444, 16, 2), ABGR4444 = 359796738, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ABGR, SDL_PACKEDLAYOUT_4444, 16, 2), BGRA4444 = 360845314, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_BGRA, SDL_PACKEDLAYOUT_4444, 16, 2), ARGB1555 = 355667970, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ARGB, SDL_PACKEDLAYOUT_1555, 16, 2), RGBA5551 = 356782082, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_RGBA, SDL_PACKEDLAYOUT_5551, 16, 2), ABGR1555 = 359862274, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ABGR, SDL_PACKEDLAYOUT_1555, 16, 2), BGRA5551 = 360976386, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_BGRA, SDL_PACKEDLAYOUT_5551, 16, 2), RGB565 = 353701890, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB, SDL_PACKEDLAYOUT_565, 16, 2), BGR565 = 357896194, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR, SDL_PACKEDLAYOUT_565, 16, 2), RGB24 = 386930691, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU8, SDL_ARRAYORDER_RGB, 0, 24, 3), BGR24 = 390076419, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU8, SDL_ARRAYORDER_BGR, 0, 24, 3), XRGB8888 = 370546692, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XRGB, SDL_PACKEDLAYOUT_8888, 24, 4), RGBX8888 = 371595268, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBX, SDL_PACKEDLAYOUT_8888, 24, 4), XBGR8888 = 374740996, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XBGR, SDL_PACKEDLAYOUT_8888, 24, 4), BGRX8888 = 375789572, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRX, SDL_PACKEDLAYOUT_8888, 24, 4), ARGB8888 = 372645892, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB, SDL_PACKEDLAYOUT_8888, 32, 4), RGBA8888 = 373694468, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBA, SDL_PACKEDLAYOUT_8888, 32, 4), ABGR8888 = 376840196, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ABGR, SDL_PACKEDLAYOUT_8888, 32, 4), BGRA8888 = 377888772, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRA, SDL_PACKEDLAYOUT_8888, 32, 4), XRGB2101010 = 370614276, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XRGB, SDL_PACKEDLAYOUT_2101010, 32, 4), XBGR2101010 = 374808580, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XBGR, SDL_PACKEDLAYOUT_2101010, 32, 4), ARGB2101010 = 372711428, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB, SDL_PACKEDLAYOUT_2101010, 32, 4), ABGR2101010 = 376905732, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ABGR, SDL_PACKEDLAYOUT_2101010, 32, 4), RGB48 = 403714054, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU16, SDL_ARRAYORDER_RGB, 0, 48, 6), BGR48 = 406859782, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU16, SDL_ARRAYORDER_BGR, 0, 48, 6), RGBA64 = 404766728, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU16, SDL_ARRAYORDER_RGBA, 0, 64, 8), ARGB64 = 405815304, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU16, SDL_ARRAYORDER_ARGB, 0, 64, 8), BGRA64 = 407912456, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU16, SDL_ARRAYORDER_BGRA, 0, 64, 8), ABGR64 = 408961032, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU16, SDL_ARRAYORDER_ABGR, 0, 64, 8), RGB48_FLOAT = 437268486, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF16, SDL_ARRAYORDER_RGB, 0, 48, 6), BGR48_FLOAT = 440414214, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF16, SDL_ARRAYORDER_BGR, 0, 48, 6), RGBA64_FLOAT = 438321160, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF16, SDL_ARRAYORDER_RGBA, 0, 64, 8), ARGB64_FLOAT = 439369736, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF16, SDL_ARRAYORDER_ARGB, 0, 64, 8), BGRA64_FLOAT = 441466888, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF16, SDL_ARRAYORDER_BGRA, 0, 64, 8), ABGR64_FLOAT = 442515464, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF16, SDL_ARRAYORDER_ABGR, 0, 64, 8), RGB96_FLOAT = 454057996, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF32, SDL_ARRAYORDER_RGB, 0, 96, 12), BGR96_FLOAT = 457203724, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF32, SDL_ARRAYORDER_BGR, 0, 96, 12), RGBA128_FLOAT = 455114768, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF32, SDL_ARRAYORDER_RGBA, 0, 128, 16), ARGB128_FLOAT = 456163344, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF32, SDL_ARRAYORDER_ARGB, 0, 128, 16), BGRA128_FLOAT = 458260496, // SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYF32, SDL_ARRAYORDER_BGRA, 0, 128, 16), ABGR128_FLOAT = 459309072, YV12 = 842094169, // *< Planar mode: Y + V + U (3 planes) // SDL_DEFINE_PIXELFOURCC('Y', 'V', '1', '2'), IYUV = 1448433993, // *< Planar mode: Y + U + V (3 planes) // SDL_DEFINE_PIXELFOURCC('I', 'Y', 'U', 'V'), YUY2 = 844715353, // *< Packed mode: Y0+U0+Y1+V0 (1 plane) // SDL_DEFINE_PIXELFOURCC('Y', 'U', 'Y', '2'), UYVY = 1498831189, // *< Packed mode: U0+Y0+V0+Y1 (1 plane) // SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'), YVYU = 1431918169, // *< Packed mode: Y0+V0+Y1+U0 (1 plane) // SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'), NV12 = 842094158, // *< Planar mode: Y + U/V interleaved (2 planes) // SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'), NV21 = 825382478, // *< Planar mode: Y + V/U interleaved (2 planes) // SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1'), P010 = 808530000, // *< Planar mode: Y + U/V interleaved (2 planes) // SDL_DEFINE_PIXELFOURCC('P', '0', '1', '0'), EXTERNAL_OES = 542328143, // *< Android video texture format // Aliases for RGBA byte arrays of color data, for the current platform RGBA32 = 376840196, ARGB32 = 377888772, BGRA32 = 372645892, ABGR32 = 373694468, RGBX32 = 374740996, XRGB32 = 375789572, BGRX32 = 370546692, XBGR32 = 371595268, }
Related Procedures With Parameters
- BITSPERPIXEL
- ConvertPixels
- ConvertPixelsAndColorspace
- ConvertSurface
- ConvertSurfaceAndColorspace
- CreateSurface
- CreateSurfaceFrom
- CreateTexture
- GetMasksForPixelFormat
- GetPixelFormatDetails
- GetPixelFormatName
- ISPIXELFORMAT_10BIT
- ISPIXELFORMAT_ALPHA
- ISPIXELFORMAT_ARRAY
- ISPIXELFORMAT_FLOAT
- ISPIXELFORMAT_FOURCC
- ISPIXELFORMAT_INDEXED
- ISPIXELFORMAT_PACKED
- PIXELARRAYORDER
- PIXELFLAG
- PIXELLAYOUT
- PIXELORDER
- PIXELTYPE
- PremultiplyAlpha
Related Procedures With Returns
PixelFormatDetails ¶
PixelFormatDetails :: struct { format: PixelFormat, bits_per_pixel: u8, bytes_per_pixel: u8, _: [2]u8, Rmask: u32, Gmask: u32, Bmask: u32, Amask: u32, Rbits: u8, Gbits: u8, Bbits: u8, Abits: u8, Rshift: u8, Gshift: u8, Bshift: u8, Ashift: u8, }
Related Procedures With Parameters
Related Procedures With Returns
PixelType ¶
PixelType :: enum i32 { UNKNOWN, INDEX1, INDEX4, INDEX8, PACKED8, PACKED16, PACKED32, ARRAYU8, ARRAYU16, ARRAYU32, ARRAYF16, ARRAYF32, // appended at the end for compatibility with sdl2-compat: INDEX2, }
Related Procedures With Parameters
Related Procedures With Returns
PowerState ¶
PowerState :: enum i32 { ERROR = -1, // *< error determining power status UNKNOWN, // *< cannot determine power status ON_BATTERY, // *< Not plugged in, running on the battery NO_BATTERY, // *< Plugged in, no battery available CHARGING, // *< Plugged in, charging battery CHARGED, // *< Plugged in, battery charged }
Related Procedures With Returns
Process ¶
Process :: struct {}
Related Procedures With Parameters
- DestroyProcess
- GetProcessInput
- GetProcessOutput
- GetProcessProperties
- KillProcess
- ReadProcess
- WaitProcess
Related Procedures With Returns
ProcessIO ¶
ProcessIO :: enum i32 { STDIO_INHERITED, // *< The I/O stream is inherited from the application. STDIO_NULL, // *< The I/O stream is ignored. STDIO_APP, // *< The I/O stream is connected to a new SDL_IOStream that the application can read or write STDIO_REDIRECT, // *< The I/O stream is redirected to an existing SDL_IOStream. }
PropertiesID ¶
PropertiesID :: distinct u32
Related Procedures With Parameters
- ClearProperty
- ConvertPixelsAndColorspace
- ConvertSurfaceAndColorspace
- CopyProperties
- CreateGPUDeviceWithProperties
- CreateProcessWithProperties
- CreateRendererWithProperties
- CreateTextureWithProperties
- CreateThreadWithProperties
- CreateThreadWithPropertiesRuntime
- CreateWindowWithProperties
- DestroyProperties
- EnumerateProperties
- GPUSupportsProperties
- GetBooleanProperty
- GetFloatProperty
- GetNumberProperty
- GetPointerProperty
- GetPropertyType
- GetStringProperty
- HasProperty
- LockProperties
- OpenTitleStorage
- OpenUserStorage
- SetBooleanProperty
- SetFloatProperty
- SetNumberProperty
- SetPointerProperty
- SetPointerPropertyWithCleanup
- SetStringProperty
- ShowFileDialogWithProperties
- StartTextInputWithProperties
- UnlockProperties
Related Procedures With Returns
PropertyType ¶
PropertyType :: enum i32 { INVALID, POINTER, STRING, NUMBER, FLOAT, BOOLEAN, }
Related Procedures With Returns
QuitEvent ¶
QuitEvent :: struct { using commonEvent: CommonEvent, }
RWLock ¶
RWLock :: struct {}
Related Procedures With Parameters
- DestroyRWLock
- LockRWLockForReading
- LockRWLockForWriting
- TryLockRWLockForReading
- TryLockRWLockForWriting
- UnlockRWLock
Related Procedures With Returns
Rect ¶
Related Procedures With Parameters
- BlitSurface
- BlitSurface9Grid
- BlitSurfaceScaled
- BlitSurfaceTiled
- BlitSurfaceTiledWithScale
- BlitSurfaceUnchecked
- BlitSurfaceUncheckedScaled
- FillSurfaceRect
- FillSurfaceRects
- GetDisplayBounds
- GetDisplayForRect
- GetDisplayUsableBounds
- GetRectAndLineIntersection
- GetRectEnclosingPoints
- GetRectIntersection
- GetRectUnion
- GetRenderClipRect
- GetRenderSafeArea
- GetRenderViewport
- GetSurfaceClipRect
- GetTextInputArea
- GetWindowSafeArea
- HasRectIntersection
- PointInRect
- RectEmpty
- RectEqual
- RectToFRect
- SetGPUScissor
- SetRenderClipRect
- SetRenderViewport
- SetSurfaceClipRect
- SetTextInputArea
- SetWindowMouseRect
- UpdateWindowSurfaceRects
Related Procedures With Returns
RenderEvent ¶
RenderEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_RENDER_TARGETS_RESET, SDL_EVENT_RENDER_DEVICE_RESET, SDL_EVENT_RENDER_DEVICE_LOST windowID: WindowID, }
Renderer ¶
Renderer :: struct {}
Related Procedures With Parameters
- AddVulkanRenderSemaphores
- ConvertEventToRenderCoordinates
- CreateTexture
- CreateTextureFromSurface
- CreateTextureWithProperties
- DestroyRenderer
- FlushRenderer
- GetCurrentRenderOutputSize
- GetRenderClipRect
- GetRenderColorScale
- GetRenderDrawBlendMode
- GetRenderDrawColor
- GetRenderDrawColorFloat
- GetRenderLogicalPresentation
- GetRenderLogicalPresentationRect
- GetRenderMetalCommandEncoder
- GetRenderMetalLayer
- GetRenderOutputSize
- GetRenderSafeArea
- GetRenderScale
- GetRenderTarget
- GetRenderVSync
- GetRenderViewport
- GetRenderWindow
- GetRendererName
- GetRendererProperties
- RenderClear
- RenderClipEnabled
- RenderCoordinatesFromWindow
- RenderCoordinatesToWindow
- RenderDebugText
- RenderDebugTextFormat
- RenderFillRect
- RenderFillRects
- RenderGeometry
- RenderGeometryRaw
- RenderLine
- RenderLines
- RenderPoint
- RenderPoints
- RenderPresent
- RenderReadPixels
- RenderRect
- RenderRects
- RenderTexture
- RenderTexture9Grid
- RenderTextureAffine
- RenderTextureRotated
- RenderTextureTiled
- RenderViewportSet
- SetRenderClipRect
- SetRenderColorScale
- SetRenderDrawBlendMode
- SetRenderDrawColor
- SetRenderDrawColorFloat
- SetRenderLogicalPresentation
- SetRenderScale
- SetRenderTarget
- SetRenderVSync
- SetRenderViewport
Related Procedures With Returns
RendererLogicalPresentation ¶
RendererLogicalPresentation :: enum i32 { DISABLED, // *< There is no logical size in effect STRETCH, // *< The rendered content is stretched to the output resolution LETTERBOX, // *< The rendered content is fit to the largest dimension and the other dimension is letterboxed with black bars OVERSCAN, // *< The rendered content is fit to the smallest dimension and the other dimension extends beyond the output bounds INTEGER_SCALE, // *< The rendered content is scaled up by integer multiples to fit the output resolution }
Related Procedures With Parameters
RequestAndroidPermissionCallback ¶
Related Procedures With Parameters
Sandbox ¶
Sandbox :: enum i32 { NONE = 0, UNKNOWN_CONTAINER, FLATPAK, SNAP, MACOS, }
Related Procedures With Returns
ScaleMode ¶
ScaleMode :: enum i32 { NEAREST, // *< nearest pixel sampling LINEAR, // *< linear filtering }
Related Procedures With Parameters
Scancode ¶
Scancode :: enum i32 { UNKNOWN = 0, A = 4, B = 5, C = 6, D = 7, E = 8, F = 9, G = 10, H = 11, I = 12, J = 13, K = 14, L = 15, M = 16, N = 17, O = 18, P = 19, Q = 20, R = 21, S = 22, T = 23, U = 24, V = 25, W = 26, X = 27, Y = 28, Z = 29, _1 = 30, _2 = 31, _3 = 32, _4 = 33, _5 = 34, _6 = 35, _7 = 36, _8 = 37, _9 = 38, _0 = 39, RETURN = 40, ESCAPE = 41, BACKSPACE = 42, TAB = 43, SPACE = 44, MINUS = 45, EQUALS = 46, LEFTBRACKET = 47, RIGHTBRACKET = 48, BACKSLASH = 49, // *< Located at the lower left of the return * key on ISO keyboards and at the right end * of the QWERTY row on ANSI keyboards. * Produces REVERSE SOLIDUS (backslash) and * VERTICAL LINE in a US layout, REVERSE * SOLIDUS and VERTICAL LINE in a UK Mac * layout, NUMBER SIGN and TILDE in a UK * Windows layout, DOLLAR SIGN and POUND SIGN * in a Swiss German layout, NUMBER SIGN and * APOSTROPHE in a German layout, GRAVE * ACCENT and POUND SIGN in a French Mac * layout, and ASTERISK and MICRO SIGN in a * French Windows layout. NONUSHASH = 50, // *< ISO USB keyboards actually use this code * instead of 49 for the same key, but all * OSes I've seen treat the two codes * identically. So, as an implementor, unless * your keyboard generates both of those * codes and your OS treats them differently, * you should generate BACKSLASH * instead of this code. As a user, you * should not rely on this code because SDL * will never generate it with most (all?) * keyboards. SEMICOLON = 51, APOSTROPHE = 52, GRAVE = 53, // *< Located in the top left corner (on both ANSI * and ISO keyboards). Produces GRAVE ACCENT and * TILDE in a US Windows layout and in US and UK * Mac layouts on ANSI keyboards, GRAVE ACCENT * and NOT SIGN in a UK Windows layout, SECTION * SIGN and PLUS-MINUS SIGN in US and UK Mac * layouts on ISO keyboards, SECTION SIGN and * DEGREE SIGN in a Swiss German layout (Mac: * only on ISO keyboards), CIRCUMFLEX ACCENT and * DEGREE SIGN in a German layout (Mac: only on * ISO keyboards), SUPERSCRIPT TWO and TILDE in a * French Windows layout, COMMERCIAL AT and * NUMBER SIGN in a French Mac layout on ISO * keyboards, and LESS-THAN SIGN and GREATER-THAN * SIGN in a Swiss German, German, or French Mac * layout on ANSI keyboards. COMMA = 54, PERIOD = 55, SLASH = 56, CAPSLOCK = 57, F1 = 58, F2 = 59, F3 = 60, F4 = 61, F5 = 62, F6 = 63, F7 = 64, F8 = 65, F9 = 66, F10 = 67, F11 = 68, F12 = 69, PRINTSCREEN = 70, SCROLLLOCK = 71, PAUSE = 72, INSERT = 73, // *< insert on PC, help on some Mac keyboards (but does send code 73, not 117) HOME = 74, PAGEUP = 75, DELETE = 76, END = 77, PAGEDOWN = 78, RIGHT = 79, LEFT = 80, DOWN = 81, UP = 82, NUMLOCKCLEAR = 83, // *< num lock on PC, clear on Mac keyboards KP_DIVIDE = 84, KP_MULTIPLY = 85, KP_MINUS = 86, KP_PLUS = 87, KP_ENTER = 88, KP_1 = 89, KP_2 = 90, KP_3 = 91, KP_4 = 92, KP_5 = 93, KP_6 = 94, KP_7 = 95, KP_8 = 96, KP_9 = 97, KP_0 = 98, KP_PERIOD = 99, NONUSBACKSLASH = 100, // *< This is the additional key that ISO * keyboards have over ANSI ones, * located between left shift and Y. * Produces GRAVE ACCENT and TILDE in a * US or UK Mac layout, REVERSE SOLIDUS * (backslash) and VERTICAL LINE in a * US or UK Windows layout, and * LESS-THAN SIGN and GREATER-THAN SIGN * in a Swiss German, German, or French * layout. APPLICATION = 101, // *< windows contextual menu, compose POWER = 102, // *< The USB document says this is a status flag, * not a physical key - but some Mac keyboards * do have a power key. KP_EQUALS = 103, F13 = 104, F14 = 105, F15 = 106, F16 = 107, F17 = 108, F18 = 109, F19 = 110, F20 = 111, F21 = 112, F22 = 113, F23 = 114, F24 = 115, EXECUTE = 116, HELP = 117, // *< AL Integrated Help Center MENU = 118, // *< Menu (show menu) SELECT = 119, STOP = 120, // *< AC Stop AGAIN = 121, // *< AC Redo/Repeat UNDO = 122, // *< AC Undo CUT = 123, // *< AC Cut COPY = 124, // *< AC Copy PASTE = 125, // *< AC Paste FIND = 126, // *< AC Find MUTE = 127, VOLUMEUP = 128, VOLUMEDOWN = 129, // not sure whether there's a reason to enable these // LOCKINGCAPSLOCK = 130, // LOCKINGNUMLOCK = 131, // LOCKINGSCROLLLOCK = 132, KP_COMMA = 133, KP_EQUALSAS400 = 134, INTERNATIONAL1 = 135, // *< used on Asian keyboards, see footnotes in USB doc INTERNATIONAL2 = 136, INTERNATIONAL3 = 137, // *< Yen INTERNATIONAL4 = 138, INTERNATIONAL5 = 139, INTERNATIONAL6 = 140, INTERNATIONAL7 = 141, INTERNATIONAL8 = 142, INTERNATIONAL9 = 143, LANG1 = 144, // *< Hangul/English toggle LANG2 = 145, // *< Hanja conversion LANG3 = 146, // *< Katakana LANG4 = 147, // *< Hiragana LANG5 = 148, // *< Zenkaku/Hankaku LANG6 = 149, // *< reserved LANG7 = 150, // *< reserved LANG8 = 151, // *< reserved LANG9 = 152, // *< reserved ALTERASE = 153, // *< Erase-Eaze SYSREQ = 154, CANCEL = 155, // *< AC Cancel CLEAR = 156, PRIOR = 157, RETURN2 = 158, SEPARATOR = 159, OUT = 160, OPER = 161, CLEARAGAIN = 162, CRSEL = 163, EXSEL = 164, KP_00 = 176, KP_000 = 177, THOUSANDSSEPARATOR = 178, DECIMALSEPARATOR = 179, CURRENCYUNIT = 180, CURRENCYSUBUNIT = 181, KP_LEFTPAREN = 182, KP_RIGHTPAREN = 183, KP_LEFTBRACE = 184, KP_RIGHTBRACE = 185, KP_TAB = 186, KP_BACKSPACE = 187, KP_A = 188, KP_B = 189, KP_C = 190, KP_D = 191, KP_E = 192, KP_F = 193, KP_XOR = 194, KP_POWER = 195, KP_PERCENT = 196, KP_LESS = 197, KP_GREATER = 198, KP_AMPERSAND = 199, KP_DBLAMPERSAND = 200, KP_VERTICALBAR = 201, KP_DBLVERTICALBAR = 202, KP_COLON = 203, KP_HASH = 204, KP_SPACE = 205, KP_AT = 206, KP_EXCLAM = 207, KP_MEMSTORE = 208, KP_MEMRECALL = 209, KP_MEMCLEAR = 210, KP_MEMADD = 211, KP_MEMSUBTRACT = 212, KP_MEMMULTIPLY = 213, KP_MEMDIVIDE = 214, KP_PLUSMINUS = 215, KP_CLEAR = 216, KP_CLEARENTRY = 217, KP_BINARY = 218, KP_OCTAL = 219, KP_DECIMAL = 220, KP_HEXADECIMAL = 221, LCTRL = 224, LSHIFT = 225, LALT = 226, // *< alt, option LGUI = 227, // *< windows, command (apple), meta RCTRL = 228, RSHIFT = 229, RALT = 230, // *< alt gr, option RGUI = 231, // *< windows, command (apple), meta MODE = 257, // *< I'm not sure if this is really not covered * by any of the above, but since there's a * special SDL_KMOD_MODE for it I'm adding it here SLEEP = 258, // *< Sleep WAKE = 259, // *< Wake CHANNEL_INCREMENT = 260, // *< Channel Increment CHANNEL_DECREMENT = 261, // *< Channel Decrement MEDIA_PLAY = 262, // *< Play MEDIA_PAUSE = 263, // *< Pause MEDIA_RECORD = 264, // *< Record MEDIA_FAST_FORWARD = 265, // *< Fast Forward MEDIA_REWIND = 266, // *< Rewind MEDIA_NEXT_TRACK = 267, // *< Next Track MEDIA_PREVIOUS_TRACK = 268, // *< Previous Track MEDIA_STOP = 269, // *< Stop MEDIA_EJECT = 270, // *< Eject MEDIA_PLAY_PAUSE = 271, // *< Play / Pause MEDIA_SELECT = 272, // Media Select AC_NEW = 273, // *< AC New AC_OPEN = 274, // *< AC Open AC_CLOSE = 275, // *< AC Close AC_EXIT = 276, // *< AC Exit AC_SAVE = 277, // *< AC Save AC_PRINT = 278, // *< AC Print AC_PROPERTIES = 279, // *< AC Properties AC_SEARCH = 280, // *< AC Search AC_HOME = 281, // *< AC Home AC_BACK = 282, // *< AC Back AC_FORWARD = 283, // *< AC Forward AC_STOP = 284, // *< AC Stop AC_REFRESH = 285, // *< AC Refresh AC_BOOKMARKS = 286, // *< AC Bookmarks SOFTLEFT = 287, // *< Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom left of the display. SOFTRIGHT = 288, // *< Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom right of the display. CALL = 289, // *< Used for accepting phone calls. ENDCALL = 290, // *< Used for rejecting phone calls. RESERVED = 400, // *< 400-500 reserved for dynamic keycodes }
Related Procedures With Parameters
Related Procedures With Returns
Sensor ¶
Sensor :: struct {}
Related Procedures With Parameters
- CloseSensor
- GetSensorData
- GetSensorID
- GetSensorName
- GetSensorNonPortableType
- GetSensorProperties
- GetSensorType
Related Procedures With Returns
SensorEvent ¶
SensorEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_SENSOR_UPDATE which: SensorID, // *< The instance ID of the sensor data: [6]f32, // *< Up to 6 values from the sensor - additional values can be queried using SDL_GetSensorData() sensor_timestamp: u64, }
SensorID ¶
SensorID :: distinct u32
Related Procedures With Parameters
Related Procedures With Returns
SensorType ¶
SensorType :: enum i32 { INVALID = -1, // *< Returned for an invalid sensor UNKNOWN, // *< Unknown sensor type ACCEL, // *< Accelerometer GYRO, // *< Gyroscope ACCEL_L, // *< Accelerometer for left Joy-Con controller and Wii nunchuk GYRO_L, // *< Gyroscope for left Joy-Con controller ACCEL_R, // *< Accelerometer for right Joy-Con controller GYRO_R, // *< Gyroscope for right Joy-Con controller }
Related Procedures With Parameters
- GamepadHasSensor
- GamepadSensorEnabled
- GetGamepadSensorData
- GetGamepadSensorDataRate
- SendJoystickVirtualSensorData
- SetGamepadSensorEnabled
Related Procedures With Returns
SharedObject ¶
SharedObject :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
Storage ¶
Storage :: struct {}
Related Procedures With Parameters
- CloseStorage
- CopyStorageFile
- CreateStorageDirectory
- EnumerateStorageDirectory
- GetStorageFileSize
- GetStoragePathInfo
- GetStorageSpaceRemaining
- GlobStorageDirectory
- ReadStorageFile
- RemoveStoragePath
- RenameStoragePath
- StorageReady
- WriteStorageFile
Related Procedures With Returns
StorageInterface ¶
StorageInterface :: struct { // The version of this interface version: u32, // Called when the storage is closed close: proc "c" (userdata: rawptr) -> bool, // Optional, returns whether the storage is currently ready for access ready: proc "c" (userdata: rawptr) -> bool, // Enumerate a directory, optional for write-only storage enumerate: proc "c" (userdata: rawptr, path: cstring, callback: EnumerateDirectoryCallback, callback_userdata: rawptr) -> bool, // Get path information, optional for write-only storage info: proc "c" (userdata: rawptr, path: cstring, info: ^PathInfo) -> bool, // Read a file from storage, optional for write-only storage read_file: proc "c" (userdata: rawptr, path: cstring, destination: rawptr, length: u64) -> bool, // Write a file to storage, optional for read-only storage write_file: proc "c" (userdata: rawptr, path: cstring, source: rawptr, length: u64) -> bool, // Create a directory, optional for read-only storage mkdir: proc "c" (userdata: rawptr, path: cstring) -> bool, // Remove a file or empty directory, optional for read-only storage remove: proc "c" (userdata: rawptr, path: cstring) -> bool, // Rename a path, optional for read-only storage rename: proc "c" (userdata: rawptr, oldpath, newpath: cstring) -> bool, // Copy a file, optional for read-only storage copy: proc "c" (userdata: rawptr, oldpath, newpath: cstring) -> bool, // Get the space remaining, optional for read-only storage space_remaining: proc "c" (userdata: rawptr) -> u64, }
Related Procedures With Parameters
Surface ¶
Surface :: struct { flags: SurfaceFlags, // *< The flags of the surface, read-only format: PixelFormat, // *< The format of the surface, read-only w: i32, // *< The width of the surface, read-only. h: i32, // *< The height of the surface, read-only. pitch: i32, // *< The distance in bytes between rows of pixels, read-only pixels: rawptr, // *< A pointer to the pixels of the surface, the pixels are writeable if non-NULL refcount: i32, // *< Application reference count, used when freeing surface reserved: rawptr, }
Related Procedures With Parameters
- AddSurfaceAlternateImage
- BlitSurface
- BlitSurface9Grid
- BlitSurfaceScaled
- BlitSurfaceTiled
- BlitSurfaceTiledWithScale
- BlitSurfaceUnchecked
- BlitSurfaceUncheckedScaled
- ClearSurface
- ConvertSurface
- ConvertSurfaceAndColorspace
- CreateColorCursor
- CreateSoftwareRenderer
- CreateSurfacePalette
- CreateTextureFromSurface
- CreateTray
- DestroySurface
- DuplicateSurface
- FillSurfaceRect
- FillSurfaceRects
- FlipSurface
- GetSurfaceAlphaMod
- GetSurfaceBlendMode
- GetSurfaceClipRect
- GetSurfaceColorKey
- GetSurfaceColorMod
- GetSurfaceColorspace
- GetSurfaceImages
- GetSurfacePalette
- GetSurfaceProperties
- LockSurface
- MUSTLOCK
- MapSurfaceRGB
- MapSurfaceRGBA
- PremultiplySurfaceAlpha
- ReadSurfacePixel
- ReadSurfacePixelFloat
- ReleaseCameraFrame
- RemoveSurfaceAlternateImages
- SaveBMP
- SaveBMP_IO
- ScaleSurface
- SetSurfaceAlphaMod
- SetSurfaceBlendMode
- SetSurfaceClipRect
- SetSurfaceColorKey
- SetSurfaceColorMod
- SetSurfaceColorspace
- SetSurfacePalette
- SetSurfaceRLE
- SetTrayIcon
- SetWindowIcon
- SetWindowShape
- SurfaceHasAlternateImages
- SurfaceHasColorKey
- SurfaceHasRLE
- UnlockSurface
- WriteSurfacePixel
- WriteSurfacePixelFloat
Related Procedures With Returns
SurfaceFlag ¶
SurfaceFlag :: enum u32 { PREALLOCATED = 0, // *< Surface uses preallocated pixel memory LOCK_NEEDED = 1, // *< Surface needs to be locked to access pixels LOCKED = 2, // *< Surface is currently locked SIMD_ALIGNED = 3, // *< Surface uses pixel memory allocated with SDL_aligned_alloc() }
SystemCursor ¶
SystemCursor :: enum i32 { DEFAULT, // *< Default cursor. Usually an arrow. TEXT, // *< Text selection. Usually an I-beam. WAIT, // *< Wait. Usually an hourglass or watch or spinning ball. CROSSHAIR, // *< Crosshair. PROGRESS, // *< Program is busy but still interactive. Usually it's WAIT with an arrow. NWSE_RESIZE, // *< Double arrow pointing northwest and southeast. NESW_RESIZE, // *< Double arrow pointing northeast and southwest. EW_RESIZE, // *< Double arrow pointing west and east. NS_RESIZE, // *< Double arrow pointing north and south. MOVE, // *< Four pointed arrow pointing north, south, east, and west. NOT_ALLOWED, // *< Not permitted. Usually a slashed circle or crossbones. POINTER, // *< Pointer that indicates a link. Usually a pointing hand. NW_RESIZE, // *< Window resize top-left. This may be a single arrow or a double arrow like NWSE_RESIZE. N_RESIZE, // *< Window resize top. May be NS_RESIZE. NE_RESIZE, // *< Window resize top-right. May be NESW_RESIZE. E_RESIZE, // *< Window resize right. May be EW_RESIZE. SE_RESIZE, // *< Window resize bottom-right. May be NWSE_RESIZE. S_RESIZE, // *< Window resize bottom. May be NS_RESIZE. SW_RESIZE, // *< Window resize bottom-left. May be NESW_RESIZE. W_RESIZE, // *< Window resize left. May be EW_RESIZE. }
Related Procedures With Parameters
SystemTheme ¶
SystemTheme :: enum i32 { UNKNOWN, // *< Unknown system theme LIGHT, // *< Light colored system theme DARK, // *< Dark colored system theme }
Related Procedures With Returns
TLSDestructorCallback ¶
TLSDestructorCallback :: proc "c" (value: rawptr)
Related Procedures With Parameters
TextEditingCandidatesEvent ¶
TextEditingCandidatesEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_TEXT_EDITING_CANDIDATES windowID: WindowID, // *< The window with keyboard focus, if any candidates: [^]cstring `fmt:"v,num_candidates"`, // *< The list of candidates, or NULL if there are no candidates available num_candidates: i32, // *< The number of strings in `candidates` selected_candidate: i32, // *< The index of the selected candidate, or -1 if no candidate is selected horizontal: bool, // *< true if the list is horizontal, false if it's vertical _: u8, _: u8, _: u8, }
TextEditingEvent ¶
TextEditingEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_TEXT_EDITING windowID: WindowID, // *< The window with keyboard focus, if any text: cstring, // *< The editing text start: i32, // *< The start cursor of selected editing text, or -1 if not set length: i32, }
TextInputEvent ¶
TextInputEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_TEXT_INPUT windowID: WindowID, // *< The window with keyboard focus, if any text: cstring, }
TextInputType ¶
TextInputType :: enum i32 { TEXT, // *< The input is text TEXT_NAME, // *< The input is a person's name TEXT_EMAIL, // *< The input is an e-mail address TEXT_USERNAME, // *< The input is a username TEXT_PASSWORD_HIDDEN, // *< The input is a secure password that is hidden TEXT_PASSWORD_VISIBLE, // *< The input is a secure password that is visible NUMBER, // *< The input is a number NUMBER_PASSWORD_HIDDEN, // *< The input is a secure PIN that is hidden NUMBER_PASSWORD_VISIBLE, // *< The input is a secure PIN that is visible }
Texture ¶
Texture :: struct { format: PixelFormat, // *< The format of the texture, read-only w: i32, // *< The width of the texture, read-only. h: i32, // *< The height of the texture, read-only. refcount: i32, }
Related Procedures With Parameters
- DestroyTexture
- GetRendererFromTexture
- GetTextureAlphaMod
- GetTextureAlphaModFloat
- GetTextureBlendMode
- GetTextureColorMod
- GetTextureColorModFloat
- GetTextureProperties
- GetTextureScaleMode
- GetTextureSize
- LockTexture
- LockTextureToSurface
- RenderGeometry
- RenderGeometryRaw
- RenderTexture
- RenderTexture9Grid
- RenderTextureAffine
- RenderTextureRotated
- RenderTextureTiled
- SetTextureAlphaMod
- SetTextureAlphaModFloat
- SetTextureBlendMode
- SetTextureColorMod
- SetTextureColorModFloat
- SetTextureScaleMode
- UnlockTexture
- UpdateNVTexture
- UpdateTexture
- UpdateYUVTexture
Related Procedures With Returns
TextureAccess ¶
TextureAccess :: enum i32 { STATIC, // *< Changes rarely, not lockable STREAMING, // *< Changes frequently, lockable TARGET, // *< Texture can be used as a render target }
Related Procedures With Parameters
ThreadFunction ¶
Related Procedures With Parameters
ThreadPriority ¶
ThreadPriority :: enum i32 { LOW, NORMAL, HIGH, TIME_CRITICAL, }
Related Procedures With Parameters
ThreadState ¶
ThreadState :: enum i32 { UNKNOWN, // *< The thread is not valid ALIVE, // *< The thread is currently running DETACHED, // *< The thread is detached and can't be waited on COMPLETE, // *< The thread has finished and should be cleaned up with SDL_WaitThread() }
Related Procedures With Returns
Time ¶
Time :: distinct i64
* * SDL times are signed, 64-bit integers representing nanoseconds since the * Unix epoch (Jan 1, 1970). * * They can be converted between POSIX time_t values with SDL_NS_TO_SECONDS() * and SDL_SECONDS_TO_NS(), and between Windows FILETIME values with * SDL_TimeToWindows() and SDL_TimeFromWindows(). * * \since This macro is available since SDL 3.2.0. * * \sa SDL_MAX_SINT64 * \sa SDL_MIN_SINT64
Related Procedures With Parameters
Related Procedures With Returns
TimeFormat ¶
TimeFormat :: enum i32 { HR24 = 0, // *< 24 hour time HR12 = 1, // *< 12 hour time }
Related Procedures With Parameters
TimerCallback ¶
Related Procedures With Parameters
TimerID ¶
TimerID :: distinct u32
Related Procedures With Parameters
Related Procedures With Returns
TouchDeviceType ¶
TouchDeviceType :: enum i32 { INVALID = -1, DIRECT, // *< touch screen with window-relative coordinates INDIRECT_ABSOLUTE, // *< trackpad with absolute device coordinates INDIRECT_RELATIVE, // *< trackpad with screen cursor-relative coordinates }
Related Procedures With Returns
TouchFingerEvent ¶
TouchFingerEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_FINGER_DOWN, SDL_EVENT_FINGER_UP, SDL_EVENT_FINGER_MOTION, or SDL_EVENT_FINGER_CANCELED touchID: TouchID, // *< The touch device id fingerID: FingerID, x: f32, // *< Normalized in the range 0...1 y: f32, // *< Normalized in the range 0...1 dx: f32, // *< Normalized in the range -1...1 dy: f32, // *< Normalized in the range -1...1 pressure: f32, // *< Normalized in the range 0...1 windowID: WindowID, }
TouchID ¶
TouchID :: distinct u64
Related Procedures With Parameters
Related Procedures With Returns
Related Constants
TransferCharacteristics ¶
TransferCharacteristics :: enum i32 { UNKNOWN = 0, BT709 = 1, // *< Rec. ITU-R BT.709-6 / ITU-R BT1361 UNSPECIFIED = 2, GAMMA22 = 4, // *< ITU-R BT.470-6 System M / ITU-R BT1700 625 PAL & SECAM GAMMA28 = 5, // *< ITU-R BT.470-6 System B, G BT601 = 6, // *< SMPTE ST 170M / ITU-R BT.601-7 525 or 625 SMPTE240 = 7, // *< SMPTE ST 240M LINEAR = 8, LOG100 = 9, LOG100_SQRT10 = 10, IEC61966 = 11, // *< IEC 61966-2-4 BT1361 = 12, // *< ITU-R BT1361 Extended Colour Gamut SRGB = 13, // *< IEC 61966-2-1 (sRGB or sYCC) BT2020_10BIT = 14, // *< ITU-R BT2020 for 10-bit system BT2020_12BIT = 15, // *< ITU-R BT2020 for 12-bit system PQ = 16, // *< SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems SMPTE428 = 17, // *< SMPTE ST 428-1 HLG = 18, // *< ARIB STD-B67, known as "hybrid log-gamma" (HLG) CUSTOM = 31, }
Related Procedures With Parameters
Related Procedures With Returns
TrayCallback ¶
Related Procedures With Parameters
TrayEntry ¶
TrayEntry :: struct {}
Related Procedures With Parameters
- ClickTrayEntry
- CreateTraySubmenu
- GetTrayEntryChecked
- GetTrayEntryEnabled
- GetTrayEntryLabel
- GetTrayEntryParent
- GetTraySubmenu
- RemoveTrayEntry
- SetTrayEntryCallback
- SetTrayEntryChecked
- SetTrayEntryEnabled
- SetTrayEntryLabel
Related Procedures With Returns
TrayEntryFlag ¶
TrayEntryFlag :: enum u32 { BUTTON = 0, // *< Make the entry a simple button. Required. CHECKBOX = 1, // *< Make the entry a checkbox. Required. SUBMENU = 2, // *< Prepare the entry to have a submenu. Required DISABLED = 31, // *< Make the entry disabled. Optional. CHECKED = 30, // *< Make the entry checked. This is valid only for checkboxes. Optional. }
TrayEntryFlags ¶
TrayEntryFlags :: distinct bit_set[TrayEntryFlag; u32]
Related Procedures With Parameters
Related Constants
UserEvent ¶
UserEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_USER through SDL_EVENT_LAST-1, Uint32 because these are not in the SDL_EventType enumeration windowID: WindowID, // *< The associated window if any code: i32, // *< User defined event code data1: rawptr, // *< User defined data pointer data2: rawptr, }
Vertex ¶
Vertex :: struct { position: FPoint, // *< Vertex position, in SDL_Renderer coordinates color: FColor, // *< Vertex color tex_coord: FPoint, }
Related Procedures With Parameters
VirtualJoystickDesc ¶
VirtualJoystickDesc :: struct { version: u32, // *< the version of this interface type: u16, // *< `SDL_JoystickType` padding: u16, // *< unused vendor_id: u16, // *< the USB vendor ID of this joystick product_id: u16, // *< the USB product ID of this joystick naxes: u16, // *< the number of axes on this joystick nbuttons: u16, // *< the number of buttons on this joystick nballs: u16, // *< the number of balls on this joystick nhats: u16, // *< the number of hats on this joystick ntouchpads: u16, // *< the number of touchpads on this joystick, requires `touchpads` to point at valid descriptions nsensors: u16, // *< the number of sensors on this joystick, requires `sensors` to point at valid descriptions padding2: [2]u16, // *< unused button_mask: u32, // *< A mask of which buttons are valid for this controller // e.g. (1 << SDL_GAMEPAD_BUTTON_SOUTH) axis_mask: u32, // *< A mask of which axes are valid for this controller // e.g. (1 << SDL_GAMEPAD_AXIS_LEFTX) name: cstring, // *< the name of the joystick touchpads: [^]VirtualJoystickTouchpadDesc `fmt:"v,ntouchpads"`, // *< A pointer to an array of touchpad descriptions, required if `ntouchpads` is > 0 sensors: [^]VirtualJoystickSensorDesc `fmt:"v,nsensors"`, // *< A pointer to an array of sensor descriptions, required if `nsensors` is > 0 userdata: rawptr, // *< User data pointer passed to callbacks Update: proc "c" (userdata: rawptr), // *< Called when the joystick state should be updated SetPlayerIndex: proc "c" (userdata: rawptr, player_index: i32), // *< Called when the player index is set Rumble: proc "c" (userdata: rawptr, low_frequency_rumble, high_frequency_rumble: u16) -> bool, // *< Implements SDL_RumbleJoystick() RumbleTriggers: proc "c" (userdata: rawptr, left_rumble, right_rumble: u16) -> bool, // *< Implements SDL_RumbleJoystickTriggers() SetLED: proc "c" (userdata: rawptr, red, green, blue: u8) -> bool, // *< Implements SDL_SetJoystickLED() SendEffect: proc "c" (userdata: rawptr, data: rawptr, size: i32) -> bool, // *< Implements SDL_SendJoystickEffect() SetSensorsEnabled: proc "c" (userdata: rawptr, enabled: bool) -> bool, // *< Implements SDL_SetGamepadSensorEnabled() Cleanup: proc "c" (userdata: rawptr), }
Related Procedures With Parameters
VirtualJoystickSensorDesc ¶
VirtualJoystickSensorDesc :: struct { type: SensorType, // *< the type of this sensor rate: f32, }
Window ¶
Window :: struct {}
Related Procedures With Parameters
- AcquireGPUSwapchainTexture
- ClaimWindowForGPUDevice
- ClearComposition
- CreatePopupWindow
- CreateRenderer
- DestroyWindow
- DestroyWindowSurface
- EGL_GetWindowSurface
- FlashWindow
- GL_CreateContext
- GL_MakeCurrent
- GL_SwapWindow
- GetDisplayForWindow
- GetGPUSwapchainTextureFormat
- GetRenderer
- GetTextInputArea
- GetWindowAspectRatio
- GetWindowBordersSize
- GetWindowDisplayScale
- GetWindowFlags
- GetWindowFullscreenMode
- GetWindowICCProfile
- GetWindowID
- GetWindowKeyboardGrab
- GetWindowMaximumSize
- GetWindowMinimumSize
- GetWindowMouseGrab
- GetWindowMouseRect
- GetWindowOpacity
- GetWindowParent
- GetWindowPixelDensity
- GetWindowPixelFormat
- GetWindowPosition
- GetWindowProperties
- GetWindowRelativeMouseMode
- GetWindowSafeArea
- GetWindowSize
- GetWindowSizeInPixels
- GetWindowSurface
- GetWindowSurfaceVSync
- GetWindowTitle
- HideWindow
- MaximizeWindow
- Metal_CreateView
- MinimizeWindow
- RaiseWindow
- ReleaseWindowFromGPUDevice
- RestoreWindow
- ScreenKeyboardShown
- SetGPUSwapchainParameters
- SetTextInputArea
- SetWindowAlwaysOnTop
- SetWindowAspectRatio
- SetWindowBordered
- SetWindowFocusable
- SetWindowFullscreen
- SetWindowFullscreenMode
- SetWindowHitTest
- SetWindowIcon
- SetWindowKeyboardGrab
- SetWindowMaximumSize
- SetWindowMinimumSize
- SetWindowModal
- SetWindowMouseGrab
- SetWindowMouseRect
- SetWindowOpacity
- SetWindowParent
- SetWindowPosition
- SetWindowRelativeMouseMode
- SetWindowResizable
- SetWindowShape
- SetWindowSize
- SetWindowSurfaceVSync
- SetWindowTitle
- SetiOSAnimationCallback
- ShowOpenFileDialog
- ShowOpenFolderDialog
- ShowSaveFileDialog
- ShowSimpleMessageBox
- ShowWindow
- ShowWindowSystemMenu
- StartTextInput
- StartTextInputWithProperties
- StopTextInput
- SyncWindow
- TextInputActive
- UpdateWindowSurface
- UpdateWindowSurfaceRects
- Vulkan_CreateSurface
- WaitAndAcquireGPUSwapchainTexture
- WaitForGPUSwapchain
- WarpMouseInWindow
- WindowHasSurface
- WindowSupportsGPUPresentMode
- WindowSupportsGPUSwapchainComposition
Related Procedures With Returns
WindowEvent ¶
WindowEvent :: struct { using commonEvent: CommonEvent, // *< SDL_EVENT_WINDOW_* windowID: WindowID, // *< The associated window data1: i32, // *< event dependent data data2: i32, }
WindowFlag ¶
WindowFlag :: enum u64 { FULLSCREEN = 0, OPENGL = 1, OCCLUDED = 2, HIDDEN = 3, BORDERLESS = 4, RESIZABLE = 5, MINIMIZED = 6, MAXIMIZED = 7, MOUSE_GRABBED = 8, INPUT_FOCUS = 9, MOUSE_FOCUS = 10, EXTERNAL = 11, MODAL = 12, HIGH_PIXEL_DENSITY = 13, MOUSE_CAPTURE = 14, MOUSE_RELATIVE_MODE = 15, ALWAYS_ON_TOP = 16, UTILITY = 17, TOOLTIP = 18, POPUP_MENU = 19, KEYBOARD_GRABBED = 20, VULKAN = 28, METAL = 29, TRANSPARENT = 30, NOT_FOCUSABLE = 31, }
WindowFlags ¶
WindowFlags :: distinct bit_set[WindowFlag; u64]
Related Procedures With Parameters
Related Procedures With Returns
Related Constants
- WINDOW_ALWAYS_ON_TOP
- WINDOW_BORDERLESS
- WINDOW_EXTERNAL
- WINDOW_FULLSCREEN
- WINDOW_HIDDEN
- WINDOW_HIGH_PIXEL_DENSITY
- WINDOW_INPUT_FOCUS
- WINDOW_KEYBOARD_GRABBED
- WINDOW_MAXIMIZED
- WINDOW_METAL
- WINDOW_MINIMIZED
- WINDOW_MODAL
- WINDOW_MOUSE_CAPTURE
- WINDOW_MOUSE_FOCUS
- WINDOW_MOUSE_GRABBED
- WINDOW_MOUSE_RELATIVE_MODE
- WINDOW_NOT_FOCUSABLE
- WINDOW_OCCLUDED
- WINDOW_OPENGL
- WINDOW_POPUP_MENU
- WINDOW_RESIZABLE
- WINDOW_TOOLTIP
- WINDOW_TRANSPARENT
- WINDOW_UTILITY
- WINDOW_VULKAN
WindowID ¶
WindowID :: distinct u32
Related Procedures With Parameters
Related Procedures With Returns
WindowsMessageHook ¶
Related Procedures With Parameters
X11EventHook ¶
Related Procedures With Parameters
calloc_func ¶
Related Procedures With Parameters
hid_bus_type ¶
hid_bus_type :: enum i32 { // Unknown bus type UNKNOWN = 0, // USB bus // Specifications: // https://usb.org/hid USB = 1, // Bluetooth or Bluetooth LE bus // Specifications: // https://www.bluetooth.com/specifications/specs/human-interface-device-profile-1-1-1/ // https://www.bluetooth.com/specifications/specs/hid-service-1-0/ // https://www.bluetooth.com/specifications/specs/hid-over-gatt-profile-1-0/ BLUETOOTH = 2, // I2C bus // Specifications: // https://docs.microsoft.com/previous-versions/windows/hardware/design/dn642101(v=vs.85) I2C = 3, // SPI bus // Specifications: // https://www.microsoft.com/download/details.aspx?id=103325 SPI = 4, }
hid_device ¶
hid_device :: struct {}
Related Procedures With Parameters
- hid_close
- hid_get_device_info
- hid_get_feature_report
- hid_get_indexed_string
- hid_get_input_report
- hid_get_manufacturer_string
- hid_get_product_string
- hid_get_report_descriptor
- hid_get_serial_number_string
- hid_read
- hid_read_timeout
- hid_send_feature_report
- hid_set_nonblocking
- hid_write
Related Procedures With Returns
hid_device_info ¶
hid_device_info :: struct { // Platform-specific device path path: [^]u8 `fmt:"q,0"`, // Device Vendor ID vendor_id: u16, // Device Product ID product_id: u16, // Serial Number serial_number: [^]u16 `fmt:"q,0"`, // Device Release Number in binary-coded decimal, // also known as Device Version Number release_number: u16, // Manufacturer String manufacturer_string: [^]u16 `fmt:"q,0"`, // Product string product_string: [^]u16 `fmt:"q,0"`, // Usage Page for this Device/Interface // (Windows/Mac/hidraw only) usage_page: u16, // Usage for this Device/Interface // (Windows/Mac/hidraw only) usage: u16, // The USB interface which this logical device // represents. // // Valid only if the device is a USB HID device. // Set to -1 in all other cases. interface_number: i32, // Additional information about the USB interface. // Valid on libusb and Android implementations. interface_class: i32, interface_subclass: i32, interface_protocol: i32, // Underlying bus type bus_type: hid_bus_type, // Pointer to the next device next: ^hid_device_info, }
Related Procedures With Parameters
Related Procedures With Returns
iOSAnimationCallback ¶
iOSAnimationCallback :: proc "c" (userdata: rawptr)
Related Procedures With Parameters
iconv_data_t ¶
iconv_data_t :: struct {}
Related Procedures With Parameters
Related Procedures With Returns
iconv_t ¶
iconv_t :: ^iconv_data_t
main_func ¶
Related Procedures With Parameters
malloc_func ¶
Related Procedures With Parameters
realloc_func ¶
Related Procedures With Parameters
Constants
ALPHA_OPAQUE ¶
ALPHA_OPAQUE :: 255
ALPHA_OPAQUE_FLOAT ¶
ALPHA_OPAQUE_FLOAT :: 1.0
ALPHA_TRANSPARENT ¶
ALPHA_TRANSPARENT :: 0
ALPHA_TRANSPARENT_FLOAT ¶
ALPHA_TRANSPARENT_FLOAT :: 0.0
AUDIO_DEVICE_DEFAULT_PLAYBACK ¶
AUDIO_DEVICE_DEFAULT_PLAYBACK :: AudioDeviceID(0xFFFFFFFF)
AUDIO_DEVICE_DEFAULT_RECORDING ¶
AUDIO_DEVICE_DEFAULT_RECORDING :: AudioDeviceID(0xFFFFFFFE)
AUDIO_MASK_BIG_ENDIAN ¶
AUDIO_MASK_BIG_ENDIAN :: 1 << 12
AUDIO_MASK_BITSIZE ¶
AUDIO_MASK_BITSIZE :: 0xFF
AUDIO_MASK_FLOAT ¶
AUDIO_MASK_FLOAT :: 1 << 8
AUDIO_MASK_SIGNED ¶
AUDIO_MASK_SIGNED :: 1 << 15
BIG_ENDIAN ¶
BIG_ENDIAN :: 4321
BLENDMODE_ADD ¶
BLENDMODE_ADD :: BlendMode{.ADD}
< additive blending: dstRGB = (srcRGB srcA) + dstRGB, dstA = dstA
BLENDMODE_ADD_PREMULTIPLIED ¶
BLENDMODE_ADD_PREMULTIPLIED :: BlendMode{.ADD_PREMULTIPLIED}
*< pre-multiplied additive blending: dstRGB = srcRGB + dstRGB, dstA = dstA
BLENDMODE_BLEND ¶
BLENDMODE_BLEND :: BlendMode{.BLEND}
< alpha blending: dstRGB = (srcRGB srcA) + (dstRGB (1-srcA)), dstA = srcA + (dstA (1-srcA))
BLENDMODE_BLEND_PREMULTIPLIED ¶
BLENDMODE_BLEND_PREMULTIPLIED :: BlendMode{.BLEND_PREMULTIPLIED}
< pre-multiplied alpha blending: dstRGBA = srcRGBA + (dstRGBA (1-srcA))
BLENDMODE_INVALID ¶
BLENDMODE_INVALID: BlendMode : transmute(BlendMode)Uint32(0x7FFFFFFF)
BLENDMODE_MOD ¶
BLENDMODE_MOD :: BlendMode{.MOD}
< color modulate: dstRGB = srcRGB dstRGB, dstA = dstA
BLENDMODE_MUL ¶
BLENDMODE_MUL :: BlendMode{.MUL}
< color multiply: dstRGB = (srcRGB dstRGB) + (dstRGB * (1-srcA)), dstA = dstA
BUTTON_LEFT ¶
BUTTON_LEFT :: 1
BUTTON_LMASK ¶
BUTTON_LMASK :: MouseButtonFlags{.LEFT}
BUTTON_MIDDLE ¶
BUTTON_MIDDLE :: 2
BUTTON_MMASK ¶
BUTTON_MMASK :: MouseButtonFlags{.MIDDLE}
BUTTON_RIGHT ¶
BUTTON_RIGHT :: 3
BUTTON_RMASK ¶
BUTTON_RMASK :: MouseButtonFlags{.RIGHT}
BUTTON_X1 ¶
BUTTON_X1 :: 4
BUTTON_X1MASK ¶
BUTTON_X1MASK :: MouseButtonFlags{.X1}
BUTTON_X2 ¶
BUTTON_X2 :: 5
BUTTON_X2MASK ¶
BUTTON_X2MASK :: MouseButtonFlags{.X2}
BYTEORDER ¶
BYTEORDER :: LIL_ENDIAN when ODIN_ENDIAN == .Little else BIG_ENDIAN
CACHELINE_SIZE ¶
CACHELINE_SIZE :: 128
DEBUG_TEXT_FONT_CHARACTER_SIZE ¶
DEBUG_TEXT_FONT_CHARACTER_SIZE :: 8
GLOB_CASEINSENSITIVE ¶
GLOB_CASEINSENSITIVE :: GlobFlags{.CASEINSENSITIVE}
GL_ACCELERATED_VISUAL ¶
GL_ACCELERATED_VISUAL :: GLAttr.ACCELERATED_VISUAL
GL_ACCUM_ALPHA_SIZE ¶
GL_ACCUM_ALPHA_SIZE :: GLAttr.ACCUM_ALPHA_SIZE
GL_ACCUM_BLUE_SIZE ¶
GL_ACCUM_BLUE_SIZE :: GLAttr.ACCUM_BLUE_SIZE
GL_ACCUM_GREEN_SIZE ¶
GL_ACCUM_GREEN_SIZE :: GLAttr.ACCUM_GREEN_SIZE
GL_ACCUM_RED_SIZE ¶
GL_ACCUM_RED_SIZE :: GLAttr.ACCUM_RED_SIZE
GL_ALPHA_SIZE ¶
GL_ALPHA_SIZE :: GLAttr.ALPHA_SIZE
GL_BLUE_SIZE ¶
GL_BLUE_SIZE :: GLAttr.BLUE_SIZE
GL_BUFFER_SIZE ¶
GL_BUFFER_SIZE :: GLAttr.BUFFER_SIZE
GL_CONTEXT_DEBUG_FLAG ¶
GL_CONTEXT_DEBUG_FLAG :: GLContextFlag{.DEBUG}
GL_CONTEXT_FLAGS ¶
GL_CONTEXT_FLAGS :: GLAttr.CONTEXT_FLAGS
GL_CONTEXT_FORWARD_COMPATIBLE_FLAG ¶
GL_CONTEXT_FORWARD_COMPATIBLE_FLAG :: GLContextFlag{.FORWARD_COMPATIBLE}
GL_CONTEXT_MAJOR_VERSION ¶
GL_CONTEXT_MAJOR_VERSION :: GLAttr.CONTEXT_MAJOR_VERSION
GL_CONTEXT_MINOR_VERSION ¶
GL_CONTEXT_MINOR_VERSION :: GLAttr.CONTEXT_MINOR_VERSION
GL_CONTEXT_NO_ERROR ¶
GL_CONTEXT_NO_ERROR :: GLAttr.CONTEXT_NO_ERROR
GL_CONTEXT_PROFILE_COMPATIBILITY ¶
GL_CONTEXT_PROFILE_COMPATIBILITY :: GLProfile{.COMPATIBILITY}
*< OpenGL Compatibility Profile context
GL_CONTEXT_PROFILE_CORE ¶
GL_CONTEXT_PROFILE_CORE :: GLProfile{.CORE}
*< OpenGL Core Profile context
GL_CONTEXT_PROFILE_MASK ¶
GL_CONTEXT_PROFILE_MASK :: GLAttr.CONTEXT_PROFILE_MASK
GL_CONTEXT_RELEASE_BEHAVIOR ¶
GL_CONTEXT_RELEASE_BEHAVIOR :: GLAttr.CONTEXT_RELEASE_BEHAVIOR
GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH ¶
GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH :: GLContextReleaseFlag{.BEHAVIOR_FLUSH}
GL_CONTEXT_RELEASE_BEHAVIOR_NONE ¶
GL_CONTEXT_RELEASE_BEHAVIOR_NONE :: GLContextReleaseFlag{}
GL_CONTEXT_RESET_ISOLATION_FLAG ¶
GL_CONTEXT_RESET_ISOLATION_FLAG :: GLContextFlag{.RESET_ISOLATION}
GL_CONTEXT_RESET_LOSE_CONTEXT ¶
GL_CONTEXT_RESET_LOSE_CONTEXT :: GLContextResetNotification{.LOSE_CONTEXT}
GL_CONTEXT_RESET_NOTIFICATION ¶
GL_CONTEXT_RESET_NOTIFICATION :: GLAttr.CONTEXT_RESET_NOTIFICATION
GL_CONTEXT_RESET_NO_NOTIFICATION ¶
GL_CONTEXT_RESET_NO_NOTIFICATION :: GLContextResetNotification{}
GL_CONTEXT_ROBUST_ACCESS_FLAG ¶
GL_CONTEXT_ROBUST_ACCESS_FLAG :: GLContextFlag{.ROBUST_ACCESS}
GL_DEPTH_SIZE ¶
GL_DEPTH_SIZE :: GLAttr.DEPTH_SIZE
GL_DOUBLEBUFFER ¶
GL_DOUBLEBUFFER :: GLAttr.DOUBLEBUFFER
GL_EGL_PLATFORM ¶
GL_EGL_PLATFORM :: GLAttr.EGL_PLATFORM
GL_FLOATBUFFERS ¶
GL_FLOATBUFFERS :: GLAttr.FLOATBUFFERS
GL_FRAMEBUFFER_SRGB_CAPABLE ¶
GL_FRAMEBUFFER_SRGB_CAPABLE :: GLAttr.FRAMEBUFFER_SRGB_CAPABLE
GL_GREEN_SIZE ¶
GL_GREEN_SIZE :: GLAttr.GREEN_SIZE
GL_MULTISAMPLEBUFFERS ¶
GL_MULTISAMPLEBUFFERS :: GLAttr.MULTISAMPLEBUFFERS
GL_MULTISAMPLESAMPLES ¶
GL_MULTISAMPLESAMPLES :: GLAttr.MULTISAMPLESAMPLES
GL_RED_SIZE ¶
GL_RED_SIZE :: GLAttr.RED_SIZE
GL_RETAINED_BACKING ¶
GL_RETAINED_BACKING :: GLAttr.RETAINED_BACKING
GL_SHARE_WITH_CURRENT_CONTEXT ¶
GL_SHARE_WITH_CURRENT_CONTEXT :: GLAttr.SHARE_WITH_CURRENT_CONTEXT
GL_STENCIL_SIZE ¶
GL_STENCIL_SIZE :: GLAttr.STENCIL_SIZE
GL_STEREO ¶
GL_STEREO :: GLAttr.STEREO
GPU_SHADERFORMAT_INVALID ¶
GPU_SHADERFORMAT_INVALID :: GPUShaderFormat{}
HAPTIC_AUTOCENTER ¶
HAPTIC_AUTOCENTER :: 1 << 17
HAPTIC_CONSTANT ¶
HAPTIC_CONSTANT :: 1 << 0
HAPTIC_CUSTOM ¶
HAPTIC_CUSTOM :: 1 << 15
HAPTIC_DAMPER ¶
HAPTIC_DAMPER :: 1 << 8
HAPTIC_FRICTION ¶
HAPTIC_FRICTION :: 1 << 10
HAPTIC_GAIN ¶
HAPTIC_GAIN :: 1 << 16
HAPTIC_INERTIA ¶
HAPTIC_INERTIA :: 1 << 9
HAPTIC_INFINITY ¶
HAPTIC_INFINITY: u32 : c.uint(4294967295)
HAPTIC_LEFTRIGHT ¶
HAPTIC_LEFTRIGHT :: 1 << 11
HAPTIC_PAUSE ¶
HAPTIC_PAUSE :: 1 << 19
HAPTIC_RAMP ¶
HAPTIC_RAMP :: 1 << 6
HAPTIC_RESERVED1 ¶
HAPTIC_RESERVED1 :: 1 << 12
HAPTIC_RESERVED2 ¶
HAPTIC_RESERVED2 :: 1 << 13
HAPTIC_RESERVED3 ¶
HAPTIC_RESERVED3 :: 1 << 14
HAPTIC_SAWTOOTHDOWN ¶
HAPTIC_SAWTOOTHDOWN :: 1 << 5
HAPTIC_SAWTOOTHUP ¶
HAPTIC_SAWTOOTHUP :: 1 << 4
HAPTIC_SINE ¶
HAPTIC_SINE :: 1 << 1
HAPTIC_SPRING ¶
HAPTIC_SPRING :: 1 << 7
HAPTIC_SQUARE ¶
HAPTIC_SQUARE :: 1 << 2
HAPTIC_STATUS ¶
HAPTIC_STATUS :: 1 << 18
HAPTIC_TRIANGLE ¶
HAPTIC_TRIANGLE :: 1 << 3
HAT_CENTERED ¶
HAT_CENTERED :: 0x00
HAT_DOWN ¶
HAT_DOWN :: 0x04
HAT_LEFT ¶
HAT_LEFT :: 0x08
HAT_LEFTDOWN ¶
HAT_LEFTDOWN :: HAT_LEFT | HAT_DOWN
HAT_LEFTUP ¶
HAT_LEFTUP :: HAT_LEFT | HAT_UP
HAT_RIGHT ¶
HAT_RIGHT :: 0x02
HAT_RIGHTDOWN ¶
HAT_RIGHTDOWN :: HAT_RIGHT | HAT_DOWN
HAT_RIGHTUP ¶
HAT_RIGHTUP :: HAT_RIGHT | HAT_UP
HINT_ALLOW_ALT_TAB_WHILE_GRABBED ¶
HINT_ALLOW_ALT_TAB_WHILE_GRABBED :: "SDL_ALLOW_ALT_TAB_WHILE_GRABBED"
HINT_ANDROID_ALLOW_RECREATE_ACTIVITY ¶
HINT_ANDROID_ALLOW_RECREATE_ACTIVITY :: "SDL_ANDROID_ALLOW_RECREATE_ACTIVITY"
HINT_ANDROID_BLOCK_ON_PAUSE ¶
HINT_ANDROID_BLOCK_ON_PAUSE :: "SDL_ANDROID_BLOCK_ON_PAUSE"
HINT_ANDROID_LOW_LATENCY_AUDIO ¶
HINT_ANDROID_LOW_LATENCY_AUDIO :: "SDL_ANDROID_LOW_LATENCY_AUDIO"
HINT_ANDROID_TRAP_BACK_BUTTON ¶
HINT_ANDROID_TRAP_BACK_BUTTON :: "SDL_ANDROID_TRAP_BACK_BUTTON"
HINT_APPLE_TV_CONTROLLER_UI_EVENTS ¶
HINT_APPLE_TV_CONTROLLER_UI_EVENTS :: "SDL_APPLE_TV_CONTROLLER_UI_EVENTS"
HINT_APPLE_TV_REMOTE_ALLOW_ROTATION ¶
HINT_APPLE_TV_REMOTE_ALLOW_ROTATION :: "SDL_APPLE_TV_REMOTE_ALLOW_ROTATION"
HINT_APP_ID ¶
HINT_APP_ID :: "SDL_APP_ID"
HINT_APP_NAME ¶
HINT_APP_NAME :: "SDL_APP_NAME"
HINT_ASSERT ¶
HINT_ASSERT :: "SDL_ASSERT"
HINT_AUDIO_ALSA_DEFAULT_DEVICE ¶
HINT_AUDIO_ALSA_DEFAULT_DEVICE :: "SDL_AUDIO_ALSA_DEFAULT_DEVICE"
HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE ¶
HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE :: "SDL_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE"
HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE ¶
HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE :: "SDL_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE"
HINT_AUDIO_CATEGORY ¶
HINT_AUDIO_CATEGORY :: "SDL_AUDIO_CATEGORY"
HINT_AUDIO_CHANNELS ¶
HINT_AUDIO_CHANNELS :: "SDL_AUDIO_CHANNELS"
HINT_AUDIO_DEVICE_APP_ICON_NAME ¶
HINT_AUDIO_DEVICE_APP_ICON_NAME :: "SDL_AUDIO_DEVICE_APP_ICON_NAME"
HINT_AUDIO_DEVICE_SAMPLE_FRAMES ¶
HINT_AUDIO_DEVICE_SAMPLE_FRAMES :: "SDL_AUDIO_DEVICE_SAMPLE_FRAMES"
HINT_AUDIO_DEVICE_STREAM_NAME ¶
HINT_AUDIO_DEVICE_STREAM_NAME :: "SDL_AUDIO_DEVICE_STREAM_NAME"
HINT_AUDIO_DEVICE_STREAM_ROLE ¶
HINT_AUDIO_DEVICE_STREAM_ROLE :: "SDL_AUDIO_DEVICE_STREAM_ROLE"
HINT_AUDIO_DISK_INPUT_FILE ¶
HINT_AUDIO_DISK_INPUT_FILE :: "SDL_AUDIO_DISK_INPUT_FILE"
HINT_AUDIO_DISK_OUTPUT_FILE ¶
HINT_AUDIO_DISK_OUTPUT_FILE :: "SDL_AUDIO_DISK_OUTPUT_FILE"
HINT_AUDIO_DISK_TIMESCALE ¶
HINT_AUDIO_DISK_TIMESCALE :: "SDL_AUDIO_DISK_TIMESCALE"
HINT_AUDIO_DRIVER ¶
HINT_AUDIO_DRIVER :: "SDL_AUDIO_DRIVER"
HINT_AUDIO_DUMMY_TIMESCALE ¶
HINT_AUDIO_DUMMY_TIMESCALE :: "SDL_AUDIO_DUMMY_TIMESCALE"
HINT_AUDIO_FORMAT ¶
HINT_AUDIO_FORMAT :: "SDL_AUDIO_FORMAT"
HINT_AUDIO_FREQUENCY ¶
HINT_AUDIO_FREQUENCY :: "SDL_AUDIO_FREQUENCY"
HINT_AUDIO_INCLUDE_MONITORS ¶
HINT_AUDIO_INCLUDE_MONITORS :: "SDL_AUDIO_INCLUDE_MONITORS"
HINT_AUTO_UPDATE_JOYSTICKS ¶
HINT_AUTO_UPDATE_JOYSTICKS :: "SDL_AUTO_UPDATE_JOYSTICKS"
HINT_AUTO_UPDATE_SENSORS ¶
HINT_AUTO_UPDATE_SENSORS :: "SDL_AUTO_UPDATE_SENSORS"
HINT_BMP_SAVE_LEGACY_FORMAT ¶
HINT_BMP_SAVE_LEGACY_FORMAT :: "SDL_BMP_SAVE_LEGACY_FORMAT"
HINT_CAMERA_DRIVER ¶
HINT_CAMERA_DRIVER :: "SDL_CAMERA_DRIVER"
HINT_CPU_FEATURE_MASK ¶
HINT_CPU_FEATURE_MASK :: "SDL_CPU_FEATURE_MASK"
HINT_DISPLAY_USABLE_BOUNDS ¶
HINT_DISPLAY_USABLE_BOUNDS :: "SDL_DISPLAY_USABLE_BOUNDS"
HINT_EGL_LIBRARY ¶
HINT_EGL_LIBRARY :: "SDL_EGL_LIBRARY"
HINT_EMSCRIPTEN_ASYNCIFY ¶
HINT_EMSCRIPTEN_ASYNCIFY :: "SDL_EMSCRIPTEN_ASYNCIFY"
HINT_EMSCRIPTEN_CANVAS_SELECTOR ¶
HINT_EMSCRIPTEN_CANVAS_SELECTOR :: "SDL_EMSCRIPTEN_CANVAS_SELECTOR"
HINT_EMSCRIPTEN_KEYBOARD_ELEMENT ¶
HINT_EMSCRIPTEN_KEYBOARD_ELEMENT :: "SDL_EMSCRIPTEN_KEYBOARD_ELEMENT"
HINT_ENABLE_SCREEN_KEYBOARD ¶
HINT_ENABLE_SCREEN_KEYBOARD :: "SDL_ENABLE_SCREEN_KEYBOARD"
HINT_EVDEV_DEVICES ¶
HINT_EVDEV_DEVICES :: "SDL_EVDEV_DEVICES"
HINT_EVENT_LOGGING ¶
HINT_EVENT_LOGGING :: "SDL_EVENT_LOGGING"
HINT_FILE_DIALOG_DRIVER ¶
HINT_FILE_DIALOG_DRIVER :: "SDL_FILE_DIALOG_DRIVER"
HINT_FORCE_RAISEWINDOW ¶
HINT_FORCE_RAISEWINDOW :: "SDL_FORCE_RAISEWINDOW"
HINT_FRAMEBUFFER_ACCELERATION ¶
HINT_FRAMEBUFFER_ACCELERATION :: "SDL_FRAMEBUFFER_ACCELERATION"
HINT_GAMECONTROLLERCONFIG ¶
HINT_GAMECONTROLLERCONFIG :: "SDL_GAMECONTROLLERCONFIG"
HINT_GAMECONTROLLERCONFIG_FILE ¶
HINT_GAMECONTROLLERCONFIG_FILE :: "SDL_GAMECONTROLLERCONFIG_FILE"
HINT_GAMECONTROLLERTYPE ¶
HINT_GAMECONTROLLERTYPE :: "SDL_GAMECONTROLLERTYPE"
HINT_GAMECONTROLLER_IGNORE_DEVICES ¶
HINT_GAMECONTROLLER_IGNORE_DEVICES :: "SDL_GAMECONTROLLER_IGNORE_DEVICES"
HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT ¶
HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT :: "SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT"
HINT_GAMECONTROLLER_SENSOR_FUSION ¶
HINT_GAMECONTROLLER_SENSOR_FUSION :: "SDL_GAMECONTROLLER_SENSOR_FUSION"
HINT_GDK_TEXTINPUT_DEFAULT_TEXT ¶
HINT_GDK_TEXTINPUT_DEFAULT_TEXT :: "SDL_GDK_TEXTINPUT_DEFAULT_TEXT"
HINT_GDK_TEXTINPUT_DESCRIPTION ¶
HINT_GDK_TEXTINPUT_DESCRIPTION :: "SDL_GDK_TEXTINPUT_DESCRIPTION"
HINT_GDK_TEXTINPUT_MAX_LENGTH ¶
HINT_GDK_TEXTINPUT_MAX_LENGTH :: "SDL_GDK_TEXTINPUT_MAX_LENGTH"
HINT_GDK_TEXTINPUT_SCOPE ¶
HINT_GDK_TEXTINPUT_SCOPE :: "SDL_GDK_TEXTINPUT_SCOPE"
HINT_GDK_TEXTINPUT_TITLE ¶
HINT_GDK_TEXTINPUT_TITLE :: "SDL_GDK_TEXTINPUT_TITLE"
HINT_GPU_DRIVER ¶
HINT_GPU_DRIVER :: "SDL_GPU_DRIVER"
HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS ¶
HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS :: "SDL_HIDAPI_ENUMERATE_ONLY_CONTROLLERS"
HINT_HIDAPI_IGNORE_DEVICES ¶
HINT_HIDAPI_IGNORE_DEVICES :: "SDL_HIDAPI_IGNORE_DEVICES"
HINT_HIDAPI_LIBUSB ¶
HINT_HIDAPI_LIBUSB :: "SDL_HIDAPI_LIBUSB"
HINT_HIDAPI_LIBUSB_WHITELIST ¶
HINT_HIDAPI_LIBUSB_WHITELIST :: "SDL_HIDAPI_LIBUSB_WHITELIST"
HINT_HIDAPI_UDEV ¶
HINT_HIDAPI_UDEV :: "SDL_HIDAPI_UDEV"
HINT_IME_IMPLEMENTED_UI ¶
HINT_IME_IMPLEMENTED_UI :: "SDL_IME_IMPLEMENTED_UI"
HINT_IOS_HIDE_HOME_INDICATOR ¶
HINT_IOS_HIDE_HOME_INDICATOR :: "SDL_IOS_HIDE_HOME_INDICATOR"
HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS ¶
HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS :: "SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS"
HINT_JOYSTICK_ARCADESTICK_DEVICES ¶
HINT_JOYSTICK_ARCADESTICK_DEVICES :: "SDL_JOYSTICK_ARCADESTICK_DEVICES"
HINT_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED ¶
HINT_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED :: "SDL_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED"
HINT_JOYSTICK_BLACKLIST_DEVICES ¶
HINT_JOYSTICK_BLACKLIST_DEVICES :: "SDL_JOYSTICK_BLACKLIST_DEVICES"
HINT_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED ¶
HINT_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED :: "SDL_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED"
HINT_JOYSTICK_DEVICE ¶
HINT_JOYSTICK_DEVICE :: "SDL_JOYSTICK_DEVICE"
HINT_JOYSTICK_DIRECTINPUT ¶
HINT_JOYSTICK_DIRECTINPUT :: "SDL_JOYSTICK_DIRECTINPUT"
HINT_JOYSTICK_ENHANCED_REPORTS ¶
HINT_JOYSTICK_ENHANCED_REPORTS :: "SDL_JOYSTICK_ENHANCED_REPORTS"
HINT_JOYSTICK_FLIGHTSTICK_DEVICES ¶
HINT_JOYSTICK_FLIGHTSTICK_DEVICES :: "SDL_JOYSTICK_FLIGHTSTICK_DEVICES"
HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED ¶
HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED :: "SDL_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED"
HINT_JOYSTICK_GAMECUBE_DEVICES ¶
HINT_JOYSTICK_GAMECUBE_DEVICES :: "SDL_JOYSTICK_GAMECUBE_DEVICES"
HINT_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED ¶
HINT_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED :: "SDL_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED"
HINT_JOYSTICK_GAMEINPUT ¶
HINT_JOYSTICK_GAMEINPUT :: "SDL_JOYSTICK_GAMEINPUT"
HINT_JOYSTICK_HIDAPI ¶
HINT_JOYSTICK_HIDAPI :: "SDL_JOYSTICK_HIDAPI"
HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS ¶
HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS :: "SDL_JOYSTICK_HIDAPI_COMBINE_JOY_CONS"
HINT_JOYSTICK_HIDAPI_GAMECUBE ¶
HINT_JOYSTICK_HIDAPI_GAMECUBE :: "SDL_JOYSTICK_HIDAPI_GAMECUBE"
HINT_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE ¶
HINT_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE :: "SDL_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE"
HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED ¶
HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED :: "SDL_JOYSTICK_HIDAPI_JOYCON_HOME_LED"
HINT_JOYSTICK_HIDAPI_JOY_CONS ¶
HINT_JOYSTICK_HIDAPI_JOY_CONS :: "SDL_JOYSTICK_HIDAPI_JOY_CONS"
HINT_JOYSTICK_HIDAPI_LUNA ¶
HINT_JOYSTICK_HIDAPI_LUNA :: "SDL_JOYSTICK_HIDAPI_LUNA"
HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC ¶
HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC :: "SDL_JOYSTICK_HIDAPI_NINTENDO_CLASSIC"
HINT_JOYSTICK_HIDAPI_PS3 ¶
HINT_JOYSTICK_HIDAPI_PS3 :: "SDL_JOYSTICK_HIDAPI_PS3"
HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER ¶
HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER :: "SDL_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER"
HINT_JOYSTICK_HIDAPI_PS4 ¶
HINT_JOYSTICK_HIDAPI_PS4 :: "SDL_JOYSTICK_HIDAPI_PS4"
HINT_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL ¶
HINT_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL :: "SDL_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL"
HINT_JOYSTICK_HIDAPI_PS5 ¶
HINT_JOYSTICK_HIDAPI_PS5 :: "SDL_JOYSTICK_HIDAPI_PS5"
HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED ¶
HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED :: "SDL_JOYSTICK_HIDAPI_PS5_PLAYER_LED"
HINT_JOYSTICK_HIDAPI_SHIELD ¶
HINT_JOYSTICK_HIDAPI_SHIELD :: "SDL_JOYSTICK_HIDAPI_SHIELD"
HINT_JOYSTICK_HIDAPI_STADIA ¶
HINT_JOYSTICK_HIDAPI_STADIA :: "SDL_JOYSTICK_HIDAPI_STADIA"
HINT_JOYSTICK_HIDAPI_STEAM ¶
HINT_JOYSTICK_HIDAPI_STEAM :: "SDL_JOYSTICK_HIDAPI_STEAM"
HINT_JOYSTICK_HIDAPI_STEAMDECK ¶
HINT_JOYSTICK_HIDAPI_STEAMDECK :: "SDL_JOYSTICK_HIDAPI_STEAMDECK"
HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED ¶
HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED :: "SDL_JOYSTICK_HIDAPI_STEAM_HOME_LED"
HINT_JOYSTICK_HIDAPI_STEAM_HORI ¶
HINT_JOYSTICK_HIDAPI_STEAM_HORI :: "SDL_JOYSTICK_HIDAPI_STEAM_HORI"
HINT_JOYSTICK_HIDAPI_SWITCH ¶
HINT_JOYSTICK_HIDAPI_SWITCH :: "SDL_JOYSTICK_HIDAPI_SWITCH"
HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED ¶
HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED :: "SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED"
HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED ¶
HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED :: "SDL_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED"
HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS ¶
HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS :: "SDL_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS"
HINT_JOYSTICK_HIDAPI_WII ¶
HINT_JOYSTICK_HIDAPI_WII :: "SDL_JOYSTICK_HIDAPI_WII"
HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED ¶
HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED :: "SDL_JOYSTICK_HIDAPI_WII_PLAYER_LED"
HINT_JOYSTICK_HIDAPI_XBOX ¶
HINT_JOYSTICK_HIDAPI_XBOX :: "SDL_JOYSTICK_HIDAPI_XBOX"
HINT_JOYSTICK_HIDAPI_XBOX_360 ¶
HINT_JOYSTICK_HIDAPI_XBOX_360 :: "SDL_JOYSTICK_HIDAPI_XBOX_360"
HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED ¶
HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED :: "SDL_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED"
HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS ¶
HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS :: "SDL_JOYSTICK_HIDAPI_XBOX_360_WIRELESS"
HINT_JOYSTICK_HIDAPI_XBOX_ONE ¶
HINT_JOYSTICK_HIDAPI_XBOX_ONE :: "SDL_JOYSTICK_HIDAPI_XBOX_ONE"
HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED ¶
HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED :: "SDL_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED"
HINT_JOYSTICK_IOKIT ¶
HINT_JOYSTICK_IOKIT :: "SDL_JOYSTICK_IOKIT"
HINT_JOYSTICK_LINUX_CLASSIC ¶
HINT_JOYSTICK_LINUX_CLASSIC :: "SDL_JOYSTICK_LINUX_CLASSIC"
HINT_JOYSTICK_LINUX_DEADZONES ¶
HINT_JOYSTICK_LINUX_DEADZONES :: "SDL_JOYSTICK_LINUX_DEADZONES"
HINT_JOYSTICK_LINUX_DIGITAL_HATS ¶
HINT_JOYSTICK_LINUX_DIGITAL_HATS :: "SDL_JOYSTICK_LINUX_DIGITAL_HATS"
HINT_JOYSTICK_LINUX_HAT_DEADZONES ¶
HINT_JOYSTICK_LINUX_HAT_DEADZONES :: "SDL_JOYSTICK_LINUX_HAT_DEADZONES"
HINT_JOYSTICK_MFI ¶
HINT_JOYSTICK_MFI :: "SDL_JOYSTICK_MFI"
HINT_JOYSTICK_RAWINPUT ¶
HINT_JOYSTICK_RAWINPUT :: "SDL_JOYSTICK_RAWINPUT"
HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT ¶
HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT :: "SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"
HINT_JOYSTICK_ROG_CHAKRAM ¶
HINT_JOYSTICK_ROG_CHAKRAM :: "SDL_JOYSTICK_ROG_CHAKRAM"
HINT_JOYSTICK_THREAD ¶
HINT_JOYSTICK_THREAD :: "SDL_JOYSTICK_THREAD"
HINT_JOYSTICK_THROTTLE_DEVICES ¶
HINT_JOYSTICK_THROTTLE_DEVICES :: "SDL_JOYSTICK_THROTTLE_DEVICES"
HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED ¶
HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED :: "SDL_JOYSTICK_THROTTLE_DEVICES_EXCLUDED"
HINT_JOYSTICK_WGI ¶
HINT_JOYSTICK_WGI :: "SDL_JOYSTICK_WGI"
HINT_JOYSTICK_WHEEL_DEVICES ¶
HINT_JOYSTICK_WHEEL_DEVICES :: "SDL_JOYSTICK_WHEEL_DEVICES"
HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED ¶
HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED :: "SDL_JOYSTICK_WHEEL_DEVICES_EXCLUDED"
HINT_JOYSTICK_ZERO_CENTERED_DEVICES ¶
HINT_JOYSTICK_ZERO_CENTERED_DEVICES :: "SDL_JOYSTICK_ZERO_CENTERED_DEVICES"
HINT_KEYCODE_OPTIONS ¶
HINT_KEYCODE_OPTIONS :: "SDL_KEYCODE_OPTIONS"
HINT_KMSDRM_DEVICE_INDEX ¶
HINT_KMSDRM_DEVICE_INDEX :: "SDL_KMSDRM_DEVICE_INDEX"
HINT_KMSDRM_REQUIRE_DRM_MASTER ¶
HINT_KMSDRM_REQUIRE_DRM_MASTER :: "SDL_KMSDRM_REQUIRE_DRM_MASTER"
HINT_LOGGING ¶
HINT_LOGGING :: "SDL_LOGGING"
HINT_MAC_BACKGROUND_APP ¶
HINT_MAC_BACKGROUND_APP :: "SDL_MAC_BACKGROUND_APP"
HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK ¶
HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK :: "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
HINT_MAC_OPENGL_ASYNC_DISPATCH ¶
HINT_MAC_OPENGL_ASYNC_DISPATCH :: "SDL_MAC_OPENGL_ASYNC_DISPATCH"
HINT_MAC_OPTION_AS_ALT ¶
HINT_MAC_OPTION_AS_ALT :: "SDL_MAC_OPTION_AS_ALT"
HINT_MAC_SCROLL_MOMENTUM ¶
HINT_MAC_SCROLL_MOMENTUM :: "SDL_MAC_SCROLL_MOMENTUM"
HINT_MAIN_CALLBACK_RATE ¶
HINT_MAIN_CALLBACK_RATE :: "SDL_MAIN_CALLBACK_RATE"
HINT_MOUSE_AUTO_CAPTURE ¶
HINT_MOUSE_AUTO_CAPTURE :: "SDL_MOUSE_AUTO_CAPTURE"
HINT_MOUSE_DEFAULT_SYSTEM_CURSOR ¶
HINT_MOUSE_DEFAULT_SYSTEM_CURSOR :: "SDL_MOUSE_DEFAULT_SYSTEM_CURSOR"
HINT_MOUSE_DOUBLE_CLICK_RADIUS ¶
HINT_MOUSE_DOUBLE_CLICK_RADIUS :: "SDL_MOUSE_DOUBLE_CLICK_RADIUS"
HINT_MOUSE_DOUBLE_CLICK_TIME ¶
HINT_MOUSE_DOUBLE_CLICK_TIME :: "SDL_MOUSE_DOUBLE_CLICK_TIME"
HINT_MOUSE_EMULATE_WARP_WITH_RELATIVE ¶
HINT_MOUSE_EMULATE_WARP_WITH_RELATIVE :: "SDL_MOUSE_EMULATE_WARP_WITH_RELATIVE"
HINT_MOUSE_FOCUS_CLICKTHROUGH ¶
HINT_MOUSE_FOCUS_CLICKTHROUGH :: "SDL_MOUSE_FOCUS_CLICKTHROUGH"
HINT_MOUSE_NORMAL_SPEED_SCALE ¶
HINT_MOUSE_NORMAL_SPEED_SCALE :: "SDL_MOUSE_NORMAL_SPEED_SCALE"
HINT_MOUSE_RELATIVE_CURSOR_VISIBLE ¶
HINT_MOUSE_RELATIVE_CURSOR_VISIBLE :: "SDL_MOUSE_RELATIVE_CURSOR_VISIBLE"
HINT_MOUSE_RELATIVE_MODE_CENTER ¶
HINT_MOUSE_RELATIVE_MODE_CENTER :: "SDL_MOUSE_RELATIVE_MODE_CENTER"
HINT_MOUSE_RELATIVE_SPEED_SCALE ¶
HINT_MOUSE_RELATIVE_SPEED_SCALE :: "SDL_MOUSE_RELATIVE_SPEED_SCALE"
HINT_MOUSE_RELATIVE_SYSTEM_SCALE ¶
HINT_MOUSE_RELATIVE_SYSTEM_SCALE :: "SDL_MOUSE_RELATIVE_SYSTEM_SCALE"
HINT_MOUSE_RELATIVE_WARP_MOTION ¶
HINT_MOUSE_RELATIVE_WARP_MOTION :: "SDL_MOUSE_RELATIVE_WARP_MOTION"
HINT_MOUSE_TOUCH_EVENTS ¶
HINT_MOUSE_TOUCH_EVENTS :: "SDL_MOUSE_TOUCH_EVENTS"
HINT_MUTE_CONSOLE_KEYBOARD ¶
HINT_MUTE_CONSOLE_KEYBOARD :: "SDL_MUTE_CONSOLE_KEYBOARD"
HINT_NO_SIGNAL_HANDLERS ¶
HINT_NO_SIGNAL_HANDLERS :: "SDL_NO_SIGNAL_HANDLERS"
HINT_OPENGL_ES_DRIVER ¶
HINT_OPENGL_ES_DRIVER :: "SDL_OPENGL_ES_DRIVER"
HINT_OPENGL_LIBRARY ¶
HINT_OPENGL_LIBRARY :: "SDL_OPENGL_LIBRARY"
HINT_OPENVR_LIBRARY ¶
HINT_OPENVR_LIBRARY :: "SDL_OPENVR_LIBRARY"
HINT_ORIENTATIONS ¶
HINT_ORIENTATIONS :: "SDL_ORIENTATIONS"
HINT_PEN_MOUSE_EVENTS ¶
HINT_PEN_MOUSE_EVENTS :: "SDL_PEN_MOUSE_EVENTS"
HINT_PEN_TOUCH_EVENTS ¶
HINT_PEN_TOUCH_EVENTS :: "SDL_PEN_TOUCH_EVENTS"
HINT_POLL_SENTINEL ¶
HINT_POLL_SENTINEL :: "SDL_POLL_SENTINEL"
HINT_PREFERRED_LOCALES ¶
HINT_PREFERRED_LOCALES :: "SDL_PREFERRED_LOCALES"
HINT_QUIT_ON_LAST_WINDOW_CLOSE ¶
HINT_QUIT_ON_LAST_WINDOW_CLOSE :: "SDL_QUIT_ON_LAST_WINDOW_CLOSE"
HINT_RENDER_DIRECT3D11_DEBUG ¶
HINT_RENDER_DIRECT3D11_DEBUG :: "SDL_RENDER_DIRECT3D11_DEBUG"
HINT_RENDER_DIRECT3D_THREADSAFE ¶
HINT_RENDER_DIRECT3D_THREADSAFE :: "SDL_RENDER_DIRECT3D_THREADSAFE"
HINT_RENDER_DRIVER ¶
HINT_RENDER_DRIVER :: "SDL_RENDER_DRIVER"
HINT_RENDER_GPU_DEBUG ¶
HINT_RENDER_GPU_DEBUG :: "SDL_RENDER_GPU_DEBUG"
HINT_RENDER_GPU_LOW_POWER ¶
HINT_RENDER_GPU_LOW_POWER :: "SDL_RENDER_GPU_LOW_POWER"
HINT_RENDER_LINE_METHOD ¶
HINT_RENDER_LINE_METHOD :: "SDL_RENDER_LINE_METHOD"
HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE ¶
HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE :: "SDL_RENDER_METAL_PREFER_LOW_POWER_DEVICE"
HINT_RENDER_VSYNC ¶
HINT_RENDER_VSYNC :: "SDL_RENDER_VSYNC"
HINT_RENDER_VULKAN_DEBUG ¶
HINT_RENDER_VULKAN_DEBUG :: "SDL_RENDER_VULKAN_DEBUG"
HINT_RETURN_KEY_HIDES_IME ¶
HINT_RETURN_KEY_HIDES_IME :: "SDL_RETURN_KEY_HIDES_IME"
HINT_ROG_GAMEPAD_MICE ¶
HINT_ROG_GAMEPAD_MICE :: "SDL_ROG_GAMEPAD_MICE"
HINT_ROG_GAMEPAD_MICE_EXCLUDED ¶
HINT_ROG_GAMEPAD_MICE_EXCLUDED :: "SDL_ROG_GAMEPAD_MICE_EXCLUDED"
HINT_RPI_VIDEO_LAYER ¶
HINT_RPI_VIDEO_LAYER :: "SDL_RPI_VIDEO_LAYER"
HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME ¶
HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME :: "SDL_SCREENSAVER_INHIBIT_ACTIVITY_NAME"
HINT_SHUTDOWN_DBUS_ON_QUIT ¶
HINT_SHUTDOWN_DBUS_ON_QUIT :: "SDL_SHUTDOWN_DBUS_ON_QUIT"
HINT_STORAGE_TITLE_DRIVER ¶
HINT_STORAGE_TITLE_DRIVER :: "SDL_STORAGE_TITLE_DRIVER"
HINT_STORAGE_USER_DRIVER ¶
HINT_STORAGE_USER_DRIVER :: "SDL_STORAGE_USER_DRIVER"
HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL ¶
HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL :: "SDL_THREAD_FORCE_REALTIME_TIME_CRITICAL"
HINT_THREAD_PRIORITY_POLICY ¶
HINT_THREAD_PRIORITY_POLICY :: "SDL_THREAD_PRIORITY_POLICY"
HINT_TIMER_RESOLUTION ¶
HINT_TIMER_RESOLUTION :: "SDL_TIMER_RESOLUTION"
HINT_TOUCH_MOUSE_EVENTS ¶
HINT_TOUCH_MOUSE_EVENTS :: "SDL_TOUCH_MOUSE_EVENTS"
HINT_TRACKPAD_IS_TOUCH_ONLY ¶
HINT_TRACKPAD_IS_TOUCH_ONLY :: "SDL_TRACKPAD_IS_TOUCH_ONLY"
HINT_TV_REMOTE_AS_JOYSTICK ¶
HINT_TV_REMOTE_AS_JOYSTICK :: "SDL_TV_REMOTE_AS_JOYSTICK"
HINT_VIDEO_ALLOW_SCREENSAVER ¶
HINT_VIDEO_ALLOW_SCREENSAVER :: "SDL_VIDEO_ALLOW_SCREENSAVER"
HINT_VIDEO_DISPLAY_PRIORITY ¶
HINT_VIDEO_DISPLAY_PRIORITY :: "SDL_VIDEO_DISPLAY_PRIORITY"
HINT_VIDEO_DOUBLE_BUFFER ¶
HINT_VIDEO_DOUBLE_BUFFER :: "SDL_VIDEO_DOUBLE_BUFFER"
HINT_VIDEO_DRIVER ¶
HINT_VIDEO_DRIVER :: "SDL_VIDEO_DRIVER"
HINT_VIDEO_DUMMY_SAVE_FRAMES ¶
HINT_VIDEO_DUMMY_SAVE_FRAMES :: "SDL_VIDEO_DUMMY_SAVE_FRAMES"
HINT_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK ¶
HINT_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK :: "SDL_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK"
HINT_VIDEO_FORCE_EGL ¶
HINT_VIDEO_FORCE_EGL :: "SDL_VIDEO_FORCE_EGL"
HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY ¶
HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY :: "SDL_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY"
HINT_VIDEO_MAC_FULLSCREEN_SPACES ¶
HINT_VIDEO_MAC_FULLSCREEN_SPACES :: "SDL_VIDEO_MAC_FULLSCREEN_SPACES"
HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS ¶
HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS :: "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS"
HINT_VIDEO_OFFSCREEN_SAVE_FRAMES ¶
HINT_VIDEO_OFFSCREEN_SAVE_FRAMES :: "SDL_VIDEO_OFFSCREEN_SAVE_FRAMES"
HINT_VIDEO_SYNC_WINDOW_OPERATIONS ¶
HINT_VIDEO_SYNC_WINDOW_OPERATIONS :: "SDL_VIDEO_SYNC_WINDOW_OPERATIONS"
HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR ¶
HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR :: "SDL_VIDEO_WAYLAND_ALLOW_LIBDECOR"
HINT_VIDEO_WAYLAND_MODE_EMULATION ¶
HINT_VIDEO_WAYLAND_MODE_EMULATION :: "SDL_VIDEO_WAYLAND_MODE_EMULATION"
HINT_VIDEO_WAYLAND_MODE_SCALING ¶
HINT_VIDEO_WAYLAND_MODE_SCALING :: "SDL_VIDEO_WAYLAND_MODE_SCALING"
HINT_VIDEO_WAYLAND_PREFER_LIBDECOR ¶
HINT_VIDEO_WAYLAND_PREFER_LIBDECOR :: "SDL_VIDEO_WAYLAND_PREFER_LIBDECOR"
HINT_VIDEO_WAYLAND_SCALE_TO_DISPLAY ¶
HINT_VIDEO_WAYLAND_SCALE_TO_DISPLAY :: "SDL_VIDEO_WAYLAND_SCALE_TO_DISPLAY"
HINT_VIDEO_WIN_D3DCOMPILER ¶
HINT_VIDEO_WIN_D3DCOMPILER :: "SDL_VIDEO_WIN_D3DCOMPILER"
HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR ¶
HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR :: "SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR"
HINT_VIDEO_X11_NET_WM_PING ¶
HINT_VIDEO_X11_NET_WM_PING :: "SDL_VIDEO_X11_NET_WM_PING"
HINT_VIDEO_X11_NODIRECTCOLOR ¶
HINT_VIDEO_X11_NODIRECTCOLOR :: "SDL_VIDEO_X11_NODIRECTCOLOR"
HINT_VIDEO_X11_SCALING_FACTOR ¶
HINT_VIDEO_X11_SCALING_FACTOR :: "SDL_VIDEO_X11_SCALING_FACTOR"
HINT_VIDEO_X11_VISUALID ¶
HINT_VIDEO_X11_VISUALID :: "SDL_VIDEO_X11_VISUALID"
HINT_VIDEO_X11_WINDOW_VISUALID ¶
HINT_VIDEO_X11_WINDOW_VISUALID :: "SDL_VIDEO_X11_WINDOW_VISUALID"
HINT_VIDEO_X11_XRANDR ¶
HINT_VIDEO_X11_XRANDR :: "SDL_VIDEO_X11_XRANDR"
HINT_VITA_ENABLE_BACK_TOUCH ¶
HINT_VITA_ENABLE_BACK_TOUCH :: "SDL_VITA_ENABLE_BACK_TOUCH"
HINT_VITA_ENABLE_FRONT_TOUCH ¶
HINT_VITA_ENABLE_FRONT_TOUCH :: "SDL_VITA_ENABLE_FRONT_TOUCH"
HINT_VITA_MODULE_PATH ¶
HINT_VITA_MODULE_PATH :: "SDL_VITA_MODULE_PATH"
HINT_VITA_PVR_INIT ¶
HINT_VITA_PVR_INIT :: "SDL_VITA_PVR_INIT"
HINT_VITA_PVR_OPENGL ¶
HINT_VITA_PVR_OPENGL :: "SDL_VITA_PVR_OPENGL"
HINT_VITA_RESOLUTION ¶
HINT_VITA_RESOLUTION :: "SDL_VITA_RESOLUTION"
HINT_VITA_TOUCH_MOUSE_DEVICE ¶
HINT_VITA_TOUCH_MOUSE_DEVICE :: "SDL_VITA_TOUCH_MOUSE_DEVICE"
HINT_VULKAN_DISPLAY ¶
HINT_VULKAN_DISPLAY :: "SDL_VULKAN_DISPLAY"
HINT_VULKAN_LIBRARY ¶
HINT_VULKAN_LIBRARY :: "SDL_VULKAN_LIBRARY"
HINT_WAVE_CHUNK_LIMIT ¶
HINT_WAVE_CHUNK_LIMIT :: "SDL_WAVE_CHUNK_LIMIT"
HINT_WAVE_FACT_CHUNK ¶
HINT_WAVE_FACT_CHUNK :: "SDL_WAVE_FACT_CHUNK"
HINT_WAVE_RIFF_CHUNK_SIZE ¶
HINT_WAVE_RIFF_CHUNK_SIZE :: "SDL_WAVE_RIFF_CHUNK_SIZE"
HINT_WAVE_TRUNCATION ¶
HINT_WAVE_TRUNCATION :: "SDL_WAVE_TRUNCATION"
HINT_WINDOWS_CLOSE_ON_ALT_F4 ¶
HINT_WINDOWS_CLOSE_ON_ALT_F4 :: "SDL_WINDOWS_CLOSE_ON_ALT_F4"
HINT_WINDOWS_ENABLE_MENU_MNEMONICS ¶
HINT_WINDOWS_ENABLE_MENU_MNEMONICS :: "SDL_WINDOWS_ENABLE_MENU_MNEMONICS"
HINT_WINDOWS_ENABLE_MESSAGELOOP ¶
HINT_WINDOWS_ENABLE_MESSAGELOOP :: "SDL_WINDOWS_ENABLE_MESSAGELOOP"
HINT_WINDOWS_ERASE_BACKGROUND_MODE ¶
HINT_WINDOWS_ERASE_BACKGROUND_MODE :: "SDL_WINDOWS_ERASE_BACKGROUND_MODE"
HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL ¶
HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL :: "SDL_WINDOWS_FORCE_SEMAPHORE_KERNEL"
HINT_WINDOWS_GAMEINPUT ¶
HINT_WINDOWS_GAMEINPUT :: "SDL_WINDOWS_GAMEINPUT"
HINT_WINDOWS_INTRESOURCE_ICON ¶
HINT_WINDOWS_INTRESOURCE_ICON :: "SDL_WINDOWS_INTRESOURCE_ICON"
HINT_WINDOWS_INTRESOURCE_ICON_SMALL ¶
HINT_WINDOWS_INTRESOURCE_ICON_SMALL :: "SDL_WINDOWS_INTRESOURCE_ICON_SMALL"
HINT_WINDOWS_RAW_KEYBOARD ¶
HINT_WINDOWS_RAW_KEYBOARD :: "SDL_WINDOWS_RAW_KEYBOARD"
HINT_WINDOWS_USE_D3D9EX ¶
HINT_WINDOWS_USE_D3D9EX :: "SDL_WINDOWS_USE_D3D9EX"
HINT_WINDOW_ACTIVATE_WHEN_RAISED ¶
HINT_WINDOW_ACTIVATE_WHEN_RAISED :: "SDL_WINDOW_ACTIVATE_WHEN_RAISED"
HINT_WINDOW_ACTIVATE_WHEN_SHOWN ¶
HINT_WINDOW_ACTIVATE_WHEN_SHOWN :: "SDL_WINDOW_ACTIVATE_WHEN_SHOWN"
HINT_WINDOW_ALLOW_TOPMOST ¶
HINT_WINDOW_ALLOW_TOPMOST :: "SDL_WINDOW_ALLOW_TOPMOST"
HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN ¶
HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN :: "SDL_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN"
HINT_X11_FORCE_OVERRIDE_REDIRECT ¶
HINT_X11_FORCE_OVERRIDE_REDIRECT :: "SDL_X11_FORCE_OVERRIDE_REDIRECT"
HINT_X11_WINDOW_TYPE ¶
HINT_X11_WINDOW_TYPE :: "SDL_X11_WINDOW_TYPE"
HINT_X11_XCB_LIBRARY ¶
HINT_X11_XCB_LIBRARY :: "SDL_X11_XCB_LIBRARY"
HINT_XINPUT_ENABLED ¶
HINT_XINPUT_ENABLED :: "SDL_XINPUT_ENABLED"
ICONV_EILSEQ ¶
ICONV_EILSEQ: uint : transmute(uint)int(-3)
*< Invalid input sequence was encountered.
ICONV_EINVAL ¶
ICONV_EINVAL: uint : transmute(uint)int(-4)
*< Incomplete input sequence was encountered.
INIT_AUDIO ¶
INIT_AUDIO :: InitFlags{.AUDIO}
INIT_CAMERA ¶
INIT_CAMERA :: InitFlags{.CAMERA}
INIT_EVENTS ¶
INIT_EVENTS :: InitFlags{.EVENTS}
INIT_GAMEPAD ¶
INIT_GAMEPAD :: InitFlags{.GAMEPAD}
INIT_HAPTIC ¶
INIT_HAPTIC :: InitFlags{.HAPTIC}
INIT_JOYSTICK ¶
INIT_JOYSTICK :: InitFlags{.JOYSTICK}
INIT_SENSOR ¶
INIT_SENSOR :: InitFlags{.SENSOR}
INIT_VIDEO ¶
INIT_VIDEO :: InitFlags{.VIDEO}
IO_SEEK_CUR ¶
IO_SEEK_CUR :: IOWhence.SEEK_CUR
IO_SEEK_END ¶
IO_SEEK_END :: IOWhence.SEEK_END
IO_SEEK_SET ¶
IO_SEEK_SET :: IOWhence.SEEK_SET
JOYSTICK_AXIS_MAX ¶
JOYSTICK_AXIS_MAX :: +32767
JOYSTICK_AXIS_MIN ¶
JOYSTICK_AXIS_MIN :: -32768
JOYSTICK_TYPE_COUNT ¶
JOYSTICK_TYPE_COUNT :: len(JoystickType)
KMOD_NUM ¶
KMOD_NUM :: Keymod{.NUM}
*< the Num Lock key (may be located on an extended keypad) is down.
K_EXTENDED_MASK ¶
K_EXTENDED_MASK :: 1 << 29
K_MEDIA_FAST_FORWARD ¶
K_MEDIA_FAST_FORWARD :: 0x40000109
*< SCANCODE_TO_KEYCODE(.MEDIA_FAST_FORWARD)
K_MEDIA_PREVIOUS_TRACK ¶
K_MEDIA_PREVIOUS_TRACK :: 0x4000010c
*< SCANCODE_TO_KEYCODE(.MEDIA_PREVIOUS_TRACK)
K_SCANCODE_MASK ¶
K_SCANCODE_MASK :: 1 << 30
K_THOUSANDSSEPARATOR ¶
K_THOUSANDSSEPARATOR :: 0x400000b2
*< SCANCODE_TO_KEYCODE(.THOUSANDSSEPARATOR)
LIL_ENDIAN ¶
LIL_ENDIAN :: 1234
MAJOR_VERSION ¶
MAJOR_VERSION :: 3
MICRO_VERSION ¶
MICRO_VERSION :: 2
MINOR_VERSION ¶
MINOR_VERSION :: 2
MOUSE_TOUCHID ¶
MOUSE_TOUCHID :: TouchID(1 << 64 - 1)
MS_PER_SECOND ¶
MS_PER_SECOND :: 1000
NS_PER_MS ¶
NS_PER_MS :: 1000000
NS_PER_SECOND ¶
NS_PER_SECOND :: 1000000000
NS_PER_US ¶
NS_PER_US :: 1000
PEN_MOUSEID ¶
PEN_MOUSEID :: MouseID(1 << 32 - 2)
PEN_TOUCHID ¶
PEN_TOUCHID :: TouchID(1 << 64 - 2)
PROP_APP_METADATA_COPYRIGHT_STRING ¶
PROP_APP_METADATA_COPYRIGHT_STRING :: "SDL.app.metadata.copyright"
PROP_APP_METADATA_CREATOR_STRING ¶
PROP_APP_METADATA_CREATOR_STRING :: "SDL.app.metadata.creator"
PROP_APP_METADATA_IDENTIFIER_STRING ¶
PROP_APP_METADATA_IDENTIFIER_STRING :: "SDL.app.metadata.identifier"
PROP_APP_METADATA_NAME_STRING ¶
PROP_APP_METADATA_NAME_STRING :: "SDL.app.metadata.name"
PROP_APP_METADATA_TYPE_STRING ¶
PROP_APP_METADATA_TYPE_STRING :: "SDL.app.metadata.type"
PROP_APP_METADATA_URL_STRING ¶
PROP_APP_METADATA_URL_STRING :: "SDL.app.metadata.url"
PROP_APP_METADATA_VERSION_STRING ¶
PROP_APP_METADATA_VERSION_STRING :: "SDL.app.metadata.version"
PROP_DISPLAY_HDR_ENABLED_BOOLEAN ¶
PROP_DISPLAY_HDR_ENABLED_BOOLEAN :: "SDL.display.HDR_enabled"
PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER ¶
PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER :: "SDL.display.KMSDRM.panel_orientation"
PROP_FILE_DIALOG_ACCEPT_STRING ¶
PROP_FILE_DIALOG_ACCEPT_STRING :: "SDL.filedialog.accept"
PROP_FILE_DIALOG_CANCEL_STRING ¶
PROP_FILE_DIALOG_CANCEL_STRING :: "SDL.filedialog.cancel"
PROP_FILE_DIALOG_FILTERS_POINTER ¶
PROP_FILE_DIALOG_FILTERS_POINTER :: "SDL.filedialog.filters"
PROP_FILE_DIALOG_LOCATION_STRING ¶
PROP_FILE_DIALOG_LOCATION_STRING :: "SDL.filedialog.location"
PROP_FILE_DIALOG_MANY_BOOLEAN ¶
PROP_FILE_DIALOG_MANY_BOOLEAN :: "SDL.filedialog.many"
PROP_FILE_DIALOG_NFILTERS_NUMBER ¶
PROP_FILE_DIALOG_NFILTERS_NUMBER :: "SDL.filedialog.nfilters"
PROP_FILE_DIALOG_TITLE_STRING ¶
PROP_FILE_DIALOG_TITLE_STRING :: "SDL.filedialog.title"
PROP_FILE_DIALOG_WINDOW_POINTER ¶
PROP_FILE_DIALOG_WINDOW_POINTER :: "SDL.filedialog.window"
PROP_GAMEPAD_CAP_MONO_LED_BOOLEAN ¶
PROP_GAMEPAD_CAP_MONO_LED_BOOLEAN :: PROP_JOYSTICK_CAP_MONO_LED_BOOLEAN
PROP_GAMEPAD_CAP_PLAYER_LED_BOOLEAN ¶
PROP_GAMEPAD_CAP_PLAYER_LED_BOOLEAN :: PROP_JOYSTICK_CAP_PLAYER_LED_BOOLEAN
PROP_GAMEPAD_CAP_RGB_LED_BOOLEAN ¶
PROP_GAMEPAD_CAP_RGB_LED_BOOLEAN :: PROP_JOYSTICK_CAP_RGB_LED_BOOLEAN
PROP_GAMEPAD_CAP_RUMBLE_BOOLEAN ¶
PROP_GAMEPAD_CAP_RUMBLE_BOOLEAN :: PROP_JOYSTICK_CAP_RUMBLE_BOOLEAN
PROP_GAMEPAD_CAP_TRIGGER_RUMBLE_BOOLEAN ¶
PROP_GAMEPAD_CAP_TRIGGER_RUMBLE_BOOLEAN :: PROP_JOYSTICK_CAP_TRIGGER_RUMBLE_BOOLEAN
PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER ¶
PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER :: "SDL.video.wayland.wl_display"
PROP_GPU_BUFFER_CREATE_NAME_STRING ¶
PROP_GPU_BUFFER_CREATE_NAME_STRING :: "SDL.gpu.buffer.create.name"
PROP_GPU_COMPUTEPIPELINE_CREATE_NAME_STRING ¶
PROP_GPU_COMPUTEPIPELINE_CREATE_NAME_STRING :: "SDL.gpu.computepipeline.create.name"
PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING ¶
PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING :: "SDL.gpu.device.create.d3d12.semantic"
PROP_GPU_DEVICE_CREATE_DEBUGMODE_BOOLEAN ¶
PROP_GPU_DEVICE_CREATE_DEBUGMODE_BOOLEAN :: "SDL.gpu.device.create.debugmode"
PROP_GPU_DEVICE_CREATE_NAME_STRING ¶
PROP_GPU_DEVICE_CREATE_NAME_STRING :: "SDL.gpu.device.create.name"
PROP_GPU_DEVICE_CREATE_PREFERLOWPOWER_BOOLEAN ¶
PROP_GPU_DEVICE_CREATE_PREFERLOWPOWER_BOOLEAN :: "SDL.gpu.device.create.preferlowpower"
PROP_GPU_DEVICE_CREATE_SHADERS_DXBC_BOOLEAN ¶
PROP_GPU_DEVICE_CREATE_SHADERS_DXBC_BOOLEAN :: "SDL.gpu.device.create.shaders.dxbc"
PROP_GPU_DEVICE_CREATE_SHADERS_DXIL_BOOLEAN ¶
PROP_GPU_DEVICE_CREATE_SHADERS_DXIL_BOOLEAN :: "SDL.gpu.device.create.shaders.dxil"
PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOLEAN ¶
PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOLEAN :: "SDL.gpu.device.create.shaders.metallib"
PROP_GPU_DEVICE_CREATE_SHADERS_MSL_BOOLEAN ¶
PROP_GPU_DEVICE_CREATE_SHADERS_MSL_BOOLEAN :: "SDL.gpu.device.create.shaders.msl"
PROP_GPU_DEVICE_CREATE_SHADERS_PRIVATE_BOOLEAN ¶
PROP_GPU_DEVICE_CREATE_SHADERS_PRIVATE_BOOLEAN :: "SDL.gpu.device.create.shaders.private"
PROP_GPU_DEVICE_CREATE_SHADERS_SPIRV_BOOLEAN ¶
PROP_GPU_DEVICE_CREATE_SHADERS_SPIRV_BOOLEAN :: "SDL.gpu.device.create.shaders.spirv"
PROP_GPU_GRAPHICSPIPELINE_CREATE_NAME_STRING ¶
PROP_GPU_GRAPHICSPIPELINE_CREATE_NAME_STRING :: "SDL.gpu.graphicspipeline.create.name"
PROP_GPU_SAMPLER_CREATE_NAME_STRING ¶
PROP_GPU_SAMPLER_CREATE_NAME_STRING :: "SDL.gpu.sampler.create.name"
PROP_GPU_SHADER_CREATE_NAME_STRING ¶
PROP_GPU_SHADER_CREATE_NAME_STRING :: "SDL.gpu.shader.create.name"
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_A_FLOAT ¶
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_A_FLOAT :: "SDL.gpu.texture.create.d3d12.clear.a"
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_B_FLOAT ¶
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_B_FLOAT :: "SDL.gpu.texture.create.d3d12.clear.b"
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_DEPTH_FLOAT ¶
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_DEPTH_FLOAT :: "SDL.gpu.texture.create.d3d12.clear.depth"
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_G_FLOAT ¶
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_G_FLOAT :: "SDL.gpu.texture.create.d3d12.clear.g"
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_R_FLOAT ¶
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_R_FLOAT :: "SDL.gpu.texture.create.d3d12.clear.r"
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_UINT8 ¶
PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_UINT8 :: "SDL.gpu.texture.create.d3d12.clear.stencil"
PROP_GPU_TEXTURE_CREATE_NAME_STRING ¶
PROP_GPU_TEXTURE_CREATE_NAME_STRING :: "SDL.gpu.texture.create.name"
PROP_GPU_TRANSFERBUFFER_CREATE_NAME_STRING ¶
PROP_GPU_TRANSFERBUFFER_CREATE_NAME_STRING :: "SDL.gpu.transferbuffer.create.name"
PROP_IOSTREAM_ANDROID_AASSET_POINTER ¶
PROP_IOSTREAM_ANDROID_AASSET_POINTER :: "SDL.iostream.android.aasset"
PROP_IOSTREAM_DYNAMIC_CHUNKSIZE_NUMBER ¶
PROP_IOSTREAM_DYNAMIC_CHUNKSIZE_NUMBER :: "SDL.iostream.dynamic.chunksize"
PROP_IOSTREAM_DYNAMIC_MEMORY_POINTER ¶
PROP_IOSTREAM_DYNAMIC_MEMORY_POINTER :: "SDL.iostream.dynamic.memory"
PROP_IOSTREAM_FILE_DESCRIPTOR_NUMBER ¶
PROP_IOSTREAM_FILE_DESCRIPTOR_NUMBER :: "SDL.iostream.file_descriptor"
PROP_IOSTREAM_MEMORY_POINTER ¶
PROP_IOSTREAM_MEMORY_POINTER :: "SDL.iostream.memory.base"
PROP_IOSTREAM_MEMORY_SIZE_NUMBER ¶
PROP_IOSTREAM_MEMORY_SIZE_NUMBER :: "SDL.iostream.memory.size"
PROP_IOSTREAM_STDIO_FILE_POINTER ¶
PROP_IOSTREAM_STDIO_FILE_POINTER :: "SDL.iostream.stdio.file"
PROP_IOSTREAM_WINDOWS_HANDLE_POINTER ¶
PROP_IOSTREAM_WINDOWS_HANDLE_POINTER :: "SDL.iostream.windows.handle"
PROP_JOYSTICK_CAP_MONO_LED_BOOLEAN ¶
PROP_JOYSTICK_CAP_MONO_LED_BOOLEAN :: "SDL.joystick.cap.mono_led"
PROP_JOYSTICK_CAP_PLAYER_LED_BOOLEAN ¶
PROP_JOYSTICK_CAP_PLAYER_LED_BOOLEAN :: "SDL.joystick.cap.player_led"
PROP_JOYSTICK_CAP_RGB_LED_BOOLEAN ¶
PROP_JOYSTICK_CAP_RGB_LED_BOOLEAN :: "SDL.joystick.cap.rgb_led"
PROP_JOYSTICK_CAP_RUMBLE_BOOLEAN ¶
PROP_JOYSTICK_CAP_RUMBLE_BOOLEAN :: "SDL.joystick.cap.rumble"
PROP_JOYSTICK_CAP_TRIGGER_RUMBLE_BOOLEAN ¶
PROP_JOYSTICK_CAP_TRIGGER_RUMBLE_BOOLEAN :: "SDL.joystick.cap.trigger_rumble"
PROP_PROCESS_BACKGROUND_BOOLEAN ¶
PROP_PROCESS_BACKGROUND_BOOLEAN :: "SDL.process.background"
PROP_PROCESS_CREATE_ARGS_POINTER ¶
PROP_PROCESS_CREATE_ARGS_POINTER :: "SDL.process.create.args"
PROP_PROCESS_CREATE_BACKGROUND_BOOLEAN ¶
PROP_PROCESS_CREATE_BACKGROUND_BOOLEAN :: "SDL.process.create.background"
PROP_PROCESS_CREATE_ENVIRONMENT_POINTER ¶
PROP_PROCESS_CREATE_ENVIRONMENT_POINTER :: "SDL.process.create.environment"
PROP_PROCESS_CREATE_STDERR_NUMBER ¶
PROP_PROCESS_CREATE_STDERR_NUMBER :: "SDL.process.create.stderr_option"
PROP_PROCESS_CREATE_STDERR_POINTER ¶
PROP_PROCESS_CREATE_STDERR_POINTER :: "SDL.process.create.stderr_source"
PROP_PROCESS_CREATE_STDERR_TO_STDOUT_BOOLEAN ¶
PROP_PROCESS_CREATE_STDERR_TO_STDOUT_BOOLEAN :: "SDL.process.create.stderr_to_stdout"
PROP_PROCESS_CREATE_STDIN_NUMBER ¶
PROP_PROCESS_CREATE_STDIN_NUMBER :: "SDL.process.create.stdin_option"
PROP_PROCESS_CREATE_STDIN_POINTER ¶
PROP_PROCESS_CREATE_STDIN_POINTER :: "SDL.process.create.stdin_source"
PROP_PROCESS_CREATE_STDOUT_NUMBER ¶
PROP_PROCESS_CREATE_STDOUT_NUMBER :: "SDL.process.create.stdout_option"
PROP_PROCESS_CREATE_STDOUT_POINTER ¶
PROP_PROCESS_CREATE_STDOUT_POINTER :: "SDL.process.create.stdout_source"
PROP_PROCESS_PID_NUMBER ¶
PROP_PROCESS_PID_NUMBER :: "SDL.process.pid"
PROP_PROCESS_STDERR_POINTER ¶
PROP_PROCESS_STDERR_POINTER :: "SDL.process.stderr"
PROP_PROCESS_STDIN_POINTER ¶
PROP_PROCESS_STDIN_POINTER :: "SDL.process.stdin"
PROP_PROCESS_STDOUT_POINTER ¶
PROP_PROCESS_STDOUT_POINTER :: "SDL.process.stdout"
PROP_RENDERER_CREATE_NAME_STRING ¶
PROP_RENDERER_CREATE_NAME_STRING :: "SDL.renderer.create.name"
PROP_RENDERER_CREATE_OUTPUT_COLORSPACE_NUMBER ¶
PROP_RENDERER_CREATE_OUTPUT_COLORSPACE_NUMBER :: "SDL.renderer.create.output_colorspace"
PROP_RENDERER_CREATE_PRESENT_VSYNC_NUMBER ¶
PROP_RENDERER_CREATE_PRESENT_VSYNC_NUMBER :: "SDL.renderer.create.present_vsync"
PROP_RENDERER_CREATE_SURFACE_POINTER ¶
PROP_RENDERER_CREATE_SURFACE_POINTER :: "SDL.renderer.create.surface"
PROP_RENDERER_CREATE_VULKAN_DEVICE_POINTER ¶
PROP_RENDERER_CREATE_VULKAN_DEVICE_POINTER :: "SDL.renderer.create.vulkan.device"
PROP_RENDERER_CREATE_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER ¶
PROP_RENDERER_CREATE_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER :: "SDL.renderer.create.vulkan.graphics_queue_family_index"
PROP_RENDERER_CREATE_VULKAN_INSTANCE_POINTER ¶
PROP_RENDERER_CREATE_VULKAN_INSTANCE_POINTER :: "SDL.renderer.create.vulkan.instance"
PROP_RENDERER_CREATE_VULKAN_PHYSICAL_DEVICE_POINTER ¶
PROP_RENDERER_CREATE_VULKAN_PHYSICAL_DEVICE_POINTER :: "SDL.renderer.create.vulkan.physical_device"
PROP_RENDERER_CREATE_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER ¶
PROP_RENDERER_CREATE_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER :: "SDL.renderer.create.vulkan.present_queue_family_index"
PROP_RENDERER_CREATE_VULKAN_SURFACE_NUMBER ¶
PROP_RENDERER_CREATE_VULKAN_SURFACE_NUMBER :: "SDL.renderer.create.vulkan.surface"
PROP_RENDERER_CREATE_WINDOW_POINTER ¶
PROP_RENDERER_CREATE_WINDOW_POINTER :: "SDL.renderer.create.window"
PROP_RENDERER_D3D11_DEVICE_POINTER ¶
PROP_RENDERER_D3D11_DEVICE_POINTER :: "SDL.renderer.d3d11.device"
PROP_RENDERER_D3D11_SWAPCHAIN_POINTER ¶
PROP_RENDERER_D3D11_SWAPCHAIN_POINTER :: "SDL.renderer.d3d11.swap_chain"
PROP_RENDERER_D3D12_COMMAND_QUEUE_POINTER ¶
PROP_RENDERER_D3D12_COMMAND_QUEUE_POINTER :: "SDL.renderer.d3d12.command_queue"
PROP_RENDERER_D3D12_DEVICE_POINTER ¶
PROP_RENDERER_D3D12_DEVICE_POINTER :: "SDL.renderer.d3d12.device"
PROP_RENDERER_D3D12_SWAPCHAIN_POINTER ¶
PROP_RENDERER_D3D12_SWAPCHAIN_POINTER :: "SDL.renderer.d3d12.swap_chain"
PROP_RENDERER_D3D9_DEVICE_POINTER ¶
PROP_RENDERER_D3D9_DEVICE_POINTER :: "SDL.renderer.d3d9.device"
PROP_RENDERER_GPU_DEVICE_POINTER ¶
PROP_RENDERER_GPU_DEVICE_POINTER :: "SDL.renderer.gpu.device"
PROP_RENDERER_HDR_ENABLED_BOOLEAN ¶
PROP_RENDERER_HDR_ENABLED_BOOLEAN :: "SDL.renderer.HDR_enabled"
PROP_RENDERER_HDR_HEADROOM_FLOAT ¶
PROP_RENDERER_HDR_HEADROOM_FLOAT :: "SDL.renderer.HDR_headroom"
PROP_RENDERER_MAX_TEXTURE_SIZE_NUMBER ¶
PROP_RENDERER_MAX_TEXTURE_SIZE_NUMBER :: "SDL.renderer.max_texture_size"
PROP_RENDERER_NAME_STRING ¶
PROP_RENDERER_NAME_STRING :: "SDL.renderer.name"
PROP_RENDERER_OUTPUT_COLORSPACE_NUMBER ¶
PROP_RENDERER_OUTPUT_COLORSPACE_NUMBER :: "SDL.renderer.output_colorspace"
PROP_RENDERER_SDR_WHITE_POINT_FLOAT ¶
PROP_RENDERER_SDR_WHITE_POINT_FLOAT :: "SDL.renderer.SDR_white_point"
PROP_RENDERER_SURFACE_POINTER ¶
PROP_RENDERER_SURFACE_POINTER :: "SDL.renderer.surface"
PROP_RENDERER_TEXTURE_FORMATS_POINTER ¶
PROP_RENDERER_TEXTURE_FORMATS_POINTER :: "SDL.renderer.texture_formats"
PROP_RENDERER_VSYNC_NUMBER ¶
PROP_RENDERER_VSYNC_NUMBER :: "SDL.renderer.vsync"
PROP_RENDERER_VULKAN_DEVICE_POINTER ¶
PROP_RENDERER_VULKAN_DEVICE_POINTER :: "SDL.renderer.vulkan.device"
PROP_RENDERER_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER ¶
PROP_RENDERER_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER :: "SDL.renderer.vulkan.graphics_queue_family_index"
PROP_RENDERER_VULKAN_INSTANCE_POINTER ¶
PROP_RENDERER_VULKAN_INSTANCE_POINTER :: "SDL.renderer.vulkan.instance"
PROP_RENDERER_VULKAN_PHYSICAL_DEVICE_POINTER ¶
PROP_RENDERER_VULKAN_PHYSICAL_DEVICE_POINTER :: "SDL.renderer.vulkan.physical_device"
PROP_RENDERER_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER ¶
PROP_RENDERER_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER :: "SDL.renderer.vulkan.present_queue_family_index"
PROP_RENDERER_VULKAN_SURFACE_NUMBER ¶
PROP_RENDERER_VULKAN_SURFACE_NUMBER :: "SDL.renderer.vulkan.surface"
PROP_RENDERER_VULKAN_SWAPCHAIN_IMAGE_COUNT_NUMBER ¶
PROP_RENDERER_VULKAN_SWAPCHAIN_IMAGE_COUNT_NUMBER :: "SDL.renderer.vulkan.swapchain_image_count"
PROP_RENDERER_WINDOW_POINTER ¶
PROP_RENDERER_WINDOW_POINTER :: "SDL.renderer.window"
PROP_TEXTINPUT_ANDROID_INPUTTYPE_NUMBER ¶
PROP_TEXTINPUT_ANDROID_INPUTTYPE_NUMBER :: "SDL.textinput.android.inputtype"
PROP_TEXTINPUT_AUTOCORRECT_BOOLEAN ¶
PROP_TEXTINPUT_AUTOCORRECT_BOOLEAN :: "SDL.textinput.autocorrect"
PROP_TEXTINPUT_CAPITALIZATION_NUMBER ¶
PROP_TEXTINPUT_CAPITALIZATION_NUMBER :: "SDL.textinput.capitalization"
PROP_TEXTINPUT_MULTILINE_BOOLEAN ¶
PROP_TEXTINPUT_MULTILINE_BOOLEAN :: "SDL.textinput.multiline"
PROP_TEXTINPUT_TYPE_NUMBER ¶
PROP_TEXTINPUT_TYPE_NUMBER :: "SDL.textinput.type"
PROP_TEXTURE_ACCESS_NUMBER ¶
PROP_TEXTURE_ACCESS_NUMBER :: "SDL.texture.access"
PROP_TEXTURE_COLORSPACE_NUMBER ¶
PROP_TEXTURE_COLORSPACE_NUMBER :: "SDL.texture.colorspace"
PROP_TEXTURE_CREATE_ACCESS_NUMBER ¶
PROP_TEXTURE_CREATE_ACCESS_NUMBER :: "SDL.texture.create.access"
PROP_TEXTURE_CREATE_COLORSPACE_NUMBER ¶
PROP_TEXTURE_CREATE_COLORSPACE_NUMBER :: "SDL.texture.create.colorspace"
PROP_TEXTURE_CREATE_D3D11_TEXTURE_POINTER ¶
PROP_TEXTURE_CREATE_D3D11_TEXTURE_POINTER :: "SDL.texture.create.d3d11.texture"
PROP_TEXTURE_CREATE_D3D11_TEXTURE_U_POINTER ¶
PROP_TEXTURE_CREATE_D3D11_TEXTURE_U_POINTER :: "SDL.texture.create.d3d11.texture_u"
PROP_TEXTURE_CREATE_D3D11_TEXTURE_V_POINTER ¶
PROP_TEXTURE_CREATE_D3D11_TEXTURE_V_POINTER :: "SDL.texture.create.d3d11.texture_v"
PROP_TEXTURE_CREATE_D3D12_TEXTURE_POINTER ¶
PROP_TEXTURE_CREATE_D3D12_TEXTURE_POINTER :: "SDL.texture.create.d3d12.texture"
PROP_TEXTURE_CREATE_D3D12_TEXTURE_U_POINTER ¶
PROP_TEXTURE_CREATE_D3D12_TEXTURE_U_POINTER :: "SDL.texture.create.d3d12.texture_u"
PROP_TEXTURE_CREATE_D3D12_TEXTURE_V_POINTER ¶
PROP_TEXTURE_CREATE_D3D12_TEXTURE_V_POINTER :: "SDL.texture.create.d3d12.texture_v"
PROP_TEXTURE_CREATE_FORMAT_NUMBER ¶
PROP_TEXTURE_CREATE_FORMAT_NUMBER :: "SDL.texture.create.format"
PROP_TEXTURE_CREATE_HDR_HEADROOM_FLOAT ¶
PROP_TEXTURE_CREATE_HDR_HEADROOM_FLOAT :: "SDL.texture.create.HDR_headroom"
PROP_TEXTURE_CREATE_HEIGHT_NUMBER ¶
PROP_TEXTURE_CREATE_HEIGHT_NUMBER :: "SDL.texture.create.height"
PROP_TEXTURE_CREATE_METAL_PIXELBUFFER_POINTER ¶
PROP_TEXTURE_CREATE_METAL_PIXELBUFFER_POINTER :: "SDL.texture.create.metal.pixelbuffer"
PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_NUMBER ¶
PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_NUMBER :: "SDL.texture.create.opengles2.texture"
PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_UV_NUMBER ¶
PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_UV_NUMBER :: "SDL.texture.create.opengles2.texture_uv"
PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_U_NUMBER ¶
PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_U_NUMBER :: "SDL.texture.create.opengles2.texture_u"
PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_V_NUMBER ¶
PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_V_NUMBER :: "SDL.texture.create.opengles2.texture_v"
PROP_TEXTURE_CREATE_OPENGL_TEXTURE_NUMBER ¶
PROP_TEXTURE_CREATE_OPENGL_TEXTURE_NUMBER :: "SDL.texture.create.opengl.texture"
PROP_TEXTURE_CREATE_OPENGL_TEXTURE_UV_NUMBER ¶
PROP_TEXTURE_CREATE_OPENGL_TEXTURE_UV_NUMBER :: "SDL.texture.create.opengl.texture_uv"
PROP_TEXTURE_CREATE_OPENGL_TEXTURE_U_NUMBER ¶
PROP_TEXTURE_CREATE_OPENGL_TEXTURE_U_NUMBER :: "SDL.texture.create.opengl.texture_u"
PROP_TEXTURE_CREATE_OPENGL_TEXTURE_V_NUMBER ¶
PROP_TEXTURE_CREATE_OPENGL_TEXTURE_V_NUMBER :: "SDL.texture.create.opengl.texture_v"
PROP_TEXTURE_CREATE_SDR_WHITE_POINT_FLOAT ¶
PROP_TEXTURE_CREATE_SDR_WHITE_POINT_FLOAT :: "SDL.texture.create.SDR_white_point"
PROP_TEXTURE_CREATE_VULKAN_TEXTURE_NUMBER ¶
PROP_TEXTURE_CREATE_VULKAN_TEXTURE_NUMBER :: "SDL.texture.create.vulkan.texture"
PROP_TEXTURE_CREATE_WIDTH_NUMBER ¶
PROP_TEXTURE_CREATE_WIDTH_NUMBER :: "SDL.texture.create.width"
PROP_TEXTURE_D3D11_TEXTURE_POINTER ¶
PROP_TEXTURE_D3D11_TEXTURE_POINTER :: "SDL.texture.d3d11.texture"
PROP_TEXTURE_D3D11_TEXTURE_U_POINTER ¶
PROP_TEXTURE_D3D11_TEXTURE_U_POINTER :: "SDL.texture.d3d11.texture_u"
PROP_TEXTURE_D3D11_TEXTURE_V_POINTER ¶
PROP_TEXTURE_D3D11_TEXTURE_V_POINTER :: "SDL.texture.d3d11.texture_v"
PROP_TEXTURE_D3D12_TEXTURE_POINTER ¶
PROP_TEXTURE_D3D12_TEXTURE_POINTER :: "SDL.texture.d3d12.texture"
PROP_TEXTURE_D3D12_TEXTURE_U_POINTER ¶
PROP_TEXTURE_D3D12_TEXTURE_U_POINTER :: "SDL.texture.d3d12.texture_u"
PROP_TEXTURE_D3D12_TEXTURE_V_POINTER ¶
PROP_TEXTURE_D3D12_TEXTURE_V_POINTER :: "SDL.texture.d3d12.texture_v"
PROP_TEXTURE_FORMAT_NUMBER ¶
PROP_TEXTURE_FORMAT_NUMBER :: "SDL.texture.format"
PROP_TEXTURE_HDR_HEADROOM_FLOAT ¶
PROP_TEXTURE_HDR_HEADROOM_FLOAT :: "SDL.texture.HDR_headroom"
PROP_TEXTURE_HEIGHT_NUMBER ¶
PROP_TEXTURE_HEIGHT_NUMBER :: "SDL.texture.height"
PROP_TEXTURE_OPENGLES2_TEXTURE_NUMBER ¶
PROP_TEXTURE_OPENGLES2_TEXTURE_NUMBER :: "SDL.texture.opengles2.texture"
PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET_NUMBER ¶
PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET_NUMBER :: "SDL.texture.opengles2.target"
PROP_TEXTURE_OPENGLES2_TEXTURE_UV_NUMBER ¶
PROP_TEXTURE_OPENGLES2_TEXTURE_UV_NUMBER :: "SDL.texture.opengles2.texture_uv"
PROP_TEXTURE_OPENGLES2_TEXTURE_U_NUMBER ¶
PROP_TEXTURE_OPENGLES2_TEXTURE_U_NUMBER :: "SDL.texture.opengles2.texture_u"
PROP_TEXTURE_OPENGLES2_TEXTURE_V_NUMBER ¶
PROP_TEXTURE_OPENGLES2_TEXTURE_V_NUMBER :: "SDL.texture.opengles2.texture_v"
PROP_TEXTURE_OPENGL_TEXTURE_NUMBER ¶
PROP_TEXTURE_OPENGL_TEXTURE_NUMBER :: "SDL.texture.opengl.texture"
PROP_TEXTURE_OPENGL_TEXTURE_TARGET_NUMBER ¶
PROP_TEXTURE_OPENGL_TEXTURE_TARGET_NUMBER :: "SDL.texture.opengl.target"
PROP_TEXTURE_OPENGL_TEXTURE_UV_NUMBER ¶
PROP_TEXTURE_OPENGL_TEXTURE_UV_NUMBER :: "SDL.texture.opengl.texture_uv"
PROP_TEXTURE_OPENGL_TEXTURE_U_NUMBER ¶
PROP_TEXTURE_OPENGL_TEXTURE_U_NUMBER :: "SDL.texture.opengl.texture_u"
PROP_TEXTURE_OPENGL_TEXTURE_V_NUMBER ¶
PROP_TEXTURE_OPENGL_TEXTURE_V_NUMBER :: "SDL.texture.opengl.texture_v"
PROP_TEXTURE_OPENGL_TEX_H_FLOAT ¶
PROP_TEXTURE_OPENGL_TEX_H_FLOAT :: "SDL.texture.opengl.tex_h"
PROP_TEXTURE_OPENGL_TEX_W_FLOAT ¶
PROP_TEXTURE_OPENGL_TEX_W_FLOAT :: "SDL.texture.opengl.tex_w"
PROP_TEXTURE_SDR_WHITE_POINT_FLOAT ¶
PROP_TEXTURE_SDR_WHITE_POINT_FLOAT :: "SDL.texture.SDR_white_point"
PROP_TEXTURE_VULKAN_TEXTURE_NUMBER ¶
PROP_TEXTURE_VULKAN_TEXTURE_NUMBER :: "SDL.texture.vulkan.texture"
PROP_TEXTURE_WIDTH_NUMBER ¶
PROP_TEXTURE_WIDTH_NUMBER :: "SDL.texture.width"
PROP_THREAD_CREATE_ENTRY_FUNCTION_POINTER ¶
PROP_THREAD_CREATE_ENTRY_FUNCTION_POINTER :: "SDL.thread.create.entry_function"
PROP_THREAD_CREATE_NAME_STRING ¶
PROP_THREAD_CREATE_NAME_STRING :: "SDL.thread.create.name"
PROP_THREAD_CREATE_STACKSIZE_NUMBER ¶
PROP_THREAD_CREATE_STACKSIZE_NUMBER :: "SDL.thread.create.stacksize"
PROP_THREAD_CREATE_USERDATA_POINTER ¶
PROP_THREAD_CREATE_USERDATA_POINTER :: "SDL.thread.create.userdata"
PROP_WINDOW_ANDROID_SURFACE_POINTER ¶
PROP_WINDOW_ANDROID_SURFACE_POINTER :: "SDL.window.android.surface"
PROP_WINDOW_ANDROID_WINDOW_POINTER ¶
PROP_WINDOW_ANDROID_WINDOW_POINTER :: "SDL.window.android.window"
PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER ¶
PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER :: "SDL.window.cocoa.metal_view_tag"
PROP_WINDOW_COCOA_WINDOW_POINTER ¶
PROP_WINDOW_COCOA_WINDOW_POINTER :: "SDL.window.cocoa.window"
PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN ¶
PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN :: "SDL.window.create.always_on_top"
PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN ¶
PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN :: "SDL.window.create.borderless"
PROP_WINDOW_CREATE_COCOA_VIEW_POINTER ¶
PROP_WINDOW_CREATE_COCOA_VIEW_POINTER :: "SDL.window.create.cocoa.view"
PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER ¶
PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER :: "SDL.window.create.cocoa.window"
PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN ¶
PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN :: "SDL.window.create.external_graphics_context"
PROP_WINDOW_CREATE_FLAGS_NUMBER ¶
PROP_WINDOW_CREATE_FLAGS_NUMBER :: "SDL.window.create.flags"
PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN ¶
PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN :: "SDL.window.create.focusable"
PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN ¶
PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN :: "SDL.window.create.fullscreen"
PROP_WINDOW_CREATE_HEIGHT_NUMBER ¶
PROP_WINDOW_CREATE_HEIGHT_NUMBER :: "SDL.window.create.height"
PROP_WINDOW_CREATE_HIDDEN_BOOLEAN ¶
PROP_WINDOW_CREATE_HIDDEN_BOOLEAN :: "SDL.window.create.hidden"
PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN ¶
PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN :: "SDL.window.create.high_pixel_density"
PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN ¶
PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN :: "SDL.window.create.maximized"
PROP_WINDOW_CREATE_MENU_BOOLEAN ¶
PROP_WINDOW_CREATE_MENU_BOOLEAN :: "SDL.window.create.menu"
PROP_WINDOW_CREATE_METAL_BOOLEAN ¶
PROP_WINDOW_CREATE_METAL_BOOLEAN :: "SDL.window.create.metal"
PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN ¶
PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN :: "SDL.window.create.minimized"
PROP_WINDOW_CREATE_MODAL_BOOLEAN ¶
PROP_WINDOW_CREATE_MODAL_BOOLEAN :: "SDL.window.create.modal"
PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN ¶
PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN :: "SDL.window.create.mouse_grabbed"
PROP_WINDOW_CREATE_OPENGL_BOOLEAN ¶
PROP_WINDOW_CREATE_OPENGL_BOOLEAN :: "SDL.window.create.opengl"
PROP_WINDOW_CREATE_PARENT_POINTER ¶
PROP_WINDOW_CREATE_PARENT_POINTER :: "SDL.window.create.parent"
PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN ¶
PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN :: "SDL.window.create.resizable"
PROP_WINDOW_CREATE_TITLE_STRING ¶
PROP_WINDOW_CREATE_TITLE_STRING :: "SDL.window.create.title"
PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN ¶
PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN :: "SDL.window.create.tooltip"
PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN ¶
PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN :: "SDL.window.create.transparent"
PROP_WINDOW_CREATE_UTILITY_BOOLEAN ¶
PROP_WINDOW_CREATE_UTILITY_BOOLEAN :: "SDL.window.create.utility"
PROP_WINDOW_CREATE_VULKAN_BOOLEAN ¶
PROP_WINDOW_CREATE_VULKAN_BOOLEAN :: "SDL.window.create.vulkan"
PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN ¶
PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN :: "SDL.window.create.wayland.create_egl_window"
PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN ¶
PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN :: "SDL.window.create.wayland.surface_role_custom"
PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER ¶
PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER :: "SDL.window.create.wayland.wl_surface"
PROP_WINDOW_CREATE_WIDTH_NUMBER ¶
PROP_WINDOW_CREATE_WIDTH_NUMBER :: "SDL.window.create.width"
PROP_WINDOW_CREATE_WIN32_HWND_POINTER ¶
PROP_WINDOW_CREATE_WIN32_HWND_POINTER :: "SDL.window.create.win32.hwnd"
PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER ¶
PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER :: "SDL.window.create.win32.pixel_format_hwnd"
PROP_WINDOW_CREATE_X11_WINDOW_NUMBER ¶
PROP_WINDOW_CREATE_X11_WINDOW_NUMBER :: "SDL.window.create.x11.window"
PROP_WINDOW_CREATE_X_NUMBER ¶
PROP_WINDOW_CREATE_X_NUMBER :: "SDL.window.create.x"
PROP_WINDOW_CREATE_Y_NUMBER ¶
PROP_WINDOW_CREATE_Y_NUMBER :: "SDL.window.create.y"
PROP_WINDOW_HDR_ENABLED_BOOLEAN ¶
PROP_WINDOW_HDR_ENABLED_BOOLEAN :: "SDL.window.HDR_enabled"
PROP_WINDOW_HDR_HEADROOM_FLOAT ¶
PROP_WINDOW_HDR_HEADROOM_FLOAT :: "SDL.window.HDR_headroom"
PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER ¶
PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER :: "SDL.window.kmsdrm.dev_index"
PROP_WINDOW_KMSDRM_DRM_FD_NUMBER ¶
PROP_WINDOW_KMSDRM_DRM_FD_NUMBER :: "SDL.window.kmsdrm.drm_fd"
PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER ¶
PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER :: "SDL.window.kmsdrm.gbm_dev"
PROP_WINDOW_OPENVR_OVERLAY_ID ¶
PROP_WINDOW_OPENVR_OVERLAY_ID :: "SDL.window.openvr.overlay_id"
PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT ¶
PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT :: "SDL.window.SDR_white_level"
PROP_WINDOW_SHAPE_POINTER ¶
PROP_WINDOW_SHAPE_POINTER :: "SDL.window.shape"
PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER ¶
PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER :: "SDL.window.uikit.metal_view_tag"
PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER ¶
PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER :: "SDL.window.uikit.opengl.framebuffer"
PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER ¶
PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER :: "SDL.window.uikit.opengl.renderbuffer"
PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER ¶
PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER :: "SDL.window.uikit.opengl.resolve_framebuffer"
PROP_WINDOW_UIKIT_WINDOW_POINTER ¶
PROP_WINDOW_UIKIT_WINDOW_POINTER :: "SDL.window.uikit.window"
PROP_WINDOW_VIVANTE_DISPLAY_POINTER ¶
PROP_WINDOW_VIVANTE_DISPLAY_POINTER :: "SDL.window.vivante.display"
PROP_WINDOW_VIVANTE_SURFACE_POINTER ¶
PROP_WINDOW_VIVANTE_SURFACE_POINTER :: "SDL.window.vivante.surface"
PROP_WINDOW_VIVANTE_WINDOW_POINTER ¶
PROP_WINDOW_VIVANTE_WINDOW_POINTER :: "SDL.window.vivante.window"
PROP_WINDOW_WAYLAND_DISPLAY_POINTER ¶
PROP_WINDOW_WAYLAND_DISPLAY_POINTER :: "SDL.window.wayland.display"
PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER ¶
PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER :: "SDL.window.wayland.egl_window"
PROP_WINDOW_WAYLAND_SURFACE_POINTER ¶
PROP_WINDOW_WAYLAND_SURFACE_POINTER :: "SDL.window.wayland.surface"
PROP_WINDOW_WAYLAND_VIEWPORT_POINTER ¶
PROP_WINDOW_WAYLAND_VIEWPORT_POINTER :: "SDL.window.wayland.viewport"
PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER ¶
PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER :: "SDL.window.wayland.xdg_popup"
PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER ¶
PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER :: "SDL.window.wayland.xdg_positioner"
PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER ¶
PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER :: "SDL.window.wayland.xdg_surface"
PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING ¶
PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING :: "SDL.window.wayland.xdg_toplevel_export_handle"
PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER ¶
PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER :: "SDL.window.wayland.xdg_toplevel"
PROP_WINDOW_WIN32_HDC_POINTER ¶
PROP_WINDOW_WIN32_HDC_POINTER :: "SDL.window.win32.hdc"
PROP_WINDOW_WIN32_HWND_POINTER ¶
PROP_WINDOW_WIN32_HWND_POINTER :: "SDL.window.win32.hwnd"
PROP_WINDOW_WIN32_INSTANCE_POINTER ¶
PROP_WINDOW_WIN32_INSTANCE_POINTER :: "SDL.window.win32.instance"
PROP_WINDOW_X11_DISPLAY_POINTER ¶
PROP_WINDOW_X11_DISPLAY_POINTER :: "SDL.window.x11.display"
PROP_WINDOW_X11_SCREEN_NUMBER ¶
PROP_WINDOW_X11_SCREEN_NUMBER :: "SDL.window.x11.screen"
PROP_WINDOW_X11_WINDOW_NUMBER ¶
PROP_WINDOW_X11_WINDOW_NUMBER :: "SDL.window.x11.window"
RENDERER_VSYNC_ADAPTIVE ¶
RENDERER_VSYNC_ADAPTIVE :: -1
RENDERER_VSYNC_DISABLED ¶
RENDERER_VSYNC_DISABLED :: 0
SIZE_MAX ¶
SIZE_MAX :: 1 << (8 * size_of(uint)) - 1
SOFTWARE_RENDERER ¶
SOFTWARE_RENDERER :: "software"
STANDARD_GRAVITY ¶
STANDARD_GRAVITY :: 9.80665
SURFACE_LOCKED ¶
SURFACE_LOCKED :: SurfaceFlags{.LOCKED}
SURFACE_LOCK_NEEDED ¶
SURFACE_LOCK_NEEDED :: SurfaceFlags{.LOCK_NEEDED}
SURFACE_PREALLOCATED ¶
SURFACE_PREALLOCATED :: SurfaceFlags{.PREALLOCATED}
SURFACE_SIMD_ALIGNED ¶
SURFACE_SIMD_ALIGNED :: SurfaceFlags{.SIMD_ALIGNED}
TOUCH_MOUSEID ¶
TOUCH_MOUSEID :: MouseID(1 << 32 - 1)
TRAYENTRY_BUTTON ¶
TRAYENTRY_BUTTON :: TrayEntryFlags{.BUTTON}
*< Make the entry a simple button. Required.
TRAYENTRY_CHECKBOX ¶
TRAYENTRY_CHECKBOX :: TrayEntryFlags{.CHECKBOX}
*< Make the entry a checkbox. Required.
TRAYENTRY_CHECKED ¶
TRAYENTRY_CHECKED :: TrayEntryFlags{.CHECKED}
*< Make the entry checked. This is valid only for checkboxes. Optional.
TRAYENTRY_DISABLED ¶
TRAYENTRY_DISABLED :: TrayEntryFlags{.DISABLED}
*< Make the entry disabled. Optional.
TRAYENTRY_SUBMENU ¶
TRAYENTRY_SUBMENU :: TrayEntryFlags{.SUBMENU}
*< Prepare the entry to have a submenu. Required
US_PER_SECOND ¶
US_PER_SECOND :: 1000000
WINDOWPOS_CENTERED ¶
WINDOWPOS_CENTERED :: WINDOWPOS_CENTERED_MASK | 0
WINDOWPOS_CENTERED_MASK ¶
WINDOWPOS_CENTERED_MASK :: 0x2FFF0000
WINDOWPOS_UNDEFINED ¶
WINDOWPOS_UNDEFINED :: WINDOWPOS_UNDEFINED_MASK | 0
WINDOWPOS_UNDEFINED_MASK ¶
WINDOWPOS_UNDEFINED_MASK :: 0x1FFF0000
WINDOW_ALWAYS_ON_TOP ¶
WINDOW_ALWAYS_ON_TOP :: WindowFlags{.ALWAYS_ON_TOP}
*< window should always be above others
WINDOW_HIDDEN ¶
WINDOW_HIDDEN :: WindowFlags{.HIDDEN}
*< window is neither mapped onto the desktop nor shown in the taskbar/dock/window list; SDL_ShowWindow() is required for it to become visible
WINDOW_HIGH_PIXEL_DENSITY ¶
WINDOW_HIGH_PIXEL_DENSITY :: WindowFlags{.HIGH_PIXEL_DENSITY}
*< window uses high pixel density back buffer if possible
WINDOW_KEYBOARD_GRABBED ¶
WINDOW_KEYBOARD_GRABBED :: WindowFlags{.KEYBOARD_GRABBED}
*< window has grabbed keyboard input
WINDOW_MOUSE_CAPTURE ¶
WINDOW_MOUSE_CAPTURE :: WindowFlags{.MOUSE_CAPTURE}
*< window has mouse captured (unrelated to MOUSE_GRABBED)
WINDOW_MOUSE_GRABBED ¶
WINDOW_MOUSE_GRABBED :: WindowFlags{.MOUSE_GRABBED}
*< window has grabbed mouse input
WINDOW_MOUSE_RELATIVE_MODE ¶
WINDOW_MOUSE_RELATIVE_MODE :: WindowFlags{.MOUSE_RELATIVE_MODE}
*< window has relative mode enabled
WINDOW_NOT_FOCUSABLE ¶
WINDOW_NOT_FOCUSABLE :: WindowFlags{.NOT_FOCUSABLE}
*< window should not be focusable
WINDOW_POPUP_MENU ¶
WINDOW_POPUP_MENU :: WindowFlags{.POPUP_MENU}
*< window should be treated as a popup menu, requires a parent window
WINDOW_SURFACE_VSYNC_ADAPTIVE ¶
WINDOW_SURFACE_VSYNC_ADAPTIVE :: -1
WINDOW_SURFACE_VSYNC_DISABLED ¶
WINDOW_SURFACE_VSYNC_DISABLED :: 0
WINDOW_TOOLTIP ¶
WINDOW_TOOLTIP :: WindowFlags{.TOOLTIP}
*< window should be treated as a tooltip and does not get mouse or keyboard focus, requires a parent window
WINDOW_TRANSPARENT ¶
WINDOW_TRANSPARENT :: WindowFlags{.TRANSPARENT}
*< window with transparent buffer
WINDOW_UTILITY ¶
WINDOW_UTILITY :: WindowFlags{.UTILITY}
*< window should be treated as a utility window, not showing in the task bar and window list
Variables
joystick_lock ¶
joystick_lock: ^Mutex
Procedures
AUDIO_BITSIZE ¶
AUDIO_BITSIZE :: proc "c" (x: AudioFormat) -> u16 {…}
AUDIO_BYTESIZE ¶
AUDIO_BYTESIZE :: proc "c" (x: AudioFormat) -> u16 {…}
AUDIO_ISBIGENDIAN ¶
AUDIO_ISBIGENDIAN :: proc "c" (x: AudioFormat) -> bool {…}
AUDIO_ISFLOAT ¶
AUDIO_ISFLOAT :: proc "c" (x: AudioFormat) -> bool {…}
AUDIO_ISINT ¶
AUDIO_ISINT :: proc "c" (x: AudioFormat) -> bool {…}
AUDIO_ISLITTLEENDIAN ¶
AUDIO_ISLITTLEENDIAN :: proc "c" (x: AudioFormat) -> bool {…}
AUDIO_ISSIGNED ¶
AUDIO_ISSIGNED :: proc "c" (x: AudioFormat) -> bool {…}
AUDIO_ISUNSIGNED ¶
AUDIO_ISUNSIGNED :: proc "c" (x: AudioFormat) -> bool {…}
AcquireGPUCommandBuffer ¶
AcquireGPUCommandBuffer :: proc "c" (device: ^GPUDevice) -> ^GPUCommandBuffer ---
AcquireGPUSwapchainTexture ¶
AcquireGPUSwapchainTexture :: proc "c" (command_buffer: ^GPUCommandBuffer, window: ^Window, swapchain_texture: ^^GPUTexture, swapchain_texture_width, swapchain_texture_height: ^u32) -> bool ---
AddEventWatch ¶
AddEventWatch :: proc "c" (filter: EventFilter, userdata: rawptr) -> bool ---
AddHintCallback ¶
AddHintCallback :: proc "c" (name: cstring, callback: HintCallback, userdata: rawptr) -> bool ---
AddTimer ¶
AddTimer :: proc "c" (interval: u32, callback: TimerCallback, userdata: rawptr) -> TimerID ---
AddTimerNS ¶
AddTimerNS :: proc "c" (interval: u64, callback: NSTimerCallback, userdata: rawptr) -> TimerID ---
AssertBreakpoint ¶
AssertBreakpoint :: intrinsics.debug_trap
AttachVirtualJoystick ¶
AttachVirtualJoystick :: proc "c" (#by_ptr desc: VirtualJoystickDesc) -> JoystickID ---
AudioDevicePaused ¶
AudioDevicePaused :: proc "c" (dev: AudioDeviceID) -> bool ---
AudioStreamDevicePaused ¶
AudioStreamDevicePaused :: proc "c" (stream: ^AudioStream) -> bool ---
BITSPERPIXEL ¶
BITSPERPIXEL :: proc "c" (format: PixelFormat) -> u32 {…}
BeginGPUComputePass ¶
BeginGPUComputePass :: proc "c" (command_buffer: ^GPUCommandBuffer, storage_texture_bindings: [^]GPUStorageTextureReadWriteBinding, num_storage_texture_bindings: u32, storage_buffer_bindings: [^]GPUStorageBufferReadWriteBinding, num_storage_buffer_bindings: u32) -> ^GPUComputePass ---
BeginGPUCopyPass ¶
BeginGPUCopyPass :: proc "c" (command_buffer: ^GPUCommandBuffer) -> ^GPUCopyPass ---
BeginGPURenderPass ¶
BeginGPURenderPass :: proc "c" (command_buffer: ^GPUCommandBuffer, color_target_infos: [^]GPUColorTargetInfo, num_color_targets: u32, depth_stencil_target_info: runtime.Maybe($T=^GPUDepthStencilTargetInfo)) -> ^GPURenderPass ---
BeginThreadFunction ¶
BeginThreadFunction :: proc "c" () -> FunctionPointer {…}
BindAudioStream ¶
BindAudioStream :: proc "c" (devid: AudioDeviceID, stream: ^AudioStream) -> bool ---
BindAudioStreams ¶
BindAudioStreams :: proc "c" (devid: AudioDeviceID, streams: [^]^AudioStream, num_streams: i32) -> bool ---
BindGPUComputePipeline ¶
BindGPUComputePipeline :: proc "c" (compute_pass: ^GPUComputePass, compute_pipeline: ^GPUComputePipeline) ---
BindGPUComputeSamplers ¶
BindGPUComputeSamplers :: proc "c" (compute_pass: ^GPUComputePass, first_slot: u32, texture_sampler_bindings: [^]GPUTextureSamplerBinding, num_bindings: u32) ---
BindGPUComputeStorageBuffers ¶
BindGPUComputeStorageBuffers :: proc "c" (compute_pass: ^GPUComputePass, first_slot: u32, storage_buffers: [^]^GPUBuffer, num_bindings: u32) ---
BindGPUComputeStorageTextures ¶
BindGPUComputeStorageTextures :: proc "c" (compute_pass: ^GPUComputePass, first_slot: u32, storage_textures: [^]^GPUTexture, num_bindings: u32) ---
BindGPUFragmentSamplers ¶
BindGPUFragmentSamplers :: proc "c" (render_pass: ^GPURenderPass, first_slot: u32, texture_sampler_bindings: [^]GPUTextureSamplerBinding, num_bindings: u32) ---
BindGPUFragmentStorageBuffers ¶
BindGPUFragmentStorageBuffers :: proc "c" (render_pass: ^GPURenderPass, first_slot: u32, storage_buffers: [^]^GPUBuffer, num_bindings: u32) ---
BindGPUFragmentStorageTextures ¶
BindGPUFragmentStorageTextures :: proc "c" (render_pass: ^GPURenderPass, first_slot: u32, storage_textures: [^]^GPUTexture, num_bindings: u32) ---
BindGPUGraphicsPipeline ¶
BindGPUGraphicsPipeline :: proc "c" (render_pass: ^GPURenderPass, graphics_pipeline: ^GPUGraphicsPipeline) ---
BindGPUIndexBuffer ¶
BindGPUIndexBuffer :: proc "c" (render_pass: ^GPURenderPass, #by_ptr binding: GPUBufferBinding, index_element_size: GPUIndexElementSize) ---
BindGPUVertexBuffers ¶
BindGPUVertexBuffers :: proc "c" (render_pass: ^GPURenderPass, first_slot: u32, bindings: [^]GPUBufferBinding, num_bindings: u32) ---
BindGPUVertexSamplers ¶
BindGPUVertexSamplers :: proc "c" (render_pass: ^GPURenderPass, first_slot: u32, texture_sampler_bindings: [^]GPUTextureSamplerBinding, num_bindings: u32) ---
BindGPUVertexStorageBuffers ¶
BindGPUVertexStorageBuffers :: proc "c" (render_pass: ^GPURenderPass, first_slot: u32, storage_buffers: [^]^GPUBuffer, num_bindings: u32) ---
BindGPUVertexStorageTextures ¶
BindGPUVertexStorageTextures :: proc "c" (render_pass: ^GPURenderPass, first_slot: u32, storage_textures: [^]^GPUTexture, num_bindings: u32) ---
BlitGPUTexture ¶
BlitGPUTexture :: proc "c" (command_buffer: ^GPUCommandBuffer, #by_ptr info: GPUBlitInfo) ---
COLORSPACECHROMA ¶
COLORSPACECHROMA :: proc "c" (cspace: Colorspace) -> ChromaLocation {…}
COLORSPACEMATRIX ¶
COLORSPACEMATRIX :: proc "c" (cspace: Colorspace) -> MatrixCoefficients {…}
COLORSPACEPRIMARIES ¶
COLORSPACEPRIMARIES :: proc "c" (cspace: Colorspace) -> ColorPrimaries {…}
COLORSPACERANGE ¶
COLORSPACERANGE :: proc "c" (cspace: Colorspace) -> ColorRange {…}
COLORSPACETRANSFER ¶
COLORSPACETRANSFER :: proc "c" (cspace: Colorspace) -> TransferCharacteristics {…}
COLORSPACETYPE ¶
COLORSPACETYPE :: proc "c" (cspace: Colorspace) -> ColorType {…}
CPUPauseInstruction ¶
CPUPauseInstruction :: intrinsics.cpu_relax
CalculateGPUTextureFormatSize ¶
CalculateGPUTextureFormatSize :: proc "c" (format: GPUTextureFormat, width, height: u32, depth_or_layer_count: u32) -> u32 ---
CancelGPUCommandBuffer ¶
CancelGPUCommandBuffer :: proc "c" (command_buffer: ^GPUCommandBuffer) -> bool ---
CleanupTLS ¶
CleanupTLS :: proc "c" () ---
ClearAudioStream ¶
ClearAudioStream :: proc "c" (stream: ^AudioStream) -> bool ---
ClearClipboardData ¶
ClearClipboardData :: proc "c" () -> bool ---
ClearError ¶
ClearError :: proc "c" () -> bool ---
ClearProperty ¶
ClearProperty :: proc "c" (props: PropertiesID, name: cstring) -> bool ---
ClickTrayEntry ¶
ClickTrayEntry :: proc "c" (entry: ^TrayEntry) ---
CloseAsyncIO ¶
CloseAsyncIO :: proc "c" (asyncio: ^AsyncIO, flush: bool, queue: ^AsyncIOQueue, userdata: rawptr) -> bool ---
CloseAudioDevice ¶
CloseAudioDevice :: proc "c" (devid: AudioDeviceID) ---
CloseCamera ¶
CloseCamera :: proc "c" (camera: ^Camera) ---
CloseGamepad ¶
CloseGamepad :: proc "c" (gamepad: ^Gamepad) ---
CloseHaptic ¶
CloseHaptic :: proc "c" (haptic: ^Haptic) ---
CloseJoystick ¶
CloseJoystick :: proc "c" (joystick: ^Joystick) ---
CloseSensor ¶
CloseSensor :: proc "c" (sensor: ^Sensor) ---
ComposeCustomBlendMode ¶
ComposeCustomBlendMode :: proc "c" ( srcColorFactor: BlendFactor, dstColorFactor: BlendFactor, colorOperation: BlendOperation, srcAlphaFactor: BlendFactor, dstAlphaFactor: BlendFactor, alphaOperation: BlendOperation, ) -> BlendMode ---
ConvertPixels ¶
ConvertPixels :: proc "c" ( width, height: i32, src_format: PixelFormat, src: rawptr, src_pitch: i32, dst_format: PixelFormat, dst: rawptr, dst_pitch: i32, ) -> bool ---
ConvertPixelsAndColorspace ¶
ConvertPixelsAndColorspace :: proc "c" ( width, height: i32, src_format: PixelFormat, src_colorspace: Colorspace, src_properties: PropertiesID, src: rawptr, src_pitch: i32, dst_format: PixelFormat, dst_colorspace: Colorspace, dst_properties: PropertiesID, dst: rawptr, dst_pitch: i32, ) -> bool ---
ConvertSurface ¶
ConvertSurface :: proc "c" (surface: ^Surface, format: PixelFormat) -> ^Surface ---
ConvertSurfaceAndColorspace ¶
ConvertSurfaceAndColorspace :: proc "c" (surface: ^Surface, format: PixelFormat, palette: ^Palette, colorspace: Colorspace, props: PropertiesID) -> ^Surface ---
CopyGPUBufferToBuffer ¶
CopyGPUBufferToBuffer :: proc "c" (copy_pass: ^GPUCopyPass, #by_ptr source: GPUBufferLocation, #by_ptr destination: GPUBufferLocation, size: u32, cycle: bool) ---
CopyGPUTextureToTexture ¶
CopyGPUTextureToTexture :: proc "c" ( copy_pass: ^GPUCopyPass, #by_ptr source: GPUTextureLocation, #by_ptr destination: GPUTextureLocation, w, h, d: u32, cycle: bool, ) ---
CopyProperties ¶
CopyProperties :: proc "c" (src, dst: PropertiesID) -> bool ---
CreateAsyncIOQueue ¶
CreateAsyncIOQueue :: proc "c" () -> ^AsyncIOQueue ---
CreateAudioStream ¶
CreateAudioStream :: proc "c" (src_spec, dst_spec: ^AudioSpec) -> ^AudioStream ---
CreateEnvironment ¶
CreateEnvironment :: proc "c" (populated: bool) -> ^Environment ---
CreateGPUBuffer ¶
CreateGPUBuffer :: proc "c" (device: ^GPUDevice, #by_ptr createinfo: GPUBufferCreateInfo) -> ^GPUBuffer ---
CreateGPUComputePipeline ¶
CreateGPUComputePipeline :: proc "c" (device: ^GPUDevice, #by_ptr createinfo: GPUComputePipelineCreateInfo) -> ^GPUComputePipeline ---
CreateGPUDevice ¶
CreateGPUDevice :: proc "c" (format_flags: GPUShaderFormat, debug_mode: bool, name: cstring) -> ^GPUDevice ---
CreateGPUDeviceWithProperties ¶
CreateGPUDeviceWithProperties :: proc "c" (props: PropertiesID) -> ^GPUDevice ---
CreateGPUGraphicsPipeline ¶
CreateGPUGraphicsPipeline :: proc "c" (device: ^GPUDevice, #by_ptr createinfo: GPUGraphicsPipelineCreateInfo) -> ^GPUGraphicsPipeline ---
CreateGPUSampler ¶
CreateGPUSampler :: proc "c" (device: ^GPUDevice, #by_ptr createinfo: GPUSamplerCreateInfo) -> ^GPUSampler ---
CreateGPUShader ¶
CreateGPUShader :: proc "c" (device: ^GPUDevice, #by_ptr createinfo: GPUShaderCreateInfo) -> ^GPUShader ---
CreateGPUTexture ¶
CreateGPUTexture :: proc "c" (device: ^GPUDevice, #by_ptr createinfo: GPUTextureCreateInfo) -> ^GPUTexture ---
CreateGPUTransferBuffer ¶
CreateGPUTransferBuffer :: proc "c" (device: ^GPUDevice, #by_ptr createinfo: GPUTransferBufferCreateInfo) -> ^GPUTransferBuffer ---
CreateHapticEffect ¶
CreateHapticEffect :: proc "c" (haptic: ^Haptic, #by_ptr effect: HapticEffect) -> i32 ---
CreateMutex ¶
CreateMutex :: proc "c" () -> ^Mutex ---
CreatePopupWindow ¶
CreatePopupWindow :: proc "c" ( parent: ^Window, offset_x, offset_y: i32, w, h: i32, flags: WindowFlags, ) -> ^Window ---
CreateProcessWithProperties ¶
CreateProcessWithProperties :: proc "c" (props: PropertiesID) -> ^Process ---
CreateProperties ¶
CreateProperties :: proc "c" () -> PropertiesID ---
CreateRWLock ¶
CreateRWLock :: proc "c" () -> ^RWLock ---
CreateRendererWithProperties ¶
CreateRendererWithProperties :: proc "c" (props: PropertiesID) -> ^Renderer ---
CreateSurface ¶
CreateSurface :: proc "c" (width, height: i32, format: PixelFormat) -> ^Surface ---
CreateSurfaceFrom ¶
CreateSurfaceFrom :: proc "c" (width, height: i32, format: PixelFormat, pixels: rawptr, pitch: i32) -> ^Surface ---
CreateSystemCursor ¶
CreateSystemCursor :: proc "c" (id: SystemCursor) -> ^Cursor ---
CreateTexture ¶
CreateTexture :: proc "c" (renderer: ^Renderer, format: PixelFormat, access: TextureAccess, w, h: i32) -> ^Texture ---
CreateTextureWithProperties ¶
CreateTextureWithProperties :: proc "c" (renderer: ^Renderer, props: PropertiesID) -> ^Texture ---
CreateThread ¶
CreateThread :: proc "c" (fn: ThreadFunction, name: cstring, data: rawptr) -> ^Thread {…}
CreateThreadRuntime ¶
CreateThreadRuntime :: proc "c" (fn: ThreadFunction, name: cstring, data: rawptr, pfnBeginThread: FunctionPointer, pfnEndThread: FunctionPointer) -> ^Thread ---
CreateThreadWithProperties ¶
CreateThreadWithProperties :: proc "c" (props: PropertiesID) -> ^Thread {…}
CreateThreadWithPropertiesRuntime ¶
CreateThreadWithPropertiesRuntime :: proc "c" (props: PropertiesID, pfnBeginThread: FunctionPointer, pfnEndThread: FunctionPointer) -> ^Thread ---
CreateWindow ¶
CreateWindow :: proc "c" (title: cstring, w, h: i32, flags: WindowFlags) -> ^Window ---
CreateWindowWithProperties ¶
CreateWindowWithProperties :: proc "c" (props: PropertiesID) -> ^Window ---
CursorVisible ¶
CursorVisible :: proc "c" () -> bool ---
DEFINE_COLORSPACE ¶
DEFINE_COLORSPACE :: proc "c" ( type: ColorType, range: ColorRange, primaries: ColorPrimaries, transfer: TransferCharacteristics, matrix_: MatrixCoefficients, chroma: ChromaLocation, ) -> Colorspace {…}
DEFINE_PIXELFORMAT ¶
DEFINE_PIXELFORMAT :: proc "c" (type: PixelType, order: PackedOrder, layout: PackedLayout, bits: u32, bytes: u32) -> PixelFormat {…}
DelayPrecise ¶
DelayPrecise :: proc "c" (ns: u64) ---
DestroyAsyncIOQueue ¶
DestroyAsyncIOQueue :: proc "c" (queue: ^AsyncIOQueue) ---
DestroyAudioStream ¶
DestroyAudioStream :: proc "c" (stream: ^AudioStream) ---
DestroyCursor ¶
DestroyCursor :: proc "c" (cursor: ^Cursor) ---
DestroyEnvironment ¶
DestroyEnvironment :: proc "c" (env: ^Environment) ---
DestroyGPUDevice ¶
DestroyGPUDevice :: proc "c" (device: ^GPUDevice) ---
DestroyMutex ¶
DestroyMutex :: proc "c" (mutex: ^Mutex) ---
DestroyPalette ¶
DestroyPalette :: proc "c" (palette: ^Palette) ---
DestroyProcess ¶
DestroyProcess :: proc "c" (process: ^Process) ---
DestroyProperties ¶
DestroyProperties :: proc "c" (props: PropertiesID) ---
DestroyRWLock ¶
DestroyRWLock :: proc "c" (rwlock: ^RWLock) ---
DestroyRenderer ¶
DestroyRenderer :: proc "c" (renderer: ^Renderer) ---
DestroySurface ¶
DestroySurface :: proc "c" (surface: ^Surface) ---
DestroyTexture ¶
DestroyTexture :: proc "c" (texture: ^Texture) ---
DestroyTray ¶
DestroyTray :: proc "c" (tray: ^Tray) ---
DestroyWindow ¶
DestroyWindow :: proc "c" (window: ^Window) ---
DetachThread ¶
DetachThread :: proc "c" (thread: ^Thread) ---
DetachVirtualJoystick ¶
DetachVirtualJoystick :: proc "c" (instance_id: JoystickID) -> bool ---
DisableScreenSaver ¶
DisableScreenSaver :: proc "c" () -> bool ---
DispatchGPUCompute ¶
DispatchGPUCompute :: proc "c" (compute_pass: ^GPUComputePass, groupcount_x, groupcount_y, groupcount_z: u32) ---
DispatchGPUComputeIndirect ¶
DispatchGPUComputeIndirect :: proc "c" (compute_pass: ^GPUComputePass, buffer: ^GPUBuffer, offset: u32) ---
DownloadFromGPUBuffer ¶
DownloadFromGPUBuffer :: proc "c" (copy_pass: ^GPUCopyPass, #by_ptr source: GPUBufferRegion, #by_ptr destination: GPUTransferBufferLocation) ---
DownloadFromGPUTexture ¶
DownloadFromGPUTexture :: proc "c" (copy_pass: ^GPUCopyPass, #by_ptr source: GPUTextureRegion, #by_ptr destination: GPUTextureTransferInfo) ---
DrawGPUIndexedPrimitivesIndirect ¶
DrawGPUIndexedPrimitivesIndirect :: proc "c" (render_pass: ^GPURenderPass, buffer: ^GPUBuffer, offset: u32, draw_count: u32) ---
DrawGPUPrimitives ¶
DrawGPUPrimitives :: proc "c" (render_pass: ^GPURenderPass, num_vertices: u32, num_instances: u32, first_vertex: u32, first_instance: u32) ---
DrawGPUPrimitivesIndirect ¶
DrawGPUPrimitivesIndirect :: proc "c" (render_pass: ^GPURenderPass, buffer: ^GPUBuffer, offset: u32, draw_count: u32) ---
EGL_GetCurrentConfig ¶
EGL_GetCurrentConfig :: proc "c" () -> EGLConfig ---
EGL_GetCurrentDisplay ¶
EGL_GetCurrentDisplay :: proc "c" () -> EGLDisplay ---
EGL_GetProcAddress ¶
EGL_GetProcAddress :: proc "c" (procName: cstring) -> FunctionPointer ---
EGL_GetWindowSurface ¶
EGL_GetWindowSurface :: proc "c" (window: ^Window) -> EGLSurface ---
EGL_SetAttributeCallbacks ¶
EGL_SetAttributeCallbacks :: proc "c" (platformAttribCallback: EGLAttribArrayCallback, surfaceAttribCallback: EGLIntArrayCallback, contextAttribCallback: EGLIntArrayCallback, userdata: rawptr) ---
EnableScreenSaver ¶
EnableScreenSaver :: proc "c" () -> bool ---
EndGPUComputePass ¶
EndGPUComputePass :: proc "c" (compute_pass: ^GPUComputePass) ---
EndGPUCopyPass ¶
EndGPUCopyPass :: proc "c" (copy_pass: ^GPUCopyPass) ---
EndGPURenderPass ¶
EndGPURenderPass :: proc "c" (render_pass: ^GPURenderPass) ---
EndThreadFunction ¶
EndThreadFunction :: proc "c" () -> FunctionPointer {…}
EnterAppMainCallbacks ¶
EnterAppMainCallbacks :: proc "c" ( argc: i32, argv: [^]cstring, appinit: AppInit_func, appiter: AppIterate_func, appevent: AppEvent_func, appquit: AppQuit_func, ) -> i32 ---
EnumerateDirectory ¶
EnumerateDirectory :: proc "c" (path: cstring, callback: EnumerateDirectoryCallback, userdata: rawptr) -> bool ---
EnumerateProperties ¶
EnumerateProperties :: proc "c" (props: PropertiesID, callback: EnumeratePropertiesCallback, userdata: rawptr) -> bool ---
EnumerateStorageDirectory ¶
EnumerateStorageDirectory :: proc "c" (storage: ^Storage, path: cstring, callback: EnumerateDirectoryCallback, userdata: rawptr) -> bool ---
FilterEvents ¶
FilterEvents :: proc "c" (filter: EventFilter, userdata: rawptr) ---
FlashWindow ¶
FlashWindow :: proc "c" (window: ^Window, operation: FlashOperation) -> bool ---
FlushAudioStream ¶
FlushAudioStream :: proc "c" (stream: ^AudioStream) -> bool ---
FlushEvent ¶
FlushEvent :: proc "c" (type: EventType) ---
FlushEvents ¶
FlushEvents :: proc "c" (minType, maxType: EventType) ---
GDKResumeGPU ¶
GDKResumeGPU :: proc "c" (device: ^GPUDevice) ---
GDKSuspendComplete ¶
GDKSuspendComplete :: proc "c" () ---
GDKSuspendGPU ¶
GDKSuspendGPU :: proc "c" (device: ^GPUDevice) ---
GL_CreateContext ¶
GL_CreateContext :: proc "c" (window: ^Window) -> ^GLContextState ---
GL_DestroyContext ¶
GL_DestroyContext :: proc "c" (ctx: ^GLContextState) -> bool ---
GL_GetCurrentContext ¶
GL_GetCurrentContext :: proc "c" () -> ^GLContextState ---
GL_GetCurrentWindow ¶
GL_GetCurrentWindow :: proc "c" () -> ^Window ---
GL_GetProcAddress ¶
GL_GetProcAddress :: proc "c" (procName: cstring) -> FunctionPointer ---
GL_MakeCurrent ¶
GL_MakeCurrent :: proc "c" (window: ^Window, ctx: ^GLContextState) -> bool ---
GL_ResetAttributes ¶
GL_ResetAttributes :: proc "c" () ---
GL_UnloadLibrary ¶
GL_UnloadLibrary :: proc "c" () ---
GPUSupportsProperties ¶
GPUSupportsProperties :: proc "c" (props: PropertiesID) -> bool ---
GPUSupportsShaderFormats ¶
GPUSupportsShaderFormats :: proc "c" (format_flags: GPUShaderFormat, name: cstring) -> bool ---
GPUTextureFormatTexelBlockSize ¶
GPUTextureFormatTexelBlockSize :: proc "c" (format: GPUTextureFormat) -> u32 ---
GPUTextureSupportsFormat ¶
GPUTextureSupportsFormat :: proc "c" (device: ^GPUDevice, format: GPUTextureFormat, type: GPUTextureType, usage: GPUTextureUsageFlags) -> bool ---
GPUTextureSupportsSampleCount ¶
GPUTextureSupportsSampleCount :: proc "c" (device: ^GPUDevice, format: GPUTextureFormat, sample_count: GPUSampleCount) -> bool ---
GamepadEventsEnabled ¶
GamepadEventsEnabled :: proc "c" () -> bool ---
GamepadHasAxis ¶
GamepadHasAxis :: proc "c" (gamepad: ^Gamepad, axis: GamepadAxis) -> bool ---
GamepadHasButton ¶
GamepadHasButton :: proc "c" (gamepad: ^Gamepad, button: GamepadButton) -> bool ---
GamepadHasSensor ¶
GamepadHasSensor :: proc "c" (gamepad: ^Gamepad, type: SensorType) -> bool ---
GamepadSensorEnabled ¶
GamepadSensorEnabled :: proc "c" (gamepad: ^Gamepad, type: SensorType) -> bool ---
GenerateMipmapsForGPUTexture ¶
GenerateMipmapsForGPUTexture :: proc "c" (command_buffer: ^GPUCommandBuffer, texture: ^GPUTexture) ---
GetAndroidActivity ¶
GetAndroidActivity :: proc "c" () -> rawptr ---
GetAndroidCachePath ¶
GetAndroidCachePath :: proc "c" () -> cstring ---
GetAndroidExternalStoragePath ¶
GetAndroidExternalStoragePath :: proc "c" () -> cstring ---
GetAndroidExternalStorageState ¶
GetAndroidExternalStorageState :: proc "c" () -> u32 ---
GetAndroidInternalStoragePath ¶
GetAndroidInternalStoragePath :: proc "c" () -> cstring ---
GetAndroidJNIEnv ¶
GetAndroidJNIEnv :: proc "c" () -> rawptr ---
GetAndroidSDKVersion ¶
GetAndroidSDKVersion :: proc "c" () -> i32 ---
GetAssertionReport ¶
GetAssertionReport :: proc "c" () -> AssertData ---
GetAsyncIOResult ¶
GetAsyncIOResult :: proc "c" (queue: ^AsyncIOQueue, outcome: ^AsyncIOOutcome) -> bool ---
GetAudioDeviceChannelMap ¶
GetAudioDeviceChannelMap :: proc "c" (devid: AudioDeviceID, count: ^i32) -> [^]i32 ---
GetAudioDeviceFormat ¶
GetAudioDeviceFormat :: proc "c" (devid: AudioDeviceID, spec: ^AudioSpec, sample_frames: ^i32) -> bool ---
GetAudioDeviceGain ¶
GetAudioDeviceGain :: proc "c" (devid: AudioDeviceID) -> f32 ---
GetAudioDeviceName ¶
GetAudioDeviceName :: proc "c" (devid: AudioDeviceID) -> cstring ---
GetAudioFormatName ¶
GetAudioFormatName :: proc "c" (format: AudioFormat) -> cstring ---
GetAudioPlaybackDevices ¶
GetAudioPlaybackDevices :: proc "c" (count: ^i32) -> [^]AudioDeviceID ---
GetAudioRecordingDevices ¶
GetAudioRecordingDevices :: proc "c" (count: ^i32) -> [^]AudioDeviceID ---
GetAudioStreamAvailable ¶
GetAudioStreamAvailable :: proc "c" (stream: ^AudioStream) -> i32 ---
GetAudioStreamData ¶
GetAudioStreamData :: proc "c" (stream: ^AudioStream, buf: rawptr, len: i32) -> i32 ---
GetAudioStreamDevice ¶
GetAudioStreamDevice :: proc "c" (stream: ^AudioStream) -> AudioDeviceID ---
GetAudioStreamFormat ¶
GetAudioStreamFormat :: proc "c" (stream: ^AudioStream, src_spec, dst_spec: ^AudioSpec) -> bool ---
GetAudioStreamFrequencyRatio ¶
GetAudioStreamFrequencyRatio :: proc "c" (stream: ^AudioStream) -> f32 ---
GetAudioStreamGain ¶
GetAudioStreamGain :: proc "c" (stream: ^AudioStream) -> f32 ---
GetAudioStreamInputChannelMap ¶
GetAudioStreamInputChannelMap :: proc "c" (stream: ^AudioStream, count: ^i32) -> [^]i32 ---
GetAudioStreamOutputChannelMap ¶
GetAudioStreamOutputChannelMap :: proc "c" (stream: ^AudioStream, count: ^i32) -> [^]i32 ---
GetAudioStreamProperties ¶
GetAudioStreamProperties :: proc "c" (stream: ^AudioStream) -> PropertiesID ---
GetAudioStreamQueued ¶
GetAudioStreamQueued :: proc "c" (stream: ^AudioStream) -> i32 ---
GetBasePath ¶
GetBasePath :: proc "c" () -> cstring ---
GetBooleanProperty ¶
GetBooleanProperty :: proc "c" (props: PropertiesID, name: cstring, default_value: bool) -> bool ---
GetCPUCacheLineSize ¶
GetCPUCacheLineSize :: proc "c" () -> i32 ---
GetCameraFormat ¶
GetCameraFormat :: proc "c" (camera: ^Camera, spec: ^CameraSpec) -> bool ---
GetCameraPosition ¶
GetCameraPosition :: proc "c" (instance_id: CameraID) -> CameraPosition ---
GetCameraProperties ¶
GetCameraProperties :: proc "c" (camera: ^Camera) -> PropertiesID ---
GetCameraSupportedFormats ¶
GetCameraSupportedFormats :: proc "c" (devid: CameraID, count: ^i32) -> [^]^CameraSpec ---
GetClipboardText ¶
GetClipboardText :: proc "c" () -> [^]u8 ---
GetCurrentAudioDriver ¶
GetCurrentAudioDriver :: proc "c" () -> cstring ---
GetCurrentCameraDriver ¶
GetCurrentCameraDriver :: proc "c" () -> cstring ---
GetCurrentDirectory ¶
GetCurrentDirectory :: proc "c" () -> [^]u8 ---
GetCurrentDisplayMode ¶
GetCurrentDisplayMode :: proc "c" (displayID: DisplayID) -> ^DisplayMode ---
GetCurrentDisplayOrientation ¶
GetCurrentDisplayOrientation :: proc "c" (displayID: DisplayID) -> DisplayOrientation ---
GetCurrentThreadID ¶
GetCurrentThreadID :: proc "c" () -> ThreadID ---
GetCurrentVideoDriver ¶
GetCurrentVideoDriver :: proc "c" () -> cstring ---
GetCursor ¶
GetCursor :: proc "c" () -> ^Cursor ---
GetDateTimeLocalePreferences ¶
GetDateTimeLocalePreferences :: proc "c" (dateFormat: ^DateFormat, timeFormat: ^TimeFormat) -> bool ---
GetDefaultAssertionHandler ¶
GetDefaultAssertionHandler :: proc "c" () -> AssertionHandler ---
GetDefaultCursor ¶
GetDefaultCursor :: proc "c" () -> ^Cursor ---
GetDefaultLogOutputFunction ¶
GetDefaultLogOutputFunction :: proc "c" () -> LogOutputFunction ---
GetDesktopDisplayMode ¶
GetDesktopDisplayMode :: proc "c" (displayID: DisplayID) -> ^DisplayMode ---
GetDisplayProperties ¶
GetDisplayProperties :: proc "c" (displayID: DisplayID) -> PropertiesID ---
GetEnvironment ¶
GetEnvironment :: proc "c" () -> ^Environment ---
GetEnvironmentVariable ¶
GetEnvironmentVariable :: proc "c" (env: ^Environment, name: cstring) -> cstring ---
GetEnvironmentVariables ¶
GetEnvironmentVariables :: proc "c" (env: ^Environment) -> [^]cstring ---
GetError ¶
GetError :: proc "c" () -> cstring ---
GetEventFilter ¶
GetEventFilter :: proc "c" (filter: ^EventFilter, userdata: ^rawptr) -> bool ---
GetFloatProperty ¶
GetFloatProperty :: proc "c" (props: PropertiesID, name: cstring, default_value: f32) -> f32 ---
GetFullscreenDisplayModes ¶
GetFullscreenDisplayModes :: proc "c" (displayID: DisplayID, count: i32) -> [^]^DisplayMode ---
GetGDKDefaultUser ¶
GetGDKDefaultUser :: proc "c" (outUserHandle: ^XUserHandle) -> bool ---
GetGDKTaskQueue ¶
GetGDKTaskQueue :: proc "c" (outTaskQueue: ^XTaskQueueHandle) -> bool ---
GetGPUShaderFormats ¶
GetGPUShaderFormats :: proc "c" (device: ^GPUDevice) -> GPUShaderFormat ---
GetGPUSwapchainTextureFormat ¶
GetGPUSwapchainTextureFormat :: proc "c" (device: ^GPUDevice, window: ^Window) -> GPUTextureFormat ---
GetGamepadAppleSFSymbolsNameForAxis ¶
GetGamepadAppleSFSymbolsNameForAxis :: proc "c" (gamepad: ^Gamepad, axis: GamepadAxis) -> cstring ---
GetGamepadAppleSFSymbolsNameForButton ¶
GetGamepadAppleSFSymbolsNameForButton :: proc "c" (gamepad: ^Gamepad, button: GamepadButton) -> cstring ---
GetGamepadAxis ¶
GetGamepadAxis :: proc "c" (gamepad: ^Gamepad, axis: GamepadAxis) -> i16 ---
GetGamepadAxisFromString ¶
GetGamepadAxisFromString :: proc "c" (str: cstring) -> GamepadAxis ---
GetGamepadBindings ¶
GetGamepadBindings :: proc "c" (gamepad: ^Gamepad, count: ^i32) -> [^]^GamepadBinding ---
GetGamepadButton ¶
GetGamepadButton :: proc "c" (gamepad: ^Gamepad, button: GamepadButton) -> bool ---
GetGamepadButtonFromString ¶
GetGamepadButtonFromString :: proc "c" (str: cstring) -> GamepadButton ---
GetGamepadButtonLabel ¶
GetGamepadButtonLabel :: proc "c" (gamepad: ^Gamepad, button: GamepadButton) -> GamepadButtonLabel ---
GetGamepadButtonLabelForType ¶
GetGamepadButtonLabelForType :: proc "c" (type: GamepadType, button: GamepadButton) -> GamepadButtonLabel ---
GetGamepadConnectionState ¶
GetGamepadConnectionState :: proc "c" (gamepad: ^Gamepad) -> JoystickConnectionState ---
GetGamepadFromID ¶
GetGamepadFromID :: proc "c" (instance_id: JoystickID) -> ^Gamepad ---
GetGamepadGUIDForID ¶
GetGamepadGUIDForID :: proc "c" (instance_id: JoystickID) -> GUID ---
GetGamepadID ¶
GetGamepadID :: proc "c" (gamepad: ^Gamepad) -> JoystickID ---
GetGamepadMappingForID ¶
GetGamepadMappingForID :: proc "c" (instance_id: JoystickID) -> [^]u8 ---
GetGamepadNameForID ¶
GetGamepadNameForID :: proc "c" (instance_id: JoystickID) -> cstring ---
GetGamepadPathForID ¶
GetGamepadPathForID :: proc "c" (instance_id: JoystickID) -> cstring ---
GetGamepadPlayerIndexForID ¶
GetGamepadPlayerIndexForID :: proc "c" (instance_id: JoystickID) -> i32 ---
GetGamepadPowerInfo ¶
GetGamepadPowerInfo :: proc "c" (gamepad: ^Gamepad, percent: ^i32) -> PowerState ---
GetGamepadProductForID ¶
GetGamepadProductForID :: proc "c" (instance_id: JoystickID) -> u16 ---
GetGamepadProductVersionForID ¶
GetGamepadProductVersionForID :: proc "c" (instance_id: JoystickID) -> u16 ---
GetGamepadProperties ¶
GetGamepadProperties :: proc "c" (gamepad: ^Gamepad) -> PropertiesID ---
GetGamepadSensorData ¶
GetGamepadSensorData :: proc "c" (gamepad: ^Gamepad, type: SensorType, data: [^]f32, num_values: i32) -> bool ---
GetGamepadSensorDataRate ¶
GetGamepadSensorDataRate :: proc "c" (gamepad: ^Gamepad, type: SensorType) -> f32 ---
GetGamepadStringForAxis ¶
GetGamepadStringForAxis :: proc "c" (axis: GamepadAxis) -> cstring ---
GetGamepadStringForButton ¶
GetGamepadStringForButton :: proc "c" (button: GamepadButton) -> cstring ---
GetGamepadStringForType ¶
GetGamepadStringForType :: proc "c" (type: GamepadType) -> cstring ---
GetGamepadType ¶
GetGamepadType :: proc "c" (gamepad: ^Gamepad) -> GamepadType ---
GetGamepadTypeForID ¶
GetGamepadTypeForID :: proc "c" (instance_id: JoystickID) -> GamepadType ---
GetGamepadTypeFromString ¶
GetGamepadTypeFromString :: proc "c" (str: cstring) -> GamepadType ---
GetGamepadVendorForID ¶
GetGamepadVendorForID :: proc "c" (instance_id: JoystickID) -> u16 ---
GetGamepads ¶
GetGamepads :: proc "c" (count: ^i32) -> [^]JoystickID ---
GetGlobalMouseState ¶
GetGlobalMouseState :: proc "c" (x, y: ^f32) -> MouseButtonFlags ---
GetGlobalProperties ¶
GetGlobalProperties :: proc "c" () -> PropertiesID ---
GetGrabbedWindow ¶
GetGrabbedWindow :: proc "c" () -> ^Window ---
GetIOProperties ¶
GetIOProperties :: proc "c" (ctx: ^IOStream) -> PropertiesID ---
GetJoystickConnectionState ¶
GetJoystickConnectionState :: proc "c" (joystick: ^Joystick) -> JoystickConnectionState ---
GetJoystickFromID ¶
GetJoystickFromID :: proc "c" (instance_id: JoystickID) -> ^Joystick ---
GetJoystickGUIDForID ¶
GetJoystickGUIDForID :: proc "c" (instance_id: JoystickID) -> GUID ---
GetJoystickID ¶
GetJoystickID :: proc "c" (joystick: ^Joystick) -> JoystickID ---
GetJoystickNameForID ¶
GetJoystickNameForID :: proc "c" (instance_id: JoystickID) -> cstring ---
GetJoystickPathForID ¶
GetJoystickPathForID :: proc "c" (instance_id: JoystickID) -> cstring ---
GetJoystickPlayerIndexForID ¶
GetJoystickPlayerIndexForID :: proc "c" (instance_id: JoystickID) -> i32 ---
GetJoystickPowerInfo ¶
GetJoystickPowerInfo :: proc "c" (joystick: ^Joystick, percent: i32) -> PowerState ---
GetJoystickProductForID ¶
GetJoystickProductForID :: proc "c" (instance_id: JoystickID) -> u16 ---
GetJoystickProductVersionForID ¶
GetJoystickProductVersionForID :: proc "c" (instance_id: JoystickID) -> u16 ---
GetJoystickProperties ¶
GetJoystickProperties :: proc "c" (joystick: ^Joystick) -> PropertiesID ---
GetJoystickType ¶
GetJoystickType :: proc "c" (joystick: ^Joystick) -> JoystickType ---
GetJoystickTypeForID ¶
GetJoystickTypeForID :: proc "c" (instance_id: JoystickID) -> JoystickType ---
GetJoystickVendorForID ¶
GetJoystickVendorForID :: proc "c" (instance_id: JoystickID) -> u16 ---
GetJoysticks ¶
GetJoysticks :: proc "c" (count: ^i32) -> [^]JoystickID ---
GetKeyboardFocus ¶
GetKeyboardFocus :: proc "c" () -> ^Window ---
GetKeyboardNameForID ¶
GetKeyboardNameForID :: proc "c" (instance_id: KeyboardID) -> cstring ---
GetKeyboards ¶
GetKeyboards :: proc "c" (count: ^i32) -> [^]KeyboardID ---
GetLogOutputFunction ¶
GetLogOutputFunction :: proc "c" (callback: ^LogOutputFunction, userdata: ^rawptr) ---
GetLogPriority ¶
GetLogPriority :: proc "c" (category: LogCategory) -> LogPriority ---
GetMasksForPixelFormat ¶
GetMasksForPixelFormat :: proc "c" ( format: PixelFormat, bpp: ^i32, Rmask, Gmask, Bmask, Amask: ^u32, ) -> bool ---
GetMemoryFunctions ¶
GetMemoryFunctions :: proc "c" (malloc_func: ^malloc_func, calloc_func: ^calloc_func, realloc_func: ^realloc_func, free_func: ^free_func) ---
GetModState ¶
GetModState :: proc "c" () -> Keymod ---
GetMouseFocus ¶
GetMouseFocus :: proc "c" () -> ^Window ---
GetMouseState ¶
GetMouseState :: proc "c" (x, y: ^f32) -> MouseButtonFlags ---
GetNaturalDisplayOrientation ¶
GetNaturalDisplayOrientation :: proc "c" (displayID: DisplayID) -> DisplayOrientation ---
GetNumAllocations ¶
GetNumAllocations :: proc "c" () -> i32 ---
GetNumAudioDrivers ¶
GetNumAudioDrivers :: proc "c" () -> i32 ---
GetNumCameraDrivers ¶
GetNumCameraDrivers :: proc "c" () -> i32 ---
GetNumGPUDrivers ¶
GetNumGPUDrivers :: proc "c" () -> i32 ---
GetNumLogicalCPUCores ¶
GetNumLogicalCPUCores :: proc "c" () -> i32 ---
GetNumRenderDrivers ¶
GetNumRenderDrivers :: proc "c" () -> i32 ---
GetNumVideoDrivers ¶
GetNumVideoDrivers :: proc "c" () -> i32 ---
GetNumberProperty ¶
GetNumberProperty :: proc "c" (props: PropertiesID, name: cstring, default_value: i64) -> i64 ---
GetOriginalMemoryFunctions ¶
GetOriginalMemoryFunctions :: proc "c" (malloc_func: ^malloc_func, calloc_func: ^calloc_func, realloc_func: ^realloc_func, free_func: ^free_func) ---
GetPerformanceCounter ¶
GetPerformanceCounter :: proc "c" () -> u64 ---
GetPerformanceFrequency ¶
GetPerformanceFrequency :: proc "c" () -> u64 ---
GetPixelFormatDetails ¶
GetPixelFormatDetails :: proc "c" (format: PixelFormat) -> ^PixelFormatDetails ---
GetPixelFormatForMasks ¶
GetPixelFormatForMasks :: proc "c" (bpp: i32, Rmask, Gmask, Bmask, Amask: u32) -> PixelFormat ---
GetPixelFormatName ¶
GetPixelFormatName :: proc "c" (format: PixelFormat) -> rawptr ---
GetPlatform ¶
GetPlatform :: proc "c" () -> cstring ---
GetPointerProperty ¶
GetPointerProperty :: proc "c" (props: PropertiesID, name: cstring, default_value: rawptr) -> rawptr ---
GetPowerInfo ¶
GetPowerInfo :: proc "c" (seconds: ^i32, percent: ^i32) -> PowerState ---
GetPrimaryDisplay ¶
GetPrimaryDisplay :: proc "c" () -> DisplayID ---
GetPrimarySelectionText ¶
GetPrimarySelectionText :: proc "c" () -> [^]u8 ---
GetProcessProperties ¶
GetProcessProperties :: proc "c" (process: ^Process) -> PropertiesID ---
GetPropertyType ¶
GetPropertyType :: proc "c" (props: PropertiesID, name: cstring) -> PropertyType ---
GetRGB ¶
GetRGB :: proc "c" ( pixel: u32, format: ^PixelFormatDetails, palette: ^Palette, r, g, b: ^u8, ) ---
GetRGBA ¶
GetRGBA :: proc "c" ( pixel: u32, format: ^PixelFormatDetails, palette: ^Palette, r, g, b, a: ^u8, ) ---
GetRealGamepadType ¶
GetRealGamepadType :: proc "c" (gamepad: ^Gamepad) -> GamepadType ---
GetRealGamepadTypeForID ¶
GetRealGamepadTypeForID :: proc "c" (instance_id: JoystickID) -> GamepadType ---
GetRelativeMouseState ¶
GetRelativeMouseState :: proc "c" (x, y: ^f32) -> MouseButtonFlags ---
GetRenderLogicalPresentation ¶
GetRenderLogicalPresentation :: proc "c" (renderer: ^Renderer, w, h: ^i32, mode: ^RendererLogicalPresentation) -> bool ---
GetRendererProperties ¶
GetRendererProperties :: proc "c" (renderer: ^Renderer) -> PropertiesID ---
GetRevision ¶
GetRevision :: proc "c" () -> cstring ---
GetSIMDAlignment ¶
GetSIMDAlignment :: proc "c" () -> uint ---
GetSandbox ¶
GetSandbox :: proc "c" () -> Sandbox ---
GetSensorProperties ¶
GetSensorProperties :: proc "c" (sensor: ^Sensor) -> PropertiesID ---
GetSensorType ¶
GetSensorType :: proc "c" (sensor: ^Sensor) -> SensorType ---
GetSensorTypeForID ¶
GetSensorTypeForID :: proc "c" (instance_id: SensorID) -> SensorType ---
GetSilenceValueForFormat ¶
GetSilenceValueForFormat :: proc "c" (format: AudioFormat) -> i32 ---
GetStringProperty ¶
GetStringProperty :: proc "c" (props: PropertiesID, name: cstring, default_value: cstring) -> cstring ---
GetSurfaceColorspace ¶
GetSurfaceColorspace :: proc "c" (surface: ^Surface) -> Colorspace ---
GetSurfaceProperties ¶
GetSurfaceProperties :: proc "c" (surface: ^Surface) -> PropertiesID ---
GetSystemRAM ¶
GetSystemRAM :: proc "c" () -> i32 ---
GetSystemTheme ¶
GetSystemTheme :: proc "c" () -> SystemTheme ---
GetTextureProperties ¶
GetTextureProperties :: proc "c" (texture: ^Texture) -> PropertiesID ---
GetThreadState ¶
GetThreadState :: proc "c" (thread: ^Thread) -> ThreadState ---
GetTicks ¶
GetTicks :: proc "c" () -> u64 ---
GetTicksNS ¶
GetTicksNS :: proc "c" () -> u64 ---
GetTouchDeviceType ¶
GetTouchDeviceType :: proc "c" (touchID: TouchID) -> TouchDeviceType ---
GetVersion ¶
GetVersion :: proc "c" () -> i32 ---
GetWindowFlags ¶
GetWindowFlags :: proc "c" (window: ^Window) -> WindowFlags ---
GetWindowFullscreenMode ¶
GetWindowFullscreenMode :: proc "c" (window: ^Window) -> ^DisplayMode ---
GetWindowPixelFormat ¶
GetWindowPixelFormat :: proc "c" (window: ^Window) -> PixelFormat ---
GetWindowProperties ¶
GetWindowProperties :: proc "c" (window: ^Window) -> PropertiesID ---
HapticEffectSupported ¶
HapticEffectSupported :: proc "c" (haptic: ^Haptic, #by_ptr effect: HapticEffect) -> bool ---
HasARMSIMD ¶
HasARMSIMD :: proc "c" () -> bool ---
HasAVX512F ¶
HasAVX512F :: proc "c" () -> bool ---
HasAltiVec ¶
HasAltiVec :: proc "c" () -> bool ---
HasClipboardText ¶
HasClipboardText :: proc "c" () -> bool ---
HasGamepad ¶
HasGamepad :: proc "c" () -> bool ---
HasJoystick ¶
HasJoystick :: proc "c" () -> bool ---
HasKeyboard ¶
HasKeyboard :: proc "c" () -> bool ---
HasMouse ¶
HasMouse :: proc "c" () -> bool ---
HasPrimarySelectionText ¶
HasPrimarySelectionText :: proc "c" () -> bool ---
HasProperty ¶
HasProperty :: proc "c" (props: PropertiesID, name: cstring) -> bool ---
HasSSE41 ¶
HasSSE41 :: proc "c" () -> bool ---
HasSSE42 ¶
HasSSE42 :: proc "c" () -> bool ---
HasScreenKeyboardSupport ¶
HasScreenKeyboardSupport :: proc "c" () -> bool ---
HideCursor ¶
HideCursor :: proc "c" () -> bool ---
INIT_INTERFACE ¶
INIT_INTERFACE :: proc "contextless" (iface: ^$T) {…}
IOFromDynamicMem ¶
IOFromDynamicMem :: proc "c" () -> ^IOStream ---
ISCOLORSPACE_FULL_RANGE ¶
ISCOLORSPACE_FULL_RANGE :: proc "c" (cspace: Colorspace) -> bool {…}
ISCOLORSPACE_LIMITED_RANGE ¶
ISCOLORSPACE_LIMITED_RANGE :: proc "c" (cspace: Colorspace) -> bool {…}
ISCOLORSPACE_MATRIX_BT2020_NCL ¶
ISCOLORSPACE_MATRIX_BT2020_NCL :: proc "c" (cspace: Colorspace) -> bool {…}
ISCOLORSPACE_MATRIX_BT601 ¶
ISCOLORSPACE_MATRIX_BT601 :: proc "c" (cspace: Colorspace) -> bool {…}
ISCOLORSPACE_MATRIX_BT709 ¶
ISCOLORSPACE_MATRIX_BT709 :: proc "c" (cspace: Colorspace) -> bool {…}
ISPIXELFORMAT_10BIT ¶
ISPIXELFORMAT_10BIT :: proc "c" (format: PixelFormat) -> bool {…}
ISPIXELFORMAT_ALPHA ¶
ISPIXELFORMAT_ALPHA :: proc "c" (format: PixelFormat) -> bool {…}
ISPIXELFORMAT_ARRAY ¶
ISPIXELFORMAT_ARRAY :: proc "c" (format: PixelFormat) -> bool {…}
ISPIXELFORMAT_FLOAT ¶
ISPIXELFORMAT_FLOAT :: proc "c" (format: PixelFormat) -> bool {…}
ISPIXELFORMAT_FOURCC ¶
ISPIXELFORMAT_FOURCC :: proc "c" (format: PixelFormat) -> bool {…}
ISPIXELFORMAT_INDEXED ¶
ISPIXELFORMAT_INDEXED :: proc "c" (format: PixelFormat) -> bool {…}
ISPIXELFORMAT_PACKED ¶
ISPIXELFORMAT_PACKED :: proc "c" (format: PixelFormat) -> bool {…}
InsertGPUDebugLabel ¶
InsertGPUDebugLabel :: proc "c" (command_buffer: ^GPUCommandBuffer, text: cstring) ---
InsertTrayEntryAt ¶
InsertTrayEntryAt :: proc "c" (menu: ^TrayMenu, pos: i32, label: cstring, flags: TrayEntryFlags) -> ^TrayEntry ---
IsAudioDevicePhysical ¶
IsAudioDevicePhysical :: proc "c" (devid: AudioDeviceID) -> bool ---
IsAudioDevicePlayback ¶
IsAudioDevicePlayback :: proc "c" (devid: AudioDeviceID) -> bool ---
IsChromebook ¶
IsChromebook :: proc "c" () -> bool ---
IsDeXMode ¶
IsDeXMode :: proc "c" () -> bool ---
IsGamepad ¶
IsGamepad :: proc "c" (instance_id: JoystickID) -> bool ---
IsJoystickVirtual ¶
IsJoystickVirtual :: proc "c" (instance_id: JoystickID) -> bool ---
IsMainThread ¶
IsMainThread :: proc "c" () -> bool ---
IsMouseHaptic ¶
IsMouseHaptic :: proc "c" () -> bool ---
IsTablet ¶
IsTablet :: proc "c" () -> bool ---
JoystickEventsEnabled ¶
JoystickEventsEnabled :: proc "c" () -> bool ---
LoadFileAsync ¶
LoadFileAsync :: proc "c" (file: cstring, queue: ^AsyncIOQueue, userdata: rawptr) -> bool ---
LoadFunction ¶
LoadFunction :: proc "c" (handle: ^SharedObject, name: cstring) -> FunctionPointer ---
LoadObject ¶
LoadObject :: proc "c" (sofile: cstring) -> ^SharedObject ---
LockAudioStream ¶
LockAudioStream :: proc "c" (stream: ^AudioStream) -> bool ---
LockJoysticks ¶
LockJoysticks :: proc "c" () ---
LockMutex ¶
LockMutex :: proc "c" (mutex: ^Mutex) ---
LockProperties ¶
LockProperties :: proc "c" (props: PropertiesID) -> bool ---
LockRWLockForReading ¶
LockRWLockForReading :: proc "c" (rwlock: ^RWLock) ---
LockRWLockForWriting ¶
LockRWLockForWriting :: proc "c" (rwlock: ^RWLock) ---
LockSpinlock ¶
LockSpinlock :: proc "c" (lock: ^SpinLock) ---
LogMessage ¶
LogMessage :: proc "c" (category: i32, priority: LogPriority, fmt: cstring, .. args: ..any) ---
LogMessageV ¶
LogMessageV :: proc "c" (category: i32, priority: LogPriority, fmt: cstring, ap: c.va_list) ---
MapGPUTransferBuffer ¶
MapGPUTransferBuffer :: proc "c" (device: ^GPUDevice, transfer_buffer: ^GPUTransferBuffer, cycle: bool) -> rawptr ---
MapRGB ¶
MapRGB :: proc "c" (format: ^PixelFormatDetails, palette: ^Palette, r, g, b: u8) -> u32 ---
MapRGBA ¶
MapRGBA :: proc "c" ( format: ^PixelFormatDetails, palette: ^Palette, r, g, b, a: u8, ) -> u32 ---
MemoryBarrierAcquire ¶
MemoryBarrierAcquire :: MemoryBarrierAcquireFunction
MemoryBarrierAcquireFunction ¶
MemoryBarrierAcquireFunction :: proc "c" () ---
MemoryBarrierRelease ¶
MemoryBarrierRelease :: MemoryBarrierReleaseFunction
MemoryBarrierReleaseFunction ¶
MemoryBarrierReleaseFunction :: proc "c" () ---
Metal_DestroyView ¶
Metal_DestroyView :: proc "c" (view: MetalView) ---
MixAudio ¶
MixAudio :: proc "c" (dst, src: [^]u8, format: AudioFormat, len: u32, volume: f32) -> bool ---
OnApplicationDidChangeStatusBarOrientation ¶
OnApplicationDidChangeStatusBarOrientation :: proc "c" () ---
OnApplicationDidEnterBackground ¶
OnApplicationDidEnterBackground :: proc "c" () ---
OnApplicationDidEnterForeground ¶
OnApplicationDidEnterForeground :: proc "c" () ---
OnApplicationDidReceiveMemoryWarning ¶
OnApplicationDidReceiveMemoryWarning :: proc "c" () ---
OnApplicationWillEnterBackground ¶
OnApplicationWillEnterBackground :: proc "c" () ---
OnApplicationWillEnterForeground ¶
OnApplicationWillEnterForeground :: proc "c" () ---
OnApplicationWillTerminate ¶
OnApplicationWillTerminate :: proc "c" () ---
OpenAudioDevice ¶
OpenAudioDevice :: proc "c" (devid: AudioDeviceID, spec: ^AudioSpec) -> AudioDeviceID ---
OpenAudioDeviceStream ¶
OpenAudioDeviceStream :: proc "c" (devid: AudioDeviceID, spec: ^AudioSpec, callback: AudioStreamCallback, userdata: rawptr) -> ^AudioStream ---
OpenCamera ¶
OpenCamera :: proc "c" (instance_id: CameraID, spec: ^CameraSpec) -> ^Camera ---
OpenGamepad ¶
OpenGamepad :: proc "c" (instance_id: JoystickID) -> ^Gamepad ---
OpenHapticFromMouse ¶
OpenHapticFromMouse :: proc "c" () -> ^Haptic ---
OpenIO ¶
OpenIO :: proc "c" (iface: ^IOStreamInterface, userdata: rawptr) -> ^IOStream ---
OpenJoystick ¶
OpenJoystick :: proc "c" (instance_id: JoystickID) -> ^Joystick ---
OpenStorage ¶
OpenStorage :: proc "c" (iface: ^StorageInterface, userdata: rawptr) -> ^Storage ---
OpenTitleStorage ¶
OpenTitleStorage :: proc "c" (override: cstring, props: PropertiesID) -> ^Storage ---
OpenUserStorage ¶
OpenUserStorage :: proc "c" (org, app: cstring, props: PropertiesID) -> ^Storage ---
OutOfMemory ¶
OutOfMemory :: proc "c" () -> bool ---
PIXELARRAYORDER ¶
PIXELARRAYORDER :: proc "c" (format: PixelFormat) -> ArrayOrder {…}
PIXELFLAG ¶
PIXELFLAG :: proc "c" (format: PixelFormat) -> u32 {…}
PIXELLAYOUT ¶
PIXELLAYOUT :: proc "c" (format: PixelFormat) -> PackedLayout {…}
PIXELORDER ¶
PIXELORDER :: proc "c" (format: PixelFormat) -> PackedOrder {…}
PIXELTYPE ¶
PIXELTYPE :: proc "c" (format: PixelFormat) -> PixelType {…}
PauseAudioDevice ¶
PauseAudioDevice :: proc "c" (dev: AudioDeviceID) -> bool ---
PauseAudioStreamDevice ¶
PauseAudioStreamDevice :: proc "c" (stream: ^AudioStream) -> bool ---
PeepEvents ¶
PeepEvents :: proc "c" (events: [^]Event, numevents: i32, action: EventAction, minType, maxType: EventType) -> int ---
PopGPUDebugGroup ¶
PopGPUDebugGroup :: proc "c" (command_buffer: ^GPUCommandBuffer) ---
PremultiplyAlpha ¶
PremultiplyAlpha :: proc "c" ( width, height: i32, src_format: PixelFormat, src: rawptr, src_pitch: i32, dst_format: PixelFormat, dst: rawptr, dst_pitch: i32, linear: bool, ) -> bool ---
PumpEvents ¶
PumpEvents :: proc "c" () ---
PushGPUComputeUniformData ¶
PushGPUComputeUniformData :: proc "c" (command_buffer: ^GPUCommandBuffer, slot_index: u32, data: rawptr, length: u32) ---
PushGPUDebugGroup ¶
PushGPUDebugGroup :: proc "c" (command_buffer: ^GPUCommandBuffer, name: cstring) ---
PushGPUFragmentUniformData ¶
PushGPUFragmentUniformData :: proc "c" (command_buffer: ^GPUCommandBuffer, slot_index: u32, data: rawptr, length: u32) ---
PushGPUVertexUniformData ¶
PushGPUVertexUniformData :: proc "c" (command_buffer: ^GPUCommandBuffer, slot_index: u32, data: rawptr, length: u32) ---
PutAudioStreamData ¶
PutAudioStreamData :: proc "c" (stream: ^AudioStream, buf: rawptr, len: i32) -> bool ---
QuitSubSystem ¶
QuitSubSystem :: proc "c" (flags: InitFlags) ---
ReleaseGPUComputePipeline ¶
ReleaseGPUComputePipeline :: proc "c" (device: ^GPUDevice, compute_pipeline: ^GPUComputePipeline) ---
ReleaseGPUGraphicsPipeline ¶
ReleaseGPUGraphicsPipeline :: proc "c" (device: ^GPUDevice, graphics_pipeline: ^GPUGraphicsPipeline) ---
ReleaseGPUSampler ¶
ReleaseGPUSampler :: proc "c" (device: ^GPUDevice, sampler: ^GPUSampler) ---
ReleaseGPUTexture ¶
ReleaseGPUTexture :: proc "c" (device: ^GPUDevice, texture: ^GPUTexture) ---
ReleaseGPUTransferBuffer ¶
ReleaseGPUTransferBuffer :: proc "c" (device: ^GPUDevice, transfer_buffer: ^GPUTransferBuffer) ---
ReloadGamepadMappings ¶
ReloadGamepadMappings :: proc "c" () -> bool ---
RemoveEventWatch ¶
RemoveEventWatch :: proc "c" (filter: EventFilter, userdata: rawptr) ---
RemoveHintCallback ¶
RemoveHintCallback :: proc "c" (name: cstring, callback: HintCallback, userdata: rawptr) ---
RemoveSurfaceAlternateImages ¶
RemoveSurfaceAlternateImages :: proc "c" (surface: ^Surface) ---
RemoveTrayEntry ¶
RemoveTrayEntry :: proc "c" (entry: ^TrayEntry) ---
ReportAssertion ¶
ReportAssertion :: proc "c" (data: ^AssertData, func, file: cstring, line: i32) -> AssertState ---
RequestAndroidPermission ¶
RequestAndroidPermission :: proc "c" (permission: cstring, cb: RequestAndroidPermissionCallback, userdata: rawptr) -> bool ---
ResetAssertionReport ¶
ResetAssertionReport :: proc "c" () ---
ResetHints ¶
ResetHints :: proc "c" () ---
ResetKeyboard ¶
ResetKeyboard :: proc "c" () ---
ResetLogPriorities ¶
ResetLogPriorities :: proc "c" () ---
ResumeAudioDevice ¶
ResumeAudioDevice :: proc "c" (dev: AudioDeviceID) -> bool ---
ResumeAudioStreamDevice ¶
ResumeAudioStreamDevice :: proc "c" (stream: ^AudioStream) -> bool ---
RunOnMainThread ¶
RunOnMainThread :: proc "c" (callback: MainThreadCallback, userdata: rawptr, wait_complete: bool) -> bool ---
ScreenSaverEnabled ¶
ScreenSaverEnabled :: proc "c" () -> bool ---
SendAndroidBackButton ¶
SendAndroidBackButton :: proc "c" () ---
SetAssertionHandler ¶
SetAssertionHandler :: proc "c" (handler: AssertionHandler, userdata: rawptr) ---
SetAudioDeviceGain ¶
SetAudioDeviceGain :: proc "c" (devid: AudioDeviceID, gain: f32) -> bool ---
SetAudioPostmixCallback ¶
SetAudioPostmixCallback :: proc "c" (devid: AudioDeviceID, callback: AudioPostmixCallback, userdata: rawptr) -> bool ---
SetAudioStreamFormat ¶
SetAudioStreamFormat :: proc "c" (stream: ^AudioStream, src_spec, dst_spec: ^AudioSpec) -> bool ---
SetAudioStreamFrequencyRatio ¶
SetAudioStreamFrequencyRatio :: proc "c" (stream: ^AudioStream, ratio: f32) -> bool ---
SetAudioStreamGain ¶
SetAudioStreamGain :: proc "c" (stream: ^AudioStream, gain: f32) -> bool ---
SetAudioStreamGetCallback ¶
SetAudioStreamGetCallback :: proc "c" (stream: ^AudioStream, callback: AudioStreamCallback, userdata: rawptr) -> bool ---
SetAudioStreamInputChannelMap ¶
SetAudioStreamInputChannelMap :: proc "c" (stream: ^AudioStream, chmap: [^]i32, count: i32) -> bool ---
SetAudioStreamOutputChannelMap ¶
SetAudioStreamOutputChannelMap :: proc "c" (stream: ^AudioStream, chmap: [^]i32, count: i32) -> bool ---
SetAudioStreamPutCallback ¶
SetAudioStreamPutCallback :: proc "c" (stream: ^AudioStream, callback: AudioStreamCallback, userdata: rawptr) -> bool ---
SetBooleanProperty ¶
SetBooleanProperty :: proc "c" (props: PropertiesID, name: cstring, value: bool) -> bool ---
SetClipboardData ¶
SetClipboardData :: proc "c" (callback: ClipboardDataCallback, cleanup: ClipboardCleanupCallback, userdata: rawptr, mime_types: [^]cstring, num_mime_types: uint) -> bool ---
SetCurrentThreadPriority ¶
SetCurrentThreadPriority :: proc "c" (priority: ThreadPriority) -> bool ---
SetEnvironmentVariable ¶
SetEnvironmentVariable :: proc "c" (env: ^Environment, name, value: cstring, overwrite: bool) -> bool ---
SetEventFilter ¶
SetEventFilter :: proc "c" (filter: EventFilter, userdata: rawptr) ---
SetFloatProperty ¶
SetFloatProperty :: proc "c" (props: PropertiesID, name: cstring, value: f32) -> bool ---
SetGPUBlendConstants ¶
SetGPUBlendConstants :: proc "c" (render_pass: ^GPURenderPass, blend_constants: FColor) ---
SetGPUScissor ¶
SetGPUScissor :: proc "c" (render_pass: ^GPURenderPass, #by_ptr scissor: Rect) ---
SetGPUStencilReference ¶
SetGPUStencilReference :: proc "c" (render_pass: ^GPURenderPass, reference: u8) ---
SetGPUSwapchainParameters ¶
SetGPUSwapchainParameters :: proc "c" (device: ^GPUDevice, window: ^Window, swapchain_composition: GPUSwapchainComposition, present_mode: GPUPresentMode) -> bool ---
SetGPUTextureName ¶
SetGPUTextureName :: proc "c" (device: ^GPUDevice, texture: ^GPUTexture, text: cstring) ---
SetGPUViewport ¶
SetGPUViewport :: proc "c" (render_pass: ^GPURenderPass, #by_ptr viewport: GPUViewport) ---
SetGamepadEventsEnabled ¶
SetGamepadEventsEnabled :: proc "c" (enabled: bool) ---
SetGamepadMapping ¶
SetGamepadMapping :: proc "c" (instance_id: JoystickID, mapping: cstring) -> bool ---
SetGamepadSensorEnabled ¶
SetGamepadSensorEnabled :: proc "c" (gamepad: ^Gamepad, type: SensorType, enabled: bool) -> bool ---
SetHintWithPriority ¶
SetHintWithPriority :: proc "c" (name: cstring, value: cstring, priority: HintPriority) -> bool ---
SetJoystickEventsEnabled ¶
SetJoystickEventsEnabled :: proc "c" (enabled: bool) ---
SetLogOutputFunction ¶
SetLogOutputFunction :: proc "c" (callback: LogOutputFunction, userdata: rawptr) ---
SetLogPriorities ¶
SetLogPriorities :: proc "c" (priority: LogPriority) ---
SetLogPriority ¶
SetLogPriority :: proc "c" (category: LogCategory, priority: LogPriority) ---
SetLogPriorityPrefix ¶
SetLogPriorityPrefix :: proc "c" (priority: LogPriority, prefix: cstring) -> bool ---
SetMainReady ¶
SetMainReady :: proc "c" () ---
SetMemoryFunctions ¶
SetMemoryFunctions :: proc "c" (malloc_func: malloc_func, calloc_func: calloc_func, realloc_func: realloc_func, free_func: free_func) ---
SetModState ¶
SetModState :: proc "c" (modstate: Keymod) ---
SetNumberProperty ¶
SetNumberProperty :: proc "c" (props: PropertiesID, name: cstring, value: i64) -> bool ---
SetPointerProperty ¶
SetPointerProperty :: proc "c" (props: PropertiesID, name: cstring, value: rawptr) -> bool ---
SetPointerPropertyWithCleanup ¶
SetPointerPropertyWithCleanup :: proc "c" (props: PropertiesID, name: cstring, value: rawptr, cleanup: CleanupPropertyCallback, userdata: rawptr) -> bool ---
SetRenderLogicalPresentation ¶
SetRenderLogicalPresentation :: proc "c" (renderer: ^Renderer, w, h: i32, mode: RendererLogicalPresentation) -> bool ---
SetStringProperty ¶
SetStringProperty :: proc "c" (props: PropertiesID, name: cstring, value: cstring) -> bool ---
SetSurfaceColorspace ¶
SetSurfaceColorspace :: proc "c" (surface: ^Surface, colorspace: Colorspace) -> bool ---
SetTLS ¶
SetTLS :: proc "c" (id: ^AtomicInt, value: rawptr, destructor: TLSDestructorCallback) -> bool ---
SetTrayEntryCallback ¶
SetTrayEntryCallback :: proc "c" (entry: ^TrayEntry, callback: TrayCallback, userdata: rawptr) ---
SetWindowFullscreenMode ¶
SetWindowFullscreenMode :: proc "c" (window: ^Window, #by_ptr mode: DisplayMode) -> bool ---
SetWindowsMessageHook ¶
SetWindowsMessageHook :: proc "c" (callback: WindowsMessageHook, userdata: rawptr) ---
SetX11EventHook ¶
SetX11EventHook :: proc "c" (callback: X11EventHook, userdata: rawptr) ---
SetiOSAnimationCallback ¶
SetiOSAnimationCallback :: proc "c" (window: ^Window, interval: i32, callback: iOSAnimationCallback, callbackParam: rawptr) -> bool ---
SetiOSEventPump ¶
SetiOSEventPump :: proc "c" (enabled: bool) ---
ShowCursor ¶
ShowCursor :: proc "c" () -> bool ---
ShowFileDialogWithProperties ¶
ShowFileDialogWithProperties :: proc "c" (type: FileDialogType, callback: DialogFileCallback, userdata: rawptr, props: PropertiesID) ---
ShowMessageBox ¶
ShowMessageBox :: proc "c" (#by_ptr messageboxdata: MessageBoxData, buttonid: ^i32) -> bool ---
ShowOpenFileDialog ¶
ShowOpenFileDialog :: proc "c" ( callback: DialogFileCallback, userdata: rawptr, window: ^Window, filters: [^]DialogFileFilter, nfilters: i32, default_location: cstring, allow_many: bool, ) ---
ShowOpenFolderDialog ¶
ShowOpenFolderDialog :: proc "c" (callback: DialogFileCallback, userdata: rawptr, window: ^Window, default_location: cstring, allow_many: bool) ---
ShowSaveFileDialog ¶
ShowSaveFileDialog :: proc "c" ( callback: DialogFileCallback, userdata: rawptr, window: ^Window, filters: [^]DialogFileFilter, nfilters: i32, default_location: cstring, ) ---
ShowSimpleMessageBox ¶
ShowSimpleMessageBox :: proc "c" (flags: MessageBoxFlags, title, message: cstring, window: ^Window) -> bool ---
SignalAsyncIOQueue ¶
SignalAsyncIOQueue :: proc "c" (queue: ^AsyncIOQueue) ---
StartTextInputWithProperties ¶
StartTextInputWithProperties :: proc "c" (window: ^Window, props: PropertiesID) -> bool ---
SubmitGPUCommandBuffer ¶
SubmitGPUCommandBuffer :: proc "c" (command_buffer: ^GPUCommandBuffer) -> bool ---
SubmitGPUCommandBufferAndAcquireFence ¶
SubmitGPUCommandBufferAndAcquireFence :: proc "c" (command_buffer: ^GPUCommandBuffer) -> ^GPUFence ---
TriggerBreakpoint ¶
TriggerBreakpoint :: intrinsics.debug_trap
UnbindAudioStream ¶
UnbindAudioStream :: proc "c" (stream: ^AudioStream) ---
UnbindAudioStreams ¶
UnbindAudioStreams :: proc "c" (streams: [^]^AudioStream, num_streams: i32) ---
UnloadObject ¶
UnloadObject :: proc "c" (handle: ^SharedObject) ---
UnlockAudioStream ¶
UnlockAudioStream :: proc "c" (stream: ^AudioStream) -> bool ---
UnlockJoysticks ¶
UnlockJoysticks :: proc "c" () ---
UnlockMutex ¶
UnlockMutex :: proc "c" (mutex: ^Mutex) ---
UnlockProperties ¶
UnlockProperties :: proc "c" (props: PropertiesID) ---
UnlockRWLock ¶
UnlockRWLock :: proc "c" (rwlock: ^RWLock) ---
UnlockSpinlock ¶
UnlockSpinlock :: proc "c" (lock: ^SpinLock) ---
UnlockSurface ¶
UnlockSurface :: proc "c" (surface: ^Surface) ---
UnlockTexture ¶
UnlockTexture :: proc "c" (texture: ^Texture) ---
UnmapGPUTransferBuffer ¶
UnmapGPUTransferBuffer :: proc "c" (device: ^GPUDevice, transfer_buffer: ^GPUTransferBuffer) ---
UnregisterApp ¶
UnregisterApp :: proc "c" () ---
UnsetEnvironmentVariable ¶
UnsetEnvironmentVariable :: proc "c" (env: ^Environment, name: cstring) -> bool ---
Unsupported ¶
Unsupported :: proc "c" () -> bool {…}
UpdateGamepads ¶
UpdateGamepads :: proc "c" () ---
UpdateHapticEffect ¶
UpdateHapticEffect :: proc "c" (haptic: ^Haptic, effect: i32, #by_ptr data: HapticEffect) -> bool ---
UpdateJoysticks ¶
UpdateJoysticks :: proc "c" () ---
UpdateSensors ¶
UpdateSensors :: proc "c" () ---
UpdateTrays ¶
UpdateTrays :: proc "c" () ---
UploadToGPUBuffer ¶
UploadToGPUBuffer :: proc "c" (copy_pass: ^GPUCopyPass, #by_ptr source: GPUTransferBufferLocation, #by_ptr destination: GPUBufferRegion, cycle: bool) ---
UploadToGPUTexture ¶
UploadToGPUTexture :: proc "c" (copy_pass: ^GPUCopyPass, #by_ptr source: GPUTextureTransferInfo, #by_ptr destination: GPUTextureRegion, cycle: bool) ---
Vulkan_CreateSurface ¶
Vulkan_CreateSurface :: proc "c" (window: ^Window, instance: vulkan.Instance, allocator: runtime.Maybe($T=^AllocationCallbacks), surface: ^vulkan.SurfaceKHR) -> bool ---
Vulkan_DestroySurface ¶
Vulkan_DestroySurface :: proc "c" (instance: vulkan.Instance, surface: vulkan.SurfaceKHR, allocator: runtime.Maybe($T=^AllocationCallbacks)) ---
Vulkan_GetPresentationSupport ¶
Vulkan_GetPresentationSupport :: proc "c" (instance: vulkan.Instance, physicalDevice: vulkan.PhysicalDevice, queueFamilyIndex: u32) -> bool ---
Vulkan_GetVkGetInstanceProcAddr ¶
Vulkan_GetVkGetInstanceProcAddr :: proc "c" () -> FunctionPointer ---
Vulkan_UnloadLibrary ¶
Vulkan_UnloadLibrary :: proc "c" () ---
WaitAndAcquireGPUSwapchainTexture ¶
WaitAndAcquireGPUSwapchainTexture :: proc "c" (command_buffer: ^GPUCommandBuffer, window: ^Window, swapchain_texture: ^^GPUTexture, swapchain_texture_width, swapchain_texture_height: ^u32) -> bool ---
WaitAsyncIOResult ¶
WaitAsyncIOResult :: proc "c" (queue: ^AsyncIOQueue, outcome: ^AsyncIOOutcome, timeoutMS: i32) -> bool ---
WindowSupportsGPUPresentMode ¶
WindowSupportsGPUPresentMode :: proc "c" (device: ^GPUDevice, window: ^Window, present_mode: GPUPresentMode) -> bool ---
WindowSupportsGPUSwapchainComposition ¶
WindowSupportsGPUSwapchainComposition :: proc "c" (device: ^GPUDevice, window: ^Window, swapchain_composition: GPUSwapchainComposition) -> bool ---
aligned_free ¶
aligned_free :: proc "c" (mem: rawptr) ---
assert ¶
assert :: proc "c" (condition: bool, loc := #caller_location, _message: string = #caller_expression(condition)) {…}
assert_always ¶
assert_always :: enabled_assert
assert_release ¶
assert_release :: assert
disabled_assert ¶
disabled_assert :: proc "c" (condition: bool) {…}
enabled_assert ¶
enabled_assert :: proc "c" (condition: bool, loc := #caller_location, _message: string = #caller_expression(condition)) {…}
gl_set_proc_address ¶
Used by vendor:OpenGL
hid_ble_scan ¶
hid_ble_scan :: proc "c" (active: bool) ---
hid_close ¶
hid_close :: proc "c" (dev: ^hid_device) -> i32 ---
hid_device_change_count ¶
hid_device_change_count :: proc "c" () -> u32 ---
hid_enumerate ¶
hid_enumerate :: proc "c" (vendor_id, product_id: u16) -> ^hid_device_info ---
hid_exit ¶
hid_exit :: proc "c" () -> i32 ---
hid_free_enumeration ¶
hid_free_enumeration :: proc "c" (devs: ^hid_device_info) ---
hid_get_device_info ¶
hid_get_device_info :: proc "c" (dev: ^hid_device) -> ^hid_device_info ---
hid_get_feature_report ¶
hid_get_feature_report :: proc "c" (dev: ^hid_device, data: [^]u8, length: uint) -> i32 ---
hid_get_indexed_string ¶
hid_get_indexed_string :: proc "c" (dev: ^hid_device, string_index: i32, string: [^]u16, maxlen: uint) -> i32 ---
hid_get_input_report ¶
hid_get_input_report :: proc "c" (dev: ^hid_device, data: [^]u8, length: uint) -> i32 ---
hid_get_manufacturer_string ¶
hid_get_manufacturer_string :: proc "c" (dev: ^hid_device, string: [^]u16, maxlen: uint) -> i32 ---
hid_get_product_string ¶
hid_get_product_string :: proc "c" (dev: ^hid_device, string: [^]u16, maxlen: uint) -> i32 ---
hid_get_report_descriptor ¶
hid_get_report_descriptor :: proc "c" (dev: ^hid_device, buf: [^]u8, buf_size: uint) -> i32 ---
hid_get_serial_number_string ¶
hid_get_serial_number_string :: proc "c" (dev: ^hid_device, string: [^]u16, maxlen: uint) -> i32 ---
hid_init ¶
hid_init :: proc "c" () -> i32 ---
hid_open ¶
hid_open :: proc "c" (vendor_id, product_id: u16, serial_number: [^]u16) -> ^hid_device ---
hid_open_path ¶
hid_open_path :: proc "c" (path: cstring) -> ^hid_device ---
hid_read ¶
hid_read :: proc "c" (dev: ^hid_device, data: [^]u8, length: uint) -> i32 ---
hid_read_timeout ¶
hid_read_timeout :: proc "c" (dev: ^hid_device, data: [^]u8, length: uint, milliseconds: i32) -> i32 ---
hid_send_feature_report ¶
hid_send_feature_report :: proc "c" (dev: ^hid_device, data: [^]u8, length: uint) -> i32 ---
hid_set_nonblocking ¶
hid_set_nonblocking :: proc "c" (dev: ^hid_device, nonblock: i32) -> i32 ---
hid_write ¶
hid_write :: proc "c" (dev: ^hid_device, data: [^]u8, length: uint) -> i32 ---
iconv_close ¶
iconv_close :: proc "c" (cd: ^iconv_data_t) -> i32 ---
iconv_open ¶
iconv_open :: proc "c" (tocode: cstring) -> ^iconv_data_t ---
qsort ¶
qsort :: proc "c" (base: rawptr, nmemb: uint, size: uint, compare: CompareCallback) ---
qsort_r ¶
qsort_r :: proc "c" (base: rawptr, nmemb: uint, size: uint, compare: CompareCallback_r, userdata: rawptr) ---
rand_bits ¶
rand_bits :: proc "c" () -> u32 ---
stack_alloc ¶
stack_alloc :: intrinsics.alloca
Procedure Groups
This section is empty.
Source Files
- sdl3__foreign.odin
- sdl3_assert.odin
- sdl3_asyncio.odin
- sdl3_atomic.odin
- sdl3_audio.odin
- sdl3_bits.odin
- sdl3_blendmode.odin
- sdl3_camera.odin
- sdl3_clipboard.odin
- sdl3_cpuinfo.odin
- sdl3_dialog.odin
- sdl3_endian.odin
- sdl3_error.odin
- sdl3_events.odin
- sdl3_filesystem.odin
- sdl3_gamepad.odin
- sdl3_gpu.odin
- sdl3_guid.odin
- sdl3_haptic.odin
- sdl3_hidapi.odin
- sdl3_hints.odin
- sdl3_init.odin
- sdl3_iostream.odin
- sdl3_joystick.odin
- sdl3_keyboard.odin
- sdl3_keycode.odin
- sdl3_loadso.odin
- sdl3_locale.odin
- sdl3_log.odin
- sdl3_main.odin
- sdl3_messagebox.odin
- sdl3_metal.odin
- sdl3_misc.odin
- sdl3_mouse.odin
- sdl3_mutex.odin
- sdl3_pen.odin
- sdl3_pixels.odin
- sdl3_platform.odin
- sdl3_power.odin
- sdl3_process.odin
- sdl3_properties.odin
- sdl3_rect.odin
- sdl3_render.odin
- sdl3_scancode.odin
- sdl3_sensor.odin
- sdl3_stdinc.odin
- sdl3_storage.odin
- sdl3_surface.odin
- sdl3_system.odin
- sdl3_thread.odin
- sdl3_time.odin
- sdl3_timer.odin
- sdl3_touch.odin
- sdl3_tray.odin
- sdl3_version.odin
- sdl3_video.odin
- sdl3_vulkan.odin
Generation Information
Generated with odin version dev-2025-02 (vendor "odin") Windows_amd64 @ 2025-02-19 21:11:56.966695900 +0000 UTC