SDL

clay.sdl.SDL (Class)

Static Members

SDL_IO_SEEK_SET: Int

SDL_IO_SEEK_CUR: Int

SDL_IO_SEEK_END: Int

SDL_INIT_AUDIO: cpp.UInt32

SDL_INIT_VIDEO: cpp.UInt32

SDL_INIT_JOYSTICK: cpp.UInt32

SDL_INIT_HAPTIC: cpp.UInt32

SDL_INIT_GAMEPAD: cpp.UInt32

SDL_INIT_EVENTS: cpp.UInt32

SDL_INIT_SENSOR: cpp.UInt32

SDL_INIT_CAMERA: cpp.UInt32

SDL_WINDOW_FULLSCREEN: cpp.UInt32

SDL_WINDOW_OPENGL: cpp.UInt32

SDL_WINDOW_OCCLUDED: cpp.UInt32

SDL_WINDOW_HIDDEN: cpp.UInt32

SDL_WINDOW_BORDERLESS: cpp.UInt32

SDL_WINDOW_RESIZABLE: cpp.UInt32

SDL_WINDOW_MINIMIZED: cpp.UInt32

SDL_WINDOW_MAXIMIZED: cpp.UInt32

SDL_WINDOW_MOUSE_GRABBED: cpp.UInt32

SDL_WINDOW_INPUT_FOCUS: cpp.UInt32

SDL_WINDOW_MOUSE_FOCUS: cpp.UInt32

SDL_WINDOW_EXTERNAL: cpp.UInt32

SDL_WINDOW_MODAL: cpp.UInt32

SDL_WINDOW_HIGH_PIXEL_DENSITY: cpp.UInt32

SDL_WINDOW_MOUSE_CAPTURE: cpp.UInt32

SDL_WINDOW_MOUSE_RELATIVE_MODE: cpp.UInt32

SDL_WINDOW_ALWAYS_ON_TOP: cpp.UInt32

SDL_WINDOW_UTILITY: cpp.UInt32

SDL_WINDOW_TOOLTIP: cpp.UInt32

SDL_WINDOW_POPUP_MENU: cpp.UInt32

SDL_WINDOW_KEYBOARD_GRABBED: cpp.UInt32

SDL_WINDOW_VULKAN: cpp.UInt32

SDL_WINDOW_METAL: cpp.UInt32

SDL_WINDOW_TRANSPARENT: cpp.UInt32

SDL_WINDOW_NOT_FOCUSABLE: cpp.UInt32

SDL_EVENT_QUIT: cpp.UInt32

SDL_EVENT_WINDOW_SHOWN: cpp.UInt32

SDL_EVENT_WINDOW_HIDDEN: cpp.UInt32

SDL_EVENT_WINDOW_EXPOSED: cpp.UInt32

SDL_EVENT_WINDOW_MOVED: cpp.UInt32

SDL_EVENT_WINDOW_RESIZED: cpp.UInt32

SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED: cpp.UInt32

SDL_EVENT_WINDOW_METAL_VIEW_RESIZED: cpp.UInt32

SDL_EVENT_WINDOW_MINIMIZED: cpp.UInt32

SDL_EVENT_WINDOW_MAXIMIZED: cpp.UInt32

SDL_EVENT_WINDOW_RESTORED: cpp.UInt32

SDL_EVENT_WINDOW_MOUSE_ENTER: cpp.UInt32

SDL_EVENT_WINDOW_MOUSE_LEAVE: cpp.UInt32

SDL_EVENT_WINDOW_FOCUS_GAINED: cpp.UInt32

SDL_EVENT_WINDOW_FOCUS_LOST: cpp.UInt32

SDL_EVENT_WINDOW_CLOSE_REQUESTED: cpp.UInt32

SDL_EVENT_WINDOW_HIT_TEST: cpp.UInt32

SDL_EVENT_WINDOW_ICCPROF_CHANGED: cpp.UInt32

SDL_EVENT_WINDOW_DISPLAY_CHANGED: cpp.UInt32

SDL_EVENT_WINDOW_DISPLAY_SCALE_CHANGED: cpp.UInt32

SDL_EVENT_WINDOW_SAFE_AREA_CHANGED: cpp.UInt32

SDL_EVENT_WINDOW_OCCLUDED: cpp.UInt32

SDL_EVENT_WINDOW_ENTER_FULLSCREEN: cpp.UInt32

SDL_EVENT_WINDOW_LEAVE_FULLSCREEN: cpp.UInt32

SDL_EVENT_WINDOW_DESTROYED: cpp.UInt32

SDL_EVENT_WINDOW_HDR_STATE_CHANGED: cpp.UInt32

SDL_EVENT_KEY_DOWN: cpp.UInt32

SDL_EVENT_KEY_UP: cpp.UInt32

SDL_EVENT_TEXT_EDITING: cpp.UInt32

SDL_EVENT_TEXT_INPUT: cpp.UInt32

SDL_EVENT_KEYMAP_CHANGED: cpp.UInt32

SDL_EVENT_KEYBOARD_ADDED: cpp.UInt32

SDL_EVENT_KEYBOARD_REMOVED: cpp.UInt32

SDL_EVENT_TEXT_EDITING_CANDIDATES: cpp.UInt32

SDL_EVENT_MOUSE_MOTION: cpp.UInt32

SDL_EVENT_MOUSE_BUTTON_DOWN: cpp.UInt32

SDL_EVENT_MOUSE_BUTTON_UP: cpp.UInt32

SDL_EVENT_MOUSE_WHEEL: cpp.UInt32

SDL_EVENT_MOUSE_ADDED: cpp.UInt32

SDL_EVENT_MOUSE_REMOVED: cpp.UInt32

SDL_EVENT_JOYSTICK_AXIS_MOTION: cpp.UInt32

SDL_EVENT_JOYSTICK_BALL_MOTION: cpp.UInt32

SDL_EVENT_JOYSTICK_HAT_MOTION: cpp.UInt32

SDL_EVENT_JOYSTICK_BUTTON_DOWN: cpp.UInt32

SDL_EVENT_JOYSTICK_BUTTON_UP: cpp.UInt32

SDL_EVENT_JOYSTICK_ADDED: cpp.UInt32

SDL_EVENT_JOYSTICK_REMOVED: cpp.UInt32

SDL_EVENT_JOYSTICK_BATTERY_UPDATED: cpp.UInt32

SDL_EVENT_JOYSTICK_UPDATE_COMPLETE: cpp.UInt32

SDL_EVENT_GAMEPAD_AXIS_MOTION: cpp.UInt32

SDL_EVENT_GAMEPAD_BUTTON_DOWN: cpp.UInt32

SDL_EVENT_GAMEPAD_BUTTON_UP: cpp.UInt32

SDL_EVENT_GAMEPAD_ADDED: cpp.UInt32

SDL_EVENT_GAMEPAD_REMOVED: cpp.UInt32

SDL_EVENT_GAMEPAD_REMAPPED: cpp.UInt32

SDL_EVENT_GAMEPAD_TOUCHPAD_DOWN: cpp.UInt32

SDL_EVENT_GAMEPAD_TOUCHPAD_MOTION: cpp.UInt32

SDL_EVENT_GAMEPAD_TOUCHPAD_UP: cpp.UInt32

SDL_EVENT_GAMEPAD_SENSOR_UPDATE: cpp.UInt32

SDL_EVENT_GAMEPAD_UPDATE_COMPLETE: cpp.UInt32

SDL_EVENT_GAMEPAD_STEAM_HANDLE_UPDATED: cpp.UInt32

SDL_EVENT_FINGER_DOWN: cpp.UInt32

SDL_EVENT_FINGER_UP: cpp.UInt32

SDL_EVENT_FINGER_MOTION: cpp.UInt32

SDL_EVENT_FINGER_CANCELED: cpp.UInt32

SDL_EVENT_TERMINATING: cpp.UInt32

SDL_EVENT_LOW_MEMORY: cpp.UInt32

SDL_EVENT_WILL_ENTER_BACKGROUND: cpp.UInt32

SDL_EVENT_DID_ENTER_BACKGROUND: cpp.UInt32

SDL_EVENT_WILL_ENTER_FOREGROUND: cpp.UInt32

SDL_EVENT_DID_ENTER_FOREGROUND: cpp.UInt32

SDL_EVENT_LOCALE_CHANGED: cpp.UInt32

SDL_EVENT_SYSTEM_THEME_CHANGED: cpp.UInt32

SDL_EVENT_CLIPBOARD_UPDATE: cpp.UInt32

SDL_EVENT_DROP_FILE: cpp.UInt32

SDL_EVENT_DROP_TEXT: cpp.UInt32

SDL_EVENT_DROP_BEGIN: cpp.UInt32

SDL_EVENT_DROP_COMPLETE: cpp.UInt32

SDL_EVENT_DROP_POSITION: cpp.UInt32

SDL_EVENT_AUDIO_DEVICE_ADDED: cpp.UInt32

SDL_EVENT_AUDIO_DEVICE_REMOVED: cpp.UInt32

SDL_EVENT_AUDIO_DEVICE_FORMAT_CHANGED: cpp.UInt32

SDL_EVENT_SENSOR_UPDATE: cpp.UInt32

SDL_EVENT_PEN_PROXIMITY_IN: cpp.UInt32

SDL_EVENT_PEN_PROXIMITY_OUT: cpp.UInt32

SDL_EVENT_PEN_DOWN: cpp.UInt32

SDL_EVENT_PEN_UP: cpp.UInt32

SDL_EVENT_PEN_BUTTON_DOWN: cpp.UInt32

SDL_EVENT_PEN_BUTTON_UP: cpp.UInt32

SDL_EVENT_PEN_MOTION: cpp.UInt32

SDL_EVENT_PEN_AXIS: cpp.UInt32

SDL_EVENT_CAMERA_DEVICE_ADDED: cpp.UInt32

SDL_EVENT_CAMERA_DEVICE_REMOVED: cpp.UInt32

SDL_EVENT_CAMERA_DEVICE_APPROVED: cpp.UInt32

SDL_EVENT_CAMERA_DEVICE_DENIED: cpp.UInt32

SDL_EVENT_RENDER_TARGETS_RESET: cpp.UInt32

SDL_EVENT_RENDER_DEVICE_RESET: cpp.UInt32

SDL_EVENT_RENDER_DEVICE_LOST: cpp.UInt32

SDL_GL_RED_SIZE: Int

SDL_GL_GREEN_SIZE: Int

SDL_GL_BLUE_SIZE: Int

SDL_GL_ALPHA_SIZE: Int

SDL_GL_BUFFER_SIZE: Int

SDL_GL_DOUBLEBUFFER: Int

SDL_GL_DEPTH_SIZE: Int

SDL_GL_STENCIL_SIZE: Int

SDL_GL_ACCUM_RED_SIZE: Int

SDL_GL_ACCUM_GREEN_SIZE: Int

SDL_GL_ACCUM_BLUE_SIZE: Int

SDL_GL_ACCUM_ALPHA_SIZE: Int

SDL_GL_STEREO: Int

SDL_GL_MULTISAMPLEBUFFERS: Int

SDL_GL_MULTISAMPLESAMPLES: Int

SDL_GL_ACCELERATED_VISUAL: Int

SDL_GL_CONTEXT_MAJOR_VERSION: Int

SDL_GL_CONTEXT_MINOR_VERSION: Int

SDL_GL_CONTEXT_FLAGS: Int

SDL_GL_CONTEXT_PROFILE_MASK: Int

SDL_GL_SHARE_WITH_CURRENT_CONTEXT: Int

SDL_GL_FRAMEBUFFER_SRGB_CAPABLE: Int

SDL_GL_CONTEXT_RELEASE_BEHAVIOR: Int

SDL_GL_CONTEXT_RESET_NOTIFICATION: Int

SDL_GL_CONTEXT_NO_ERROR: Int

SDL_GL_FLOATBUFFERS: Int

SDL_GL_EGL_PLATFORM: Int

SDL_GL_CONTEXT_PROFILE_CORE: Int

SDL_GL_CONTEXT_PROFILE_COMPATIBILITY: Int

SDL_GL_CONTEXT_PROFILE_ES: Int

SDL_KMOD_NONE: cpp.UInt16

SDL_KMOD_LSHIFT: cpp.UInt16

SDL_KMOD_RSHIFT: cpp.UInt16

SDL_KMOD_LCTRL: cpp.UInt16

SDL_KMOD_RCTRL: cpp.UInt16

SDL_KMOD_LALT: cpp.UInt16

SDL_KMOD_RALT: cpp.UInt16

SDL_KMOD_LGUI: cpp.UInt16

SDL_KMOD_RGUI: cpp.UInt16

SDL_KMOD_NUM: cpp.UInt16

SDL_KMOD_CAPS: cpp.UInt16

SDL_KMOD_MODE: cpp.UInt16

SDL_KMOD_SCROLL: cpp.UInt16

SDL_KMOD_CTRL: cpp.UInt16

SDL_KMOD_SHIFT: cpp.UInt16

SDL_KMOD_ALT: cpp.UInt16

SDL_KMOD_GUI: cpp.UInt16

SDL_SENSOR_INVALID: Int

SDL_SENSOR_UNKNOWN: Int

SDL_SENSOR_ACCEL: Int

SDL_SENSOR_GYRO: Int

SDL_SENSOR_ACCEL_L: Int

SDL_SENSOR_GYRO_L: Int

SDL_SENSOR_ACCEL_R: Int

SDL_SENSOR_GYRO_R: Int

SDL_WINDOWPOS_UNDEFINED_MASK: cpp.UInt32

SDL_WINDOWPOS_CENTERED_MASK: cpp.UInt32

SDL_WINDOWPOS_UNDEFINED: cpp.UInt32

SDL_WINDOWPOS_CENTERED: cpp.UInt32

SDL_HINT_AUDIO_DEVICE_APP_ICON_NAME: String

SDL_HINT_AUDIO_DEVICE_SAMPLE_FRAMES: String

SDL_HINT_AUDIO_DEVICE_STREAM_ROLE: String

SDL_HINT_AUDIO_DRIVER: String

SDL_HINT_AUDIO_DUMMY_TIMESCALE: String

SDL_HINT_AUDIO_FORMAT: String

SDL_HINT_AUDIO_FREQUENCY: String

SDL_HINT_AUDIO_CHANNELS: String

SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE: String

SDL_HINT_AUDIO_DISK_INPUT_FILE: String

SDL_HINT_AUDIO_DISK_OUTPUT_FILE: String

SDL_HINT_AUDIO_DISK_TIMESCALE: String

SDL_HINT_AUDIO_INCLUDE_MONITORS: String

SDL_HINT_VIDEO_DRIVER: String

SDL_HINT_VIDEO_FORCE_EGL: String

SDL_HINT_VIDEO_SYNC_WINDOW_OPERATIONS: String

SDL_HINT_VIDEO_WAYLAND_MODE_SCALING: String

SDL_HINT_VIDEO_WAYLAND_SCALE_BUFFER: String

SDL_HINT_RENDER_DRIVER: String

SDL_HINT_RENDER_VSYNC: String

SDL_HINT_RENDER_GPU_DEBUG: String

SDL_HINT_RENDER_GPU_LOW_POWER: String

SDL_HINT_RENDER_VULKAN_DEBUG: String

SDL_HINT_WINDOW_ALLOW_TOPMOST: String

SDL_HINT_WINDOW_ACTIVATE_WHEN_RAISED: String

SDL_HINT_WINDOW_ACTIVATE_WHEN_SHOWN: String

SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN: String

SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS: String

SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES: String

SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED: String

SDL_HINT_JOYSTICK_BLACKLIST_DEVICES: String

SDL_HINT_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED: String

SDL_HINT_JOYSTICK_DEVICE: String

SDL_HINT_JOYSTICK_DIRECTINPUT: String

SDL_HINT_JOYSTICK_ENHANCED_REPORTS: String

SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES: String

SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED: String

SDL_HINT_JOYSTICK_GAMEINPUT: String

SDL_HINT_JOYSTICK_HIDAPI: String

SDL_HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS: String

SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE: String

SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE: String

SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS: String

SDL_HINT_JOYSTICK_HIDAPI_LUNA: String

SDL_HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC: String

SDL_HINT_JOYSTICK_HIDAPI_PS3: String

SDL_HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER: String

SDL_HINT_JOYSTICK_HIDAPI_PS4: String

SDL_HINT_JOYSTICK_HIDAPI_PS5: String

SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED: String

SDL_HINT_JOYSTICK_HIDAPI_SHIELD: String

SDL_HINT_JOYSTICK_HIDAPI_STADIA: String

SDL_HINT_JOYSTICK_HIDAPI_STEAM: String

SDL_HINT_JOYSTICK_HIDAPI_STEAMDECK: String

SDL_HINT_JOYSTICK_HIDAPI_STEAM_HORI: String

SDL_HINT_JOYSTICK_HIDAPI_SWITCH: String

SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED: String

SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED: String

SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS: String

SDL_HINT_JOYSTICK_HIDAPI_WII: String

SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED: String

SDL_HINT_JOYSTICK_HIDAPI_XBOX: String

SDL_HINT_JOYSTICK_HIDAPI_XBOX_360: String

SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED: String

SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS: String

SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE: String

SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED: String

SDL_HINT_JOYSTICK_IOKIT: String

SDL_HINT_JOYSTICK_LINUX_CLASSIC: String

SDL_HINT_JOYSTICK_LINUX_DEADZONES: String

SDL_HINT_JOYSTICK_LINUX_DIGITAL_HATS: String

SDL_HINT_JOYSTICK_LINUX_HAT_DEADZONES: String

SDL_HINT_JOYSTICK_MFI: String

SDL_HINT_JOYSTICK_RAWINPUT: String

SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT: String

SDL_HINT_JOYSTICK_ROG_CHAKRAM: String

SDL_HINT_JOYSTICK_THREAD: String

SDL_HINT_JOYSTICK_THROTTLE_DEVICES: String

SDL_HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED: String

SDL_HINT_JOYSTICK_WHEEL_DEVICES: String

SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED: String

SDL_HINT_JOYSTICK_WGI: String

SDL_HINT_JOYSTICK_ZERO_CENTERED_DEVICES: String

SDL_HINT_GAMECONTROLLERCONFIG: String

SDL_HINT_GAMECONTROLLERCONFIG_FILE: String

SDL_HINT_GAMECONTROLLERTYPE: String

SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES: String

SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT: String

SDL_HINT_MOUSE_AUTO_CAPTURE: String

SDL_HINT_MOUSE_DEFAULT_SYSTEM_CURSOR: String

SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS: String

SDL_HINT_MOUSE_DOUBLE_CLICK_TIME: String

SDL_HINT_MOUSE_EMULATE_WARP_WITH_RELATIVE: String

SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH: String

SDL_HINT_MOUSE_NORMAL_SPEED_SCALE: String

SDL_HINT_MOUSE_RELATIVE_CURSOR_VISIBLE: String

SDL_HINT_MOUSE_RELATIVE_MODE_CENTER: String

SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE: String

SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE: String

SDL_HINT_MOUSE_RELATIVE_WM_MOTION: String

SDL_HINT_MOUSE_TOUCH_EVENTS: String

SDL_HINT_KEYCODE_OPTIONS: String

SDL_HINT_MUTE_CONSOLE_KEYBOARD: String

SDL_HINT_TOUCH_MOUSE_EVENTS: String

SDL_HINT_ANDROID_ALLOW_RECREATE_ACTIVITY: String

SDL_HINT_ANDROID_BLOCK_ON_PAUSE: String

SDL_HINT_ANDROID_LOW_LATENCY_AUDIO: String

SDL_HINT_ANDROID_TRAP_BACK_BUTTON: String

SDL_HINT_IOS_HIDE_HOME_INDICATOR: String

SDL_HINT_IOS_HIDE_MOUSE_CURSOR: String

SDL_HINT_IOS_HIDE_OTHER_APPS: String

SDL_HINT_IOS_SCREEN_REFRESH_RATE: String

SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS: String

SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION: String

SDL_HINT_MAC_BACKGROUND_APP: String

SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK: String

SDL_HINT_MAC_OPTION_AS_ALT: String

SDL_HINT_WINDOWS_CLOSE_ON_ALT_F4: String

SDL_HINT_WINDOWS_ENABLE_MENU_MNEMONICS: String

SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP: String

SDL_HINT_WINDOWS_GAMEINPUT: String

SDL_HINT_WINDOWS_RAW_KEYBOARD: String

SDL_HINT_WINDOWS_USE_D3D9EX: String

SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT: String

SDL_HINT_GDK_TEXTINPUT_DESCRIPTION: String

SDL_HINT_GDK_TEXTINPUT_MAX_LENGTH: String

SDL_HINT_GDK_TEXTINPUT_SCOPE: String

SDL_HINT_GDK_TEXTINPUT_TITLE: String

SDL_HINT_XINPUT_ENABLED: String

SDL_HINT_IME_IMPLEMENTED_UI: String

SDL_HINT_APP_ID: String

SDL_HINT_APP_NAME: String

SDL_HINT_AUTO_UPDATE_JOYSTICKS: String

SDL_HINT_AUTO_UPDATE_SENSORS: String

SDL_HINT_BMP_SAVE_LEGACY_FORMAT: String

SDL_HINT_CPU_FEATURE_MASK: String

SDL_HINT_DISPLAY_USABLE_BOUNDS: String

SDL_HINT_EMSCRIPTEN_CANVAS_SELECTOR: String

SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT: String

SDL_HINT_ENABLE_SCREEN_KEYBOARD: String

SDL_HINT_EVDEV_DEVICES: String

SDL_HINT_EVENT_LOGGING: String

SDL_HINT_FILE_DIALOG_DRIVER: String

SDL_HINT_FORCE_RAISEWINDOW: String

SDL_HINT_FRAMEBUFFER_ACCELERATION: String

SDL_HINT_HIDAPI_LIBUSB: String

SDL_HINT_HIDAPI_LIBUSB_WHITELIST: String

SDL_HINT_HIDAPI_UDEV: String

SDL_HINT_HIDAPI_IGNORE_DEVICES: String

SDL_HINT_KMSDRM_DEVICE_INDEX: String

SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER: String

SDL_HINT_LOGGING: String

SDL_HINT_MAIN_CALLBACK_RATE: String

SDL_HINT_NO_SIGNAL_HANDLERS: String

SDL_HINT_OPENGL_LIBRARY: String

SDL_HINT_EGL_LIBRARY: String

SDL_HINT_OPENGL_ES_DRIVER: String

SDL_HINT_ORIENTATIONS: String

SDL_HINT_PREFERRED_LOCALES: String

SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE: String

SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME: String

SDL_HINT_SHUTDOWN_DBUS_ON_QUIT: String

SDL_HINT_TIMER_RESOLUTION: String

SDL_HINT_TRACKPAD_IS_TOUCH_ONLY: String

SDL_HINT_TV_REMOTE_AS_JOYSTICK: String

SDL_HINT_VULKAN_LIBRARY: String

SDL_HINT_X11_FORCE_OVERRIDE_REDIRECT: String

SDL_HINT_X11_HIDE_MOUSE_CURSOR: String

SDL_HINT_X11_WINDOW_TYPE: String

bind(): Void

init(): Bool
Returns
Bool

quit(): Void

setHint(name: String, value: String): Bool
Name Type
name String
value String
Returns
Bool

setLCNumericCLocale(): Void

initSubSystem(flags: cpp.UInt32): Bool
Name Type
flags cpp.UInt32
Returns
Bool

quitSubSystem(flags: cpp.UInt32): Void
Name Type
flags cpp.UInt32

setVideoDriver(driver: String): Bool
Name Type
driver String
Returns
Bool

getError(): String
Returns
String

createWindow(title: String, x: Int, y: Int, width: Int, height: Int, flags: SDLWindowFlags): SDLWindowPointer
Name Type
title String
x Int
y Int
width Int
height Int
flags SDLWindowFlags
Returns
SDLWindowPointer

getWindowID(window: SDLWindowPointer): SDLWindowID
Name Type
window SDLWindowPointer
Returns
SDLWindowID

setWindowTitle(window: SDLWindowPointer, title: String): Void
Name Type
window SDLWindowPointer
title String

setWindowBordered(window: SDLWindowPointer, bordered: Bool): Void
Name Type
window SDLWindowPointer
bordered Bool

setWindowFullscreenMode(window: SDLWindowPointer, mode: SDLDisplayModeConstPointer): Bool
Name Type
window SDLWindowPointer
mode SDLDisplayModeConstPointer
Returns
Bool

setWindowFullscreen(window: SDLWindowPointer, fullscreen: Bool): Bool
Name Type
window SDLWindowPointer
fullscreen Bool
Returns
Bool

setWindowFullscreenSpace(window: SDLWindowPointer, state: Bool): Bool
Name Type
window SDLWindowPointer
state Bool
Returns
Bool

isWindowInFullscreenSpace(window: SDLWindowPointer): Bool
Name Type
window SDLWindowPointer
Returns
Bool

getWindowSize(window: SDLWindowPointer, size: SDLSize): Bool
Name Type
window SDLWindowPointer
size SDLSize
Returns
Bool

getWindowSizeInPixels(window: SDLWindowPointer, size: SDLSize): Bool
Name Type
window SDLWindowPointer
size SDLSize
Returns
Bool

getWindowPosition(window: SDLWindowPointer, position: SDLPoint): Bool
Name Type
window SDLWindowPointer
position SDLPoint
Returns
Bool

getWindowFullscreenMode(window: SDLWindowPointer): SDLDisplayModeConstPointer
Name Type
window SDLWindowPointer
Returns
SDLDisplayModeConstPointer

getDesktopDisplayMode(displayID: SDLDisplayID): SDLDisplayModeConstPointer
Name Type
displayID SDLDisplayID
Returns
SDLDisplayModeConstPointer

getPrimaryDisplay(): SDLDisplayID
Returns
SDLDisplayID

getDisplayForWindow(window: SDLWindowPointer): SDLDisplayID
Name Type
window SDLWindowPointer
Returns
SDLDisplayID

getWindowFlags(window: SDLWindowPointer): SDLWindowFlags
Name Type
window SDLWindowPointer
Returns
SDLWindowFlags

GL_SetAttribute(attr: Int, value: Int): Bool
Name Type
attr Int
value Int
Returns
Bool

GL_CreateContext(window: SDLWindowPointer): SDLGLContext
Name Type
window SDLWindowPointer
Returns
SDLGLContext

GL_GetCurrentContext(): SDLGLContext
Returns
SDLGLContext

GL_GetAttribute(attr: Int): Int
Name Type
attr Int
Returns
Int

GL_MakeCurrent(window: SDLWindowPointer, context: SDLGLContext): Bool
Name Type
window SDLWindowPointer
context SDLGLContext
Returns
Bool

GL_SwapWindow(window: SDLWindowPointer): Bool
Name Type
window SDLWindowPointer
Returns
Bool

GL_SetSwapInterval(interval: Int): Bool
Name Type
interval Int
Returns
Bool

GL_DestroyContext(context: SDLGLContext): Void
Name Type
context SDLGLContext

getTicks(): cpp.UInt64
Returns
cpp.UInt64

delay(ms: cpp.UInt32): Void
Name Type
ms cpp.UInt32

pollEvent(event: SDLEventPointer): Bool
Name Type
event SDLEventPointer
Returns
Bool

pumpEvents(): Void

getNumJoysticks(): Int
Returns
Int

isGamepad(instance_id: SDLJoystickID): Bool
Name Type
instance_id SDLJoystickID
Returns
Bool

openJoystick(instance_id: SDLJoystickID): SDLJoystickPointer
Name Type
instance_id SDLJoystickID
Returns
SDLJoystickPointer

closeJoystick(joystick: SDLJoystickPointer): Void
Name Type
joystick SDLJoystickPointer

openGamepad(instance_id: SDLJoystickID): SDLGamepadPointer
Name Type
instance_id SDLJoystickID
Returns
SDLGamepadPointer

closeGamepad(gamepad: SDLGamepadPointer): Void
Name Type
gamepad SDLGamepadPointer

getGamepadNameForID(instance_id: SDLJoystickID): String
Name Type
instance_id SDLJoystickID
Returns
String

getJoystickNameForID(instance_id: SDLJoystickID): String
Name Type
instance_id SDLJoystickID
Returns
String

gamepadHasRumble(gamepad: SDLGamepadPointer): Bool
Name Type
gamepad SDLGamepadPointer
Returns
Bool

rumbleGamepad(gamepad: SDLGamepadPointer, low_frequency_rumble: cpp.UInt16, high_frequency_rumble: cpp.UInt16, duration_ms: cpp.UInt32): Bool
Name Type
gamepad SDLGamepadPointer
low_frequency_rumble cpp.UInt16
high_frequency_rumble cpp.UInt16
duration_ms cpp.UInt32
Returns
Bool

setGamepadSensorEnabled(gamepad: SDLGamepadPointer, type: Int, enabled: Bool): Bool
Name Type
gamepad SDLGamepadPointer
type Int
enabled Bool
Returns
Bool

getJoystickID(joystick: SDLJoystickPointer): SDLJoystickID
Name Type
joystick SDLJoystickPointer
Returns
SDLJoystickID

setEventWatch(window: SDLWindowPointer, eventWatcher: Function): Bool
Name Type
window SDLWindowPointer
eventWatcher Function
Returns
Bool

getDisplayContentScale(displayID: SDLDisplayID): Float
Name Type
displayID SDLDisplayID
Returns
Float

getDisplayUsableBounds(displayID: SDLDisplayID, rect: SDLRect): Void
Name Type
displayID SDLDisplayID
rect SDLRect

getBasePath(): String
Returns
String

startTextInput(window: SDLWindowPointer): Void
Name Type
window SDLWindowPointer

stopTextInput(window: SDLWindowPointer): Void
Name Type
window SDLWindowPointer

setTextInputArea(window: SDLWindowPointer, rect: SDLRect, cursor: Int): Void
Name Type
window SDLWindowPointer
rect SDLRect
cursor Int

ioFromFile(file: String, mode: String): SDLIOStreamPointer
Name Type
file String
mode String
Returns
SDLIOStreamPointer

ioFromMem(mem: haxe.io.BytesData, size: Int): SDLIOStreamPointer
Name Type
mem haxe.io.BytesData
size Int
Returns
SDLIOStreamPointer

ioRead(context: SDLIOStreamPointer, dest: haxe.io.BytesData, size: Int): Int
Name Type
context SDLIOStreamPointer
dest haxe.io.BytesData
size Int
Returns
Int

ioWrite(context: SDLIOStreamPointer, src: haxe.io.BytesData, size: Int): Int
Name Type
context SDLIOStreamPointer
src haxe.io.BytesData
size Int
Returns
Int

ioSeek(context: SDLIOStreamPointer, offset: Int, whence: Int): Int
Name Type
context SDLIOStreamPointer
offset Int
whence Int
Returns
Int

ioTell(context: SDLIOStreamPointer): Int
Name Type
context SDLIOStreamPointer
Returns
Int

ioClose(context: SDLIOStreamPointer): Bool
Name Type
context SDLIOStreamPointer
Returns
Bool

getPrefPath(org: String, app: String): String
Name Type
org String
app String
Returns
String

hasClipboardText(): Bool
Returns
Bool

getClipboardText(): String
Returns
String

setClipboardText(text: String): Bool
Name Type
text String
Returns
Bool

byteOrderIsBigEndian(): Bool
Returns
Bool

createRGBSurfaceFrom(pixels: haxe.io.BytesData, width: Int, height: Int, depth: Int, pitch: Int, rmask: cpp.UInt32, gmask: cpp.UInt32, bmask: cpp.UInt32, amask: cpp.UInt32): SDLSurfacePointer
Name Type
pixels haxe.io.BytesData
width Int
height Int
depth Int
pitch Int
rmask cpp.UInt32
gmask cpp.UInt32
bmask cpp.UInt32
amask cpp.UInt32
Returns
SDLSurfacePointer

freeSurface(surface: SDLSurfacePointer): Void
Name Type
surface SDLSurfacePointer

Private Members

eventWatcher(event: cpp.UInt32): Void
Name Type
event cpp.UInt32

handleEventWatch(e: SDLEvent): Int
Name Type
e SDLEvent
Returns
Int