Versions in this module Expand all Collapse all v1 v1.0.7 Jul 13, 2020 v1.0.6 Apr 26, 2020 v1.0.5 Apr 26, 2020 v1.0.4 Feb 26, 2020 v1.0.3 Feb 26, 2020 v1.0.2 Feb 26, 2020 v1.0.1 Feb 26, 2020 v1.0.0 Feb 26, 2020 Changes in this version + const ADDEVENT + const ALPHA_OPAQUE + const ALPHA_TRANSPARENT + const APP_DIDENTERBACKGROUND + const APP_DIDENTERFOREGROUND + const APP_LOWMEMORY + const APP_TERMINATING + const APP_WILLENTERBACKGROUND + const APP_WILLENTERFOREGROUND + const ARRAYORDER_ABGR + const ARRAYORDER_ARGB + const ARRAYORDER_BGR + const ARRAYORDER_BGRA + const ARRAYORDER_NONE + const ARRAYORDER_RGB + const ARRAYORDER_RGBA + const AUDIODEVICEADDED + const AUDIODEVICEREMOVED + const AUDIO_ALLOW_ANY_CHANGE + const AUDIO_ALLOW_CHANNELS_CHANGE + const AUDIO_ALLOW_FORMAT_CHANGE + const AUDIO_ALLOW_FREQUENCY_CHANGE + const AUDIO_F32 + const AUDIO_F32LSB + const AUDIO_F32MSB + const AUDIO_F32SYS + const AUDIO_MASK_BITSIZE + const AUDIO_MASK_DATATYPE + const AUDIO_MASK_ENDIAN + const AUDIO_MASK_SIGNED + const AUDIO_PAUSED + const AUDIO_PLAYING + const AUDIO_S16 + const AUDIO_S16LSB + const AUDIO_S16MSB + const AUDIO_S16SYS + const AUDIO_S32 + const AUDIO_S32LSB + const AUDIO_S32MSB + const AUDIO_S32SYS + const AUDIO_S8 + const AUDIO_STOPPED + const AUDIO_U16 + const AUDIO_U16LSB + const AUDIO_U16MSB + const AUDIO_U16SYS + const AUDIO_U8 + const BIG_ENDIAN + const BITMAPORDER_1234 + const BITMAPORDER_4321 + const BITMAPORDER_NONE + const BLENDFACTOR_DST_ALPHA + const BLENDFACTOR_DST_COLOR + const BLENDFACTOR_ONE + const BLENDFACTOR_ONE_MINUS_DST_ALPHA + const BLENDFACTOR_ONE_MINUS_DST_COLOR + const BLENDFACTOR_ONE_MINUS_SRC_ALPHA + const BLENDFACTOR_ONE_MINUS_SRC_COLOR + const BLENDFACTOR_SRC_ALPHA + const BLENDFACTOR_SRC_COLOR + const BLENDFACTOR_ZERO + const BLENDMODE_ADD + const BLENDMODE_BLEND + const BLENDMODE_INVALID + const BLENDMODE_MOD + const BLENDMODE_NONE + const BLENDOPERATION_ADD + const BLENDOPERATION_MAXIMUM + const BLENDOPERATION_MINIMUM + const BLENDOPERATION_REV_SUBTRACT + const BLENDOPERATION_SUBTRACT + const BUTTON_LEFT + const BUTTON_MIDDLE + const BUTTON_RIGHT + const BUTTON_X1 + const BUTTON_X2 + const BYTEORDER + const CACHELINE_SIZE + const CLIPBOARDUPDATE + const CONTROLLERAXISMOTION + const CONTROLLERBUTTONDOWN + const CONTROLLERBUTTONUP + const CONTROLLERDEVICEADDED + const CONTROLLERDEVICEREMAPPED + const CONTROLLERDEVICEREMOVED + const CONTROLLER_AXIS_INVALID + const CONTROLLER_AXIS_LEFTX + const CONTROLLER_AXIS_LEFTY + const CONTROLLER_AXIS_MAX + const CONTROLLER_AXIS_RIGHTX + const CONTROLLER_AXIS_RIGHTY + const CONTROLLER_AXIS_TRIGGERLEFT + const CONTROLLER_AXIS_TRIGGERRIGHT + const CONTROLLER_BINDTYPE_AXIS + const CONTROLLER_BINDTYPE_BUTTON + const CONTROLLER_BINDTYPE_HAT + const CONTROLLER_BINDTYPE_NONE + const CONTROLLER_BUTTON_A + const CONTROLLER_BUTTON_B + const CONTROLLER_BUTTON_BACK + const CONTROLLER_BUTTON_DPAD_DOWN + const CONTROLLER_BUTTON_DPAD_LEFT + const CONTROLLER_BUTTON_DPAD_RIGHT + const CONTROLLER_BUTTON_DPAD_UP + const CONTROLLER_BUTTON_GUIDE + const CONTROLLER_BUTTON_INVALID + const CONTROLLER_BUTTON_LEFTSHOULDER + const CONTROLLER_BUTTON_LEFTSTICK + const CONTROLLER_BUTTON_MAX + const CONTROLLER_BUTTON_RIGHTSHOULDER + const CONTROLLER_BUTTON_RIGHTSTICK + const CONTROLLER_BUTTON_START + const CONTROLLER_BUTTON_X + const CONTROLLER_BUTTON_Y + const DISABLE + const DOLLARGESTURE + const DOLLARRECORD + const DONTFREE + const DROPBEGIN + const DROPCOMPLETE + const DROPFILE + const DROPTEXT + const EFREAD + const EFSEEK + const EFWRITE + const ENABLE + const ENOMEM + const FINGERDOWN + const FINGERMOTION + const FINGERUP + const FIRSTEVENT + const FLIP_HORIZONTAL + const FLIP_NONE + const FLIP_VERTICAL + const GETEVENT + const GL_ACCELERATED_VISUAL + const GL_ACCUM_ALPHA_SIZE + const GL_ACCUM_BLUE_SIZE + const GL_ACCUM_GREEN_SIZE + const GL_ACCUM_RED_SIZE + const GL_ALPHA_SIZE + const GL_BLUE_SIZE + const GL_BUFFER_SIZE + const GL_CONTEXT_DEBUG_FLAG + const GL_CONTEXT_EGL + const GL_CONTEXT_FLAGS + const GL_CONTEXT_FORWARD_COMPATIBLE_FLAG + const GL_CONTEXT_MAJOR_VERSION + const GL_CONTEXT_MINOR_VERSION + const GL_CONTEXT_NO_ERROR + const GL_CONTEXT_PROFILE_COMPATIBILITY + const GL_CONTEXT_PROFILE_CORE + const GL_CONTEXT_PROFILE_ES + const GL_CONTEXT_PROFILE_MASK + const GL_CONTEXT_RELEASE_BEHAVIOR + const GL_CONTEXT_RESET_ISOLATION_FLAG + const GL_CONTEXT_RESET_NOTIFICATION + const GL_CONTEXT_ROBUST_ACCESS_FLAG + const GL_DEPTH_SIZE + const GL_DOUBLEBUFFER + const GL_FRAMEBUFFER_SRGB_CAPABLE + const GL_GREEN_SIZE + const GL_MULTISAMPLEBUFFERS + const GL_MULTISAMPLESAMPLES + const GL_RED_SIZE + const GL_RETAINED_BACKING + const GL_SHARE_WITH_CURRENT_CONTEXT + const GL_STENCIL_SIZE + const GL_STEREO + const HAPTIC_AUTOCENTER + const HAPTIC_CARTESIAN + const HAPTIC_CONSTANT + const HAPTIC_CUSTOM + const HAPTIC_DAMPER + const HAPTIC_FRICTION + const HAPTIC_GAIN + const HAPTIC_INERTIA + const HAPTIC_INFINITY + const HAPTIC_LEFTRIGHT + const HAPTIC_PAUSE + const HAPTIC_POLAR + const HAPTIC_RAMP + const HAPTIC_SAWTOOTHDOWN + const HAPTIC_SAWTOOTHUP + const HAPTIC_SINE + const HAPTIC_SPHERICAL + const HAPTIC_SPRING + const HAPTIC_STATUS + const HAPTIC_TRIANGLE + const HAT_CENTERED + const HAT_DOWN + const HAT_LEFT + const HAT_LEFTDOWN + const HAT_LEFTUP + const HAT_RIGHT + const HAT_RIGHTDOWN + const HAT_RIGHTUP + const HAT_UP + const HINT_ACCELEROMETER_AS_JOYSTICK + const HINT_ALLOW_TOPMOST + const HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION + const HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION + const HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH + const HINT_AUDIO_RESAMPLING_MODE + const HINT_DEFAULT + const HINT_FRAMEBUFFER_ACCELERATION + const HINT_GAMECONTROLLERCONFIG + const HINT_GRAB_KEYBOARD + const HINT_IDLE_TIMER_DISABLED + const HINT_IME_INTERNAL_EDITING + const HINT_IOS_HIDE_HOME_INDICATOR + const HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS + const HINT_MAC_BACKGROUND_APP + const HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK + const HINT_MOUSE_NORMAL_SPEED_SCALE + const HINT_MOUSE_RELATIVE_MODE_WARP + const HINT_MOUSE_RELATIVE_SPEED_SCALE + const HINT_NORMAL + const HINT_NO_SIGNAL_HANDLERS + const HINT_ORIENTATIONS + const HINT_OVERRIDE + const HINT_RENDER_DIRECT3D11_DEBUG + const HINT_RENDER_DIRECT3D_THREADSAFE + const HINT_RENDER_DRIVER + const HINT_RENDER_LOGICAL_SIZE_MODE + const HINT_RENDER_OPENGL_SHADERS + const HINT_RENDER_SCALE_QUALITY + const HINT_RENDER_VSYNC + const HINT_RETURN_KEY_HIDES_IME + const HINT_THREAD_STACK_SIZE + const HINT_TIMER_RESOLUTION + const HINT_TOUCH_MOUSE_EVENTS + const HINT_TV_REMOTE_AS_JOYSTICK + const HINT_VIDEO_ALLOW_SCREENSAVER + const HINT_VIDEO_DOUBLE_BUFFER + const HINT_VIDEO_HIGHDPI_DISABLED + const HINT_VIDEO_MAC_FULLSCREEN_SPACES + const HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS + const HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT + const HINT_VIDEO_WIN_D3DCOMPILER + const HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR + const HINT_VIDEO_X11_NET_WM_PING + const HINT_VIDEO_X11_XINERAMA + const HINT_VIDEO_X11_XRANDR + const HINT_VIDEO_X11_XVIDMODE + const HINT_WINDOWS_ENABLE_MESSAGELOOP + const HINT_WINDOWS_INTRESOURCE_ICON + const HINT_WINDOWS_INTRESOURCE_ICON_SMALL + const HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 + const HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN + const HINT_WINRT_HANDLE_BACK_BUTTON + const HINT_WINRT_PRIVACY_POLICY_LABEL + const HINT_WINRT_PRIVACY_POLICY_URL + const HINT_XINPUT_ENABLED + const HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING + const IGNORE + const INIT_AUDIO + const INIT_EVENTS + const INIT_EVERYTHING + const INIT_GAMECONTROLLER + const INIT_HAPTIC + const INIT_JOYSTICK + const INIT_NOPARACHUTE + const INIT_SENSOR + const INIT_TIMER + const INIT_VIDEO + const JOYAXISMOTION + const JOYBALLMOTION + const JOYBUTTONDOWN + const JOYBUTTONUP + const JOYDEVICEADDED + const JOYDEVICEREMOVED + const JOYHATMOTION + const JOYSTICK_POWER_EMPTY + const JOYSTICK_POWER_FULL + const JOYSTICK_POWER_LOW + const JOYSTICK_POWER_MAX + const JOYSTICK_POWER_MEDIUM + const JOYSTICK_POWER_UNKNOWN + const JOYSTICK_POWER_WIRED + const JOYSTICK_TYPE_ARCADE_PAD + const JOYSTICK_TYPE_ARCADE_STICK + const JOYSTICK_TYPE_DANCE_PAD + const JOYSTICK_TYPE_DRUM_KIT + const JOYSTICK_TYPE_FLIGHT_STICK + const JOYSTICK_TYPE_GAMECONTROLLER + const JOYSTICK_TYPE_GUITAR + const JOYSTICK_TYPE_THROTTLE + const JOYSTICK_TYPE_UNKNOWN + const JOYSTICK_TYPE_WHEEL + const KEYDOWN + const KEYMAPCHANGED + const KEYUP + const KMOD_ALT + const KMOD_CAPS + const KMOD_CTRL + const KMOD_GUI + const KMOD_LALT + const KMOD_LCTRL + const KMOD_LGUI + const KMOD_LSHIFT + const KMOD_MODE + const KMOD_NONE + const KMOD_NUM + const KMOD_RALT + const KMOD_RCTRL + const KMOD_RESERVED + const KMOD_RGUI + const KMOD_RSHIFT + const KMOD_SHIFT + const K_0 + const K_1 + const K_2 + const K_3 + const K_4 + const K_5 + const K_6 + const K_7 + const K_8 + const K_9 + const K_AC_BACK + const K_AC_BOOKMARKS + const K_AC_FORWARD + const K_AC_HOME + const K_AC_REFRESH + const K_AC_SEARCH + const K_AC_STOP + const K_AGAIN + const K_ALTERASE + const K_AMPERSAND + const K_APPLICATION + const K_ASTERISK + const K_AT + const K_AUDIOMUTE + const K_AUDIONEXT + const K_AUDIOPLAY + const K_AUDIOPREV + const K_AUDIOSTOP + const K_BACKQUOTE + const K_BACKSLASH + const K_BACKSPACE + const K_BRIGHTNESSDOWN + const K_BRIGHTNESSUP + const K_CALCULATOR + const K_CANCEL + const K_CAPSLOCK + const K_CARET + const K_CLEAR + const K_CLEARAGAIN + const K_COLON + const K_COMMA + const K_COMPUTER + const K_COPY + const K_CRSEL + const K_CURRENCYSUBUNIT + const K_CURRENCYUNIT + const K_CUT + const K_DECIMALSEPARATOR + const K_DELETE + const K_DISPLAYSWITCH + const K_DOLLAR + const K_DOWN + const K_EJECT + const K_END + const K_EQUALS + const K_ESCAPE + const K_EXCLAIM + const K_EXECUTE + const K_EXSEL + const K_F1 + const K_F10 + const K_F11 + const K_F12 + const K_F13 + const K_F14 + const K_F15 + const K_F16 + const K_F17 + const K_F18 + const K_F19 + const K_F2 + const K_F20 + const K_F21 + const K_F22 + const K_F23 + const K_F24 + const K_F3 + const K_F4 + const K_F5 + const K_F6 + const K_F7 + const K_F8 + const K_F9 + const K_FIND + const K_GREATER + const K_HASH + const K_HELP + const K_HOME + const K_INSERT + const K_KBDILLUMDOWN + const K_KBDILLUMTOGGLE + const K_KBDILLUMUP + const K_KP_0 + const K_KP_00 + const K_KP_000 + const K_KP_1 + const K_KP_2 + const K_KP_3 + const K_KP_4 + const K_KP_5 + const K_KP_6 + const K_KP_7 + const K_KP_8 + const K_KP_9 + const K_KP_A + const K_KP_AMPERSAND + const K_KP_AT + const K_KP_B + const K_KP_BACKSPACE + const K_KP_BINARY + const K_KP_C + const K_KP_CLEAR + const K_KP_CLEARENTRY + const K_KP_COLON + const K_KP_COMMA + const K_KP_D + const K_KP_DBLAMPERSAND + const K_KP_DBLVERTICALBAR + const K_KP_DECIMAL + const K_KP_DIVIDE + const K_KP_E + const K_KP_ENTER + const K_KP_EQUALS + const K_KP_EQUALSAS400 + const K_KP_EXCLAM + const K_KP_F + const K_KP_GREATER + const K_KP_HASH + const K_KP_HEXADECIMAL + const K_KP_LEFTBRACE + const K_KP_LEFTPAREN + const K_KP_LESS + const K_KP_MEMADD + const K_KP_MEMCLEAR + const K_KP_MEMDIVIDE + const K_KP_MEMMULTIPLY + const K_KP_MEMRECALL + const K_KP_MEMSTORE + const K_KP_MEMSUBTRACT + const K_KP_MINUS + const K_KP_MULTIPLY + const K_KP_OCTAL + const K_KP_PERCENT + const K_KP_PERIOD + const K_KP_PLUS + const K_KP_PLUSMINUS + const K_KP_POWER + const K_KP_RIGHTBRACE + const K_KP_RIGHTPAREN + const K_KP_SPACE + const K_KP_TAB + const K_KP_VERTICALBAR + const K_KP_XOR + const K_LALT + const K_LCTRL + const K_LEFT + const K_LEFTBRACKET + const K_LEFTPAREN + const K_LESS + const K_LGUI + const K_LSHIFT + const K_MAIL + const K_MEDIASELECT + const K_MENU + const K_MINUS + const K_MODE + const K_MUTE + const K_NUMLOCKCLEAR + const K_OPER + const K_OUT + const K_PAGEDOWN + const K_PAGEUP + const K_PASTE + const K_PAUSE + const K_PERCENT + const K_PERIOD + const K_PLUS + const K_POWER + const K_PRINTSCREEN + const K_PRIOR + const K_QUESTION + const K_QUOTE + const K_QUOTEDBL + const K_RALT + const K_RCTRL + const K_RETURN + const K_RETURN2 + const K_RGUI + const K_RIGHT + const K_RIGHTBRACKET + const K_RIGHTPAREN + const K_RSHIFT + const K_SCANCODE_MASK + const K_SCROLLLOCK + const K_SELECT + const K_SEMICOLON + const K_SEPARATOR + const K_SLASH + const K_SLEEP + const K_SPACE + const K_STOP + const K_SYSREQ + const K_TAB + const K_THOUSANDSSEPARATOR + const K_UNDERSCORE + const K_UNDO + const K_UNKNOWN + const K_UP + const K_VOLUMEDOWN + const K_VOLUMEUP + const K_WWW + const K_a + const K_b + const K_c + const K_d + const K_e + const K_f + const K_g + const K_h + const K_i + const K_j + const K_k + const K_l + const K_m + const K_n + const K_o + const K_p + const K_q + const K_r + const K_s + const K_t + const K_u + const K_v + const K_w + const K_x + const K_y + const K_z + const LASTERROR + const LASTEVENT + const LIL_ENDIAN + const LOG_CATEGORY_APPLICATION + const LOG_CATEGORY_ASSERT + const LOG_CATEGORY_AUDIO + const LOG_CATEGORY_CUSTOM + const LOG_CATEGORY_ERROR + const LOG_CATEGORY_INPUT + const LOG_CATEGORY_RENDER + const LOG_CATEGORY_RESERVED1 + const LOG_CATEGORY_RESERVED10 + const LOG_CATEGORY_RESERVED2 + const LOG_CATEGORY_RESERVED3 + const LOG_CATEGORY_RESERVED4 + const LOG_CATEGORY_RESERVED5 + const LOG_CATEGORY_RESERVED6 + const LOG_CATEGORY_RESERVED7 + const LOG_CATEGORY_RESERVED8 + const LOG_CATEGORY_RESERVED9 + const LOG_CATEGORY_SYSTEM + const LOG_CATEGORY_TEST + const LOG_CATEGORY_VIDEO + const LOG_PRIORITY_CRITICAL + const LOG_PRIORITY_DEBUG + const LOG_PRIORITY_ERROR + const LOG_PRIORITY_INFO + const LOG_PRIORITY_VERBOSE + const LOG_PRIORITY_WARN + const MAJOR_VERSION + const MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT + const MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT + const MESSAGEBOX_ERROR + const MESSAGEBOX_INFORMATION + const MESSAGEBOX_WARNING + const MINOR_VERSION + const MIX_MAXVOLUME + const MOUSEBUTTONDOWN + const MOUSEBUTTONUP + const MOUSEMOTION + const MOUSEWHEEL + const MOUSEWHEEL_FLIPPED + const MOUSEWHEEL_NORMAL + const MULTIGESTURE + const NUM_LOG_PRIORITIES + const NUM_SCANCODES + const NUM_SYSTEM_CURSORS + const PACKEDLAYOUT_1010102 + const PACKEDLAYOUT_1555 + const PACKEDLAYOUT_2101010 + const PACKEDLAYOUT_332 + const PACKEDLAYOUT_4444 + const PACKEDLAYOUT_5551 + const PACKEDLAYOUT_565 + const PACKEDLAYOUT_8888 + const PACKEDLAYOUT_NONE + const PACKEDORDER_ABGR + const PACKEDORDER_ARGB + const PACKEDORDER_BGRA + const PACKEDORDER_BGRX + const PACKEDORDER_NONE + const PACKEDORDER_RGBA + const PACKEDORDER_RGBX + const PACKEDORDER_XBGR + const PACKEDORDER_XRGB + const PATCHLEVEL + const PEEKEVENT + const PIXELFORMAT_ABGR1555 + const PIXELFORMAT_ABGR4444 + const PIXELFORMAT_ABGR8888 + const PIXELFORMAT_ARGB1555 + const PIXELFORMAT_ARGB2101010 + const PIXELFORMAT_ARGB4444 + const PIXELFORMAT_ARGB8888 + const PIXELFORMAT_BGR24 + const PIXELFORMAT_BGR555 + const PIXELFORMAT_BGR565 + const PIXELFORMAT_BGR888 + const PIXELFORMAT_BGRA4444 + const PIXELFORMAT_BGRA5551 + const PIXELFORMAT_BGRA8888 + const PIXELFORMAT_BGRX8888 + const PIXELFORMAT_INDEX1LSB + const PIXELFORMAT_INDEX1MSB + const PIXELFORMAT_INDEX4LSB + const PIXELFORMAT_INDEX4MSB + const PIXELFORMAT_INDEX8 + const PIXELFORMAT_IYUV + const PIXELFORMAT_RGB24 + const PIXELFORMAT_RGB332 + const PIXELFORMAT_RGB444 + const PIXELFORMAT_RGB555 + const PIXELFORMAT_RGB565 + const PIXELFORMAT_RGB888 + const PIXELFORMAT_RGBA4444 + const PIXELFORMAT_RGBA5551 + const PIXELFORMAT_RGBA8888 + const PIXELFORMAT_RGBX8888 + const PIXELFORMAT_UNKNOWN + const PIXELFORMAT_UYVY + const PIXELFORMAT_YUY2 + const PIXELFORMAT_YV12 + const PIXELFORMAT_YVYU + const PIXELTYPE_ARRAYF16 + const PIXELTYPE_ARRAYF32 + const PIXELTYPE_ARRAYU16 + const PIXELTYPE_ARRAYU32 + const PIXELTYPE_ARRAYU8 + const PIXELTYPE_INDEX1 + const PIXELTYPE_INDEX4 + const PIXELTYPE_INDEX8 + const PIXELTYPE_PACKED16 + const PIXELTYPE_PACKED32 + const PIXELTYPE_PACKED8 + const PIXELTYPE_UNKNOWN + const POWERSTATE_CHARGED + const POWERSTATE_CHARGING + const POWERSTATE_NO_BATTERY + const POWERSTATE_ON_BATTERY + const POWERSTATE_UNKNOWN + const PREALLOC + const PRESSED + const QUERY + const QUIT + const RELEASED + const RENDERER_ACCELERATED + const RENDERER_PRESENTVSYNC + const RENDERER_SOFTWARE + const RENDERER_TARGETTEXTURE + const RENDER_DEVICE_RESET + const RENDER_TARGETS_RESET + const RLEACCEL + const RWOPS_JNIFILE + const RWOPS_MEMORY + const RWOPS_MEMORY_RO + const RWOPS_STDFILE + const RWOPS_UNKNOWN + const RWOPS_WINFILE + const RW_SEEK_CUR + const RW_SEEK_END + const RW_SEEK_SET + const SCANCODE_0 + const SCANCODE_1 + const SCANCODE_2 + const SCANCODE_3 + const SCANCODE_4 + const SCANCODE_5 + const SCANCODE_6 + const SCANCODE_7 + const SCANCODE_8 + const SCANCODE_9 + const SCANCODE_A + const SCANCODE_AC_BACK + const SCANCODE_AC_BOOKMARKS + const SCANCODE_AC_FORWARD + const SCANCODE_AC_HOME + const SCANCODE_AC_REFRESH + const SCANCODE_AC_SEARCH + const SCANCODE_AC_STOP + const SCANCODE_AGAIN + const SCANCODE_ALTERASE + const SCANCODE_APOSTROPHE + const SCANCODE_APP1 + const SCANCODE_APP2 + const SCANCODE_APPLICATION + const SCANCODE_AUDIOMUTE + const SCANCODE_AUDIONEXT + const SCANCODE_AUDIOPLAY + const SCANCODE_AUDIOPREV + const SCANCODE_AUDIOSTOP + const SCANCODE_B + const SCANCODE_BACKSLASH + const SCANCODE_BACKSPACE + const SCANCODE_BRIGHTNESSDOWN + const SCANCODE_BRIGHTNESSUP + const SCANCODE_C + const SCANCODE_CALCULATOR + const SCANCODE_CANCEL + const SCANCODE_CAPSLOCK + const SCANCODE_CLEAR + const SCANCODE_CLEARAGAIN + const SCANCODE_COMMA + const SCANCODE_COMPUTER + const SCANCODE_COPY + const SCANCODE_CRSEL + const SCANCODE_CURRENCYSUBUNIT + const SCANCODE_CURRENCYUNIT + const SCANCODE_CUT + const SCANCODE_D + const SCANCODE_DECIMALSEPARATOR + const SCANCODE_DELETE + const SCANCODE_DISPLAYSWITCH + const SCANCODE_DOWN + const SCANCODE_E + const SCANCODE_EJECT + const SCANCODE_END + const SCANCODE_EQUALS + const SCANCODE_ESCAPE + const SCANCODE_EXECUTE + const SCANCODE_EXSEL + const SCANCODE_F + const SCANCODE_F1 + const SCANCODE_F10 + const SCANCODE_F11 + const SCANCODE_F12 + const SCANCODE_F13 + const SCANCODE_F14 + const SCANCODE_F15 + const SCANCODE_F16 + const SCANCODE_F17 + const SCANCODE_F18 + const SCANCODE_F19 + const SCANCODE_F2 + const SCANCODE_F20 + const SCANCODE_F21 + const SCANCODE_F22 + const SCANCODE_F23 + const SCANCODE_F24 + const SCANCODE_F3 + const SCANCODE_F4 + const SCANCODE_F5 + const SCANCODE_F6 + const SCANCODE_F7 + const SCANCODE_F8 + const SCANCODE_F9 + const SCANCODE_FIND + const SCANCODE_G + const SCANCODE_GRAVE + const SCANCODE_H + const SCANCODE_HELP + const SCANCODE_HOME + const SCANCODE_I + const SCANCODE_INSERT + const SCANCODE_INTERNATIONAL1 + const SCANCODE_INTERNATIONAL2 + const SCANCODE_INTERNATIONAL3 + const SCANCODE_INTERNATIONAL4 + const SCANCODE_INTERNATIONAL5 + const SCANCODE_INTERNATIONAL6 + const SCANCODE_INTERNATIONAL7 + const SCANCODE_INTERNATIONAL8 + const SCANCODE_INTERNATIONAL9 + const SCANCODE_J + const SCANCODE_K + const SCANCODE_KBDILLUMDOWN + const SCANCODE_KBDILLUMTOGGLE + const SCANCODE_KBDILLUMUP + const SCANCODE_KP_0 + const SCANCODE_KP_00 + const SCANCODE_KP_000 + const SCANCODE_KP_1 + const SCANCODE_KP_2 + const SCANCODE_KP_3 + const SCANCODE_KP_4 + const SCANCODE_KP_5 + const SCANCODE_KP_6 + const SCANCODE_KP_7 + const SCANCODE_KP_8 + const SCANCODE_KP_9 + const SCANCODE_KP_A + const SCANCODE_KP_AMPERSAND + const SCANCODE_KP_AT + const SCANCODE_KP_B + const SCANCODE_KP_BACKSPACE + const SCANCODE_KP_BINARY + const SCANCODE_KP_C + const SCANCODE_KP_CLEAR + const SCANCODE_KP_CLEARENTRY + const SCANCODE_KP_COLON + const SCANCODE_KP_COMMA + const SCANCODE_KP_D + const SCANCODE_KP_DBLAMPERSAND + const SCANCODE_KP_DBLVERTICALBAR + const SCANCODE_KP_DECIMAL + const SCANCODE_KP_DIVIDE + const SCANCODE_KP_E + const SCANCODE_KP_ENTER + const SCANCODE_KP_EQUALS + const SCANCODE_KP_EQUALSAS400 + const SCANCODE_KP_EXCLAM + const SCANCODE_KP_F + const SCANCODE_KP_GREATER + const SCANCODE_KP_HASH + const SCANCODE_KP_HEXADECIMAL + const SCANCODE_KP_LEFTBRACE + const SCANCODE_KP_LEFTPAREN + const SCANCODE_KP_LESS + const SCANCODE_KP_MEMADD + const SCANCODE_KP_MEMCLEAR + const SCANCODE_KP_MEMDIVIDE + const SCANCODE_KP_MEMMULTIPLY + const SCANCODE_KP_MEMRECALL + const SCANCODE_KP_MEMSTORE + const SCANCODE_KP_MEMSUBTRACT + const SCANCODE_KP_MINUS + const SCANCODE_KP_MULTIPLY + const SCANCODE_KP_OCTAL + const SCANCODE_KP_PERCENT + const SCANCODE_KP_PERIOD + const SCANCODE_KP_PLUS + const SCANCODE_KP_PLUSMINUS + const SCANCODE_KP_POWER + const SCANCODE_KP_RIGHTBRACE + const SCANCODE_KP_RIGHTPAREN + const SCANCODE_KP_SPACE + const SCANCODE_KP_TAB + const SCANCODE_KP_VERTICALBAR + const SCANCODE_KP_XOR + const SCANCODE_L + const SCANCODE_LALT + const SCANCODE_LANG1 + const SCANCODE_LANG2 + const SCANCODE_LANG3 + const SCANCODE_LANG4 + const SCANCODE_LANG5 + const SCANCODE_LANG6 + const SCANCODE_LANG7 + const SCANCODE_LANG8 + const SCANCODE_LANG9 + const SCANCODE_LCTRL + const SCANCODE_LEFT + const SCANCODE_LEFTBRACKET + const SCANCODE_LGUI + const SCANCODE_LSHIFT + const SCANCODE_M + const SCANCODE_MAIL + const SCANCODE_MEDIASELECT + const SCANCODE_MENU + const SCANCODE_MINUS + const SCANCODE_MODE + const SCANCODE_MUTE + const SCANCODE_N + const SCANCODE_NONUSBACKSLASH + const SCANCODE_NONUSHASH + const SCANCODE_NUMLOCKCLEAR + const SCANCODE_O + const SCANCODE_OPER + const SCANCODE_OUT + const SCANCODE_P + const SCANCODE_PAGEDOWN + const SCANCODE_PAGEUP + const SCANCODE_PASTE + const SCANCODE_PAUSE + const SCANCODE_PERIOD + const SCANCODE_POWER + const SCANCODE_PRINTSCREEN + const SCANCODE_PRIOR + const SCANCODE_Q + const SCANCODE_R + const SCANCODE_RALT + const SCANCODE_RCTRL + const SCANCODE_RETURN + const SCANCODE_RETURN2 + const SCANCODE_RGUI + const SCANCODE_RIGHT + const SCANCODE_RIGHTBRACKET + const SCANCODE_RSHIFT + const SCANCODE_S + const SCANCODE_SCROLLLOCK + const SCANCODE_SELECT + const SCANCODE_SEMICOLON + const SCANCODE_SEPARATOR + const SCANCODE_SLASH + const SCANCODE_SLEEP + const SCANCODE_SPACE + const SCANCODE_STOP + const SCANCODE_SYSREQ + const SCANCODE_T + const SCANCODE_TAB + const SCANCODE_THOUSANDSSEPARATOR + const SCANCODE_U + const SCANCODE_UNDO + const SCANCODE_UNKNOWN + const SCANCODE_UP + const SCANCODE_V + const SCANCODE_VOLUMEDOWN + const SCANCODE_VOLUMEUP + const SCANCODE_W + const SCANCODE_WWW + const SCANCODE_X + const SCANCODE_Y + const SCANCODE_Z + const SENSORUPDATE + const STANDARD_GRAVITY + const SWSURFACE + const SYSTEM_CURSOR_ARROW + const SYSTEM_CURSOR_CROSSHAIR + const SYSTEM_CURSOR_HAND + const SYSTEM_CURSOR_IBEAM + const SYSTEM_CURSOR_NO + const SYSTEM_CURSOR_SIZEALL + const SYSTEM_CURSOR_SIZENESW + const SYSTEM_CURSOR_SIZENS + const SYSTEM_CURSOR_SIZENWSE + const SYSTEM_CURSOR_SIZEWE + const SYSTEM_CURSOR_WAIT + const SYSTEM_CURSOR_WAITARROW + const SYSWMEVENT + const SYSWM_ANDROID + const SYSWM_COCOA + const SYSWM_DIRECTFB + const SYSWM_MIR + const SYSWM_UIKIT + const SYSWM_UNKNOWN + const SYSWM_VIVANTE + const SYSWM_WAYLAND + const SYSWM_WINDOWS + const SYSWM_WINRT + const SYSWM_X11 + const TEXTEDITING + const TEXTINPUT + const TEXTUREACCESS_STATIC + const TEXTUREACCESS_STREAMING + const TEXTUREACCESS_TARGET + const TEXTUREMODULATE_ALPHA + const TEXTUREMODULATE_COLOR + const TEXTUREMODULATE_NONE + const TOUCH_MOUSEID + const UNSUPPORTED + const USEREVENT + const WINDOWEVENT + const WINDOWEVENT_CLOSE + const WINDOWEVENT_ENTER + const WINDOWEVENT_EXPOSED + const WINDOWEVENT_FOCUS_GAINED + const WINDOWEVENT_FOCUS_LOST + const WINDOWEVENT_HIDDEN + const WINDOWEVENT_HIT_TEST + const WINDOWEVENT_LEAVE + const WINDOWEVENT_MAXIMIZED + const WINDOWEVENT_MINIMIZED + const WINDOWEVENT_MOVED + const WINDOWEVENT_NONE + const WINDOWEVENT_RESIZED + const WINDOWEVENT_RESTORED + const WINDOWEVENT_SHOWN + const WINDOWEVENT_SIZE_CHANGED + const WINDOWEVENT_TAKE_FOCUS + const WINDOWPOS_CENTERED + const WINDOWPOS_CENTERED_MASK + const WINDOWPOS_UNDEFINED + const WINDOWPOS_UNDEFINED_MASK + const WINDOW_ALLOW_HIGHDPI + const WINDOW_ALWAYS_ON_TOP + const WINDOW_BORDERLESS + const WINDOW_FOREIGN + const WINDOW_FULLSCREEN + const WINDOW_FULLSCREEN_DESKTOP + const WINDOW_HIDDEN + const WINDOW_INPUT_FOCUS + const WINDOW_INPUT_GRABBED + const WINDOW_MAXIMIZED + const WINDOW_MINIMIZED + const WINDOW_MOUSE_CAPTURE + const WINDOW_MOUSE_FOCUS + const WINDOW_OPENGL + const WINDOW_POPUP_MENU + const WINDOW_RESIZABLE + const WINDOW_SHOWN + const WINDOW_SKIP_TASKBAR + const WINDOW_TOOLTIP + const WINDOW_UTILITY + const WINDOW_VULKAN + const YUV_CONVERSION_AUTOMATIC + const YUV_CONVERSION_BT601 + const YUV_CONVERSION_BT709 + const YUV_CONVERSION_JPEG + var ErrInvalidParameters = errors.New("Invalid Parameters") + var PIXELFORMAT_ABGR32 = C.SDL_PIXELFORMAT_ABGR32 + var PIXELFORMAT_ARGB32 = C.SDL_PIXELFORMAT_ARGB32 + var PIXELFORMAT_BGRA32 = C.SDL_PIXELFORMAT_BGRA32 + var PIXELFORMAT_RGBA32 = C.SDL_PIXELFORMAT_RGBA32 + func AddHintCallback(name string, fn HintCallback, data interface{}) + func AudioInit(driverName string) error + func AudioQuit() + func BitsPerPixel(format uint32) int + func Btoi(b bool) int + func BuildAudioCVT(cvt *AudioCVT, srcFormat AudioFormat, srcChannels uint8, srcRate int, ...) (converted bool, err error) + func Button(flag uint32) uint32 + func ButtonLMask() uint32 + func ButtonMMask() uint32 + func ButtonRMask() uint32 + func ButtonX1Mask() uint32 + func ButtonX2Mask() uint32 + func BytesPerPixel(format uint32) int + func COMPILEDVERSION() int + func CalculateGammaRamp(gamma float32, ramp *[256]uint16) + func CaptureMouse(toggle bool) error + func ClearError() + func ClearHints() + func ClearQueuedAudio(dev AudioDeviceID) + func CloseAudio() + func CloseAudioDevice(dev AudioDeviceID) + func ConvertAudio(cvt *AudioCVT) error + func ConvertPixels(width, height int32, srcFormat uint32, src unsafe.Pointer, srcPitch int, ...) error + func CreateWindowAndRenderer(w, h int32, flags uint32) (*Window, *Renderer, error) + func CurrentThreadID() uint + func DelEventWatch(handle EventWatchHandle) + func DelHintCallback(name string) + func Delay(ms uint32) + func DequeueAudio(dev AudioDeviceID, data []byte) error + func DisableScreenSaver() + func Do(f func()) + func EnableScreenSaver() + func Error(code ErrorCode) + func EventState(type_ uint32, state int) uint8 + func FilterEvents(filter EventFilter, userdata interface{}) + func FilterEventsFunc(filter eventFilterFunc, userdata interface{}) + func FlushEvent(type_ uint32) + func FlushEvents(minType, maxType uint32) + func FreeCursor(cursor *Cursor) + func FreeWAV(audioBuf []uint8) + func GLDeleteContext(context GLContext) + func GLExtensionSupported(extension string) bool + func GLGetAttribute(attr GLattr) (int, error) + func GLGetProcAddress(proc string) unsafe.Pointer + func GLGetSwapInterval() (int, error) + func GLLoadLibrary(path string) error + func GLSetAttribute(attr GLattr, value int) error + func GLSetSwapInterval(interval int) error + func GLUnloadLibrary() + func GameControllerAddMapping(mappingString string) int + func GameControllerEventState(state int) int + func GameControllerGetStringForAxis(axis GameControllerAxis) string + func GameControllerGetStringForButton(btn GameControllerButton) string + func GameControllerMappingForGUID(guid JoystickGUID) string + func GameControllerMappingForIndex(index int) string + func GameControllerNameForIndex(index int) string + func GameControllerNumMappings() int + func GameControllerUpdate() + func GetAudioDeviceName(index int, isCapture bool) string + func GetAudioDriver(index int) string + func GetBasePath() string + func GetCPUCacheLineSize() int + func GetCPUCount() int + func GetClipboardText() (string, error) + func GetCurrentAudioDriver() string + func GetCurrentVideoDriver() (string, error) + func GetDisplayDPI(displayIndex int) (ddpi, hdpi, vdpi float32, err error) + func GetDisplayName(displayIndex int) (string, error) + func GetError() error + func GetEventState(type_ uint32) uint8 + func GetGlobalMouseState() (x, y int32, state uint32) + func GetHint(name string) string + func GetKeyName(code Keycode) string + func GetKeyboardState() []uint8 + func GetMouseState() (x, y int32, state uint32) + func GetNumAudioDevices(isCapture bool) int + func GetNumAudioDrivers() int + func GetNumDisplayModes(displayIndex int) (int, error) + func GetNumRenderDrivers() (int, error) + func GetNumTouchDevices() int + func GetNumTouchFingers(t TouchID) int + func GetNumVideoDisplays() (int, error) + func GetNumVideoDrivers() (int, error) + func GetPerformanceCounter() uint64 + func GetPerformanceFrequency() uint64 + func GetPixelFormatName(format uint) string + func GetPlatform() string + func GetPowerInfo() (int, int, int) + func GetPrefPath(org, app string) string + func GetQueuedAudioSize(dev AudioDeviceID) uint32 + func GetRGB(pixel uint32, format *PixelFormat) (r, g, b uint8) + func GetRGBA(pixel uint32, format *PixelFormat) (r, g, b, a uint8) + func GetRelativeMouseMode() bool + func GetRelativeMouseState() (x, y int32, state uint32) + func GetRenderDriverInfo(index int, info *RendererInfo) (int, error) + func GetRevision() string + func GetRevisionNumber() int + func GetScancodeName(code Scancode) string + func GetSystemRAM() int + func GetTicks() uint32 + func GetVersion(v *Version) + func GetVideoDriver(index int) string + func HapticIndex(h *Haptic) (int, error) + func HapticName(index int) (string, error) + func HapticOpened(index int) (bool, error) + func Has3DNow() bool + func HasAVX() bool + func HasAVX2() bool + func HasAltiVec() bool + func HasClipboardText() bool + func HasEvent(type_ uint32) bool + func HasEvents(minType, maxType uint32) bool + func HasMMX() bool + func HasNEON() bool + func HasRDTSC() bool + func HasSSE() bool + func HasSSE2() bool + func HasSSE3() bool + func HasSSE41() bool + func HasSSE42() bool + func HasScreenKeyboardSupport() bool + func Init(flags uint32) error + func InitSubSystem(flags uint32) error + func IsGameController(index int) bool + func IsScreenKeyboardShown(window *Window) bool + func IsScreenSaverEnabled() bool + func IsTextInputActive() bool + func JoystickEventState(state int) int + func JoystickGetDeviceProduct(index int) int + func JoystickGetDeviceProductVersion(index int) int + func JoystickGetDeviceVendor(index int) int + func JoystickGetGUIDString(guid JoystickGUID) string + func JoystickIsHaptic(joy *Joystick) (bool, error) + func JoystickNameForIndex(index int) string + func JoystickUpdate() + func LoadDollarTemplates(t TouchID, src *RWops) int + func LoadFile(file string) (data []byte, size int) + func LockAudio() + func LockAudioDevice(dev AudioDeviceID) + func LockJoysticks() + func Log(str string, args ...interface{}) + func LogCritical(category int, str string, args ...interface{}) + func LogDebug(category int, str string, args ...interface{}) + func LogError(category int, str string, args ...interface{}) + func LogInfo(category int, str string, args ...interface{}) + func LogMessage(category int, pri LogPriority, str string, args ...interface{}) + func LogResetPriorities() + func LogSetAllPriority(p LogPriority) + func LogSetOutputFunction(f LogOutputFunction, data interface{}) + func LogSetPriority(category int, p LogPriority) + func LogVerbose(category int, str string, args ...interface{}) + func LogWarn(category int, str string, args ...interface{}) + func Main(main func()) + func MapRGB(format *PixelFormat, r, g, b uint8) uint32 + func MapRGBA(format *PixelFormat, r, g, b, a uint8) uint32 + func MasksToPixelFormatEnum(bpp int, rmask, gmask, bmask, amask uint32) uint + func MixAudio(dst, src *uint8, len uint32, volume int) + func MixAudioFormat(dst, src *uint8, format AudioFormat, len uint32, volume int) + func MouseIsHaptic() (bool, error) + func NumHaptics() (int, error) + func NumJoysticks() int + func NumSensors() int + func OpenAudio(desired, obtained *AudioSpec) error + func OutOfMemory() + func PauseAudio(pauseOn bool) + func PauseAudioDevice(dev AudioDeviceID, pauseOn bool) + func PeepEvents(events []Event, action EventAction, minType, maxType uint32) (storedEvents int, err error) + func PixelFormatEnumToMasks(format uint) (bpp int, rmask, gmask, bmask, amask uint32, err error) + func PumpEvents() + func PushEvent(event Event) (filtered bool, err error) + func QueueAudio(dev AudioDeviceID, data []byte) error + func Quit() + func QuitSubSystem(flags uint32) + func RecordGesture(t TouchID) int + func RegisterEvents(numEvents int) uint32 + func SaveAllDollarTemplates(src *RWops) int + func SaveDollarTemplate(g GestureID, src *RWops) int + func SensorGetDeviceName(deviceIndex int) (name string) + func SensorGetDeviceNonPortableType(deviceIndex int) (typ int) + func SensorUpdate() + func SetClipboardText(text string) error + func SetCursor(cursor *Cursor) + func SetError(err error) + func SetEventFilter(filter EventFilter, userdata interface{}) + func SetEventFilterFunc(filterFunc eventFilterFunc, userdata interface{}) + func SetHint(name, value string) bool + func SetHintWithPriority(name, value string, hp HintPriority) bool + func SetModState(mod Keymod) + func SetRelativeMouseMode(enabled bool) int + func SetTextInputRect(rect *Rect) + func SetYUVConversionMode(mode YUV_CONVERSION_MODE) + func ShowCursor(toggle int) (int, error) + func ShowMessageBox(data *MessageBoxData) (buttonid int32, err error) + func ShowSimpleMessageBox(flags uint32, title, message string, window *Window) error + func StartTextInput() + func StopTextInput() + func UnlockAudio() + func UnlockAudioDevice(dev AudioDeviceID) + func UnlockJoysticks() + func Unsupported() + func VERSION(v *Version) + func VERSIONNUM(x, y, z int) int + func VERSION_ATLEAST(x, y, z int) bool + func VideoInit(driverName string) error + func VideoQuit() + func VulkanGetVkGetInstanceProcAddr() unsafe.Pointer + func VulkanLoadLibrary(path string) error + func VulkanUnloadLibrary() + func WarpMouseGlobal(x, y int32) error + func WasInit(flags uint32) uint32 + type AudioCVT struct + Buf unsafe.Pointer + DstFormat AudioFormat + Len int32 + LenCVT int32 + LenMult int32 + LenRatio float64 + Needed int32 + RateIncr float64 + SrcFormat AudioFormat + func (cvt *AudioCVT) AllocBuf(size uintptr) + func (cvt *AudioCVT) FreeBuf() + func (cvt AudioCVT) BufAsSlice() []byte + type AudioCallback C.SDL_AudioCallback + type AudioDeviceEvent struct + IsCapture uint8 + Timestamp uint32 + Type uint32 + Which uint32 + func (e *AudioDeviceEvent) GetTimestamp() uint32 + func (e *AudioDeviceEvent) GetType() uint32 + type AudioDeviceID uint32 + func OpenAudioDevice(device string, isCapture bool, desired, obtained *AudioSpec, ...) (AudioDeviceID, error) + type AudioFilter C.SDL_AudioFilter + type AudioFormat uint16 + func (fmt AudioFormat) BitSize() uint8 + func (fmt AudioFormat) IsBigEndian() bool + func (fmt AudioFormat) IsFloat() bool + func (fmt AudioFormat) IsInt() bool + func (fmt AudioFormat) IsLittleEndian() bool + func (fmt AudioFormat) IsSigned() bool + func (fmt AudioFormat) IsUnsigned() bool + type AudioSpec struct + Callback AudioCallback + Channels uint8 + Format AudioFormat + Freq int32 + Samples uint16 + Silence uint8 + Size uint32 + UserData unsafe.Pointer + func LoadWAV(file string) ([]byte, *AudioSpec) + func LoadWAVRW(src *RWops, freeSrc bool) ([]byte, *AudioSpec) + type AudioStatus uint32 + func GetAudioDeviceStatus(dev AudioDeviceID) AudioStatus + func GetAudioStatus() AudioStatus + type AudioStream C.SDL_AudioStream + func NewAudioStream(srcFormat AudioFormat, srcChannels uint8, srcRate int, dstFormat AudioFormat, ...) (stream *AudioStream, err error) + func (stream *AudioStream) Available() (err error) + func (stream *AudioStream) Clear() + func (stream *AudioStream) Flush() (err error) + func (stream *AudioStream) Free() + func (stream *AudioStream) Get(buf []byte) (err error) + func (stream *AudioStream) Put(buf []byte) (err error) + type BlendFactor C.SDL_BlendFactor + type BlendMode uint32 + func ComposeCustomBlendMode(srcColorFactor, dstColorFactor BlendFactor, colorOperation BlendOperation, ...) BlendMode + type BlendOperation C.SDL_BlendOperation + type CEvent struct + Type uint32 + type ClipboardEvent struct + Timestamp uint32 + Type uint32 + func (e *ClipboardEvent) GetTimestamp() uint32 + func (e *ClipboardEvent) GetType() uint32 + type CocoaInfo struct + Window unsafe.Pointer + type Color color.RGBA + func (c Color) Uint32() uint32 + type CommonEvent struct + Timestamp uint32 + Type uint32 + func (e *CommonEvent) GetTimestamp() uint32 + func (e *CommonEvent) GetType() uint32 + type Cond struct + Lock *Mutex + Signals int + WaitDone *Sem + WaitSem *Sem + Waiting int + func CreateCond() *Cond + func (cond *Cond) Broadcast() error + func (cond *Cond) Destroy() + func (cond *Cond) Signal() error + func (cond *Cond) Wait(mutex *Mutex) error + func (cond *Cond) WaitTimeout(mutex *Mutex, ms uint32) error + type ControllerAxisEvent struct + Axis uint8 + Timestamp uint32 + Type uint32 + Value int16 + Which JoystickID + func (e *ControllerAxisEvent) GetTimestamp() uint32 + func (e *ControllerAxisEvent) GetType() uint32 + type ControllerButtonEvent struct + Button uint8 + State uint8 + Timestamp uint32 + Type uint32 + Which JoystickID + func (e *ControllerButtonEvent) GetTimestamp() uint32 + func (e *ControllerButtonEvent) GetType() uint32 + type ControllerDeviceEvent struct + Timestamp uint32 + Type uint32 + Which JoystickID + func (e *ControllerDeviceEvent) GetTimestamp() uint32 + func (e *ControllerDeviceEvent) GetType() uint32 + type Cursor C.SDL_Cursor + func CreateColorCursor(surface *Surface, hotX, hotY int32) *Cursor + func CreateCursor(data, mask *uint8, w, h, hotX, hotY int32) *Cursor + func CreateSystemCursor(id SystemCursor) *Cursor + func GetCursor() *Cursor + func GetDefaultCursor() *Cursor + type DFBInfo struct + Dfb unsafe.Pointer + Surface unsafe.Pointer + Window unsafe.Pointer + type DisplayMode struct + DriverData unsafe.Pointer + Format uint32 + H int32 + RefreshRate int32 + W int32 + func GetClosestDisplayMode(displayIndex int, mode *DisplayMode, closest *DisplayMode) (*DisplayMode, error) + func GetCurrentDisplayMode(displayIndex int) (mode DisplayMode, err error) + func GetDesktopDisplayMode(displayIndex int) (mode DisplayMode, err error) + func GetDisplayMode(displayIndex int, modeIndex int) (mode DisplayMode, err error) + type DollarGestureEvent struct + Error float32 + GestureID GestureID + NumFingers uint32 + Timestamp uint32 + TouchID TouchID + Type uint32 + X float32 + Y float32 + func (e *DollarGestureEvent) GetTimestamp() uint32 + func (e *DollarGestureEvent) GetType() uint32 + type DropEvent struct + File string + Timestamp uint32 + Type uint32 + WindowID uint32 + func (e *DropEvent) GetTimestamp() uint32 + func (e *DropEvent) GetType() uint32 + type ErrorCode uint32 + type Event interface + GetTimestamp func() uint32 + GetType func() uint32 + func PollEvent() Event + func WaitEvent() Event + func WaitEventTimeout(timeout int) Event + type EventAction C.SDL_eventaction + type EventFilter interface + FilterEvent func(e Event, userdata interface{}) bool + func GetEventFilter() EventFilter + type EventWatchHandle uintptr + func AddEventWatch(filter EventFilter, userdata interface{}) EventWatchHandle + func AddEventWatchFunc(filterFunc eventFilterFunc, userdata interface{}) EventWatchHandle + type Finger struct + ID FingerID + Pressure float32 + X float32 + Y float32 + func GetTouchFinger(t TouchID, index int) *Finger + type FingerID C.SDL_FingerID + type GLContext C.SDL_GLContext + type GLattr C.SDL_GLattr + type GameController C.SDL_GameController + func GameControllerFromInstanceID(joyid JoystickID) *GameController + func GameControllerOpen(index int) *GameController + func (ctrl *GameController) Attached() bool + func (ctrl *GameController) Axis(axis GameControllerAxis) int16 + func (ctrl *GameController) BindForAxis(axis GameControllerAxis) GameControllerButtonBind + func (ctrl *GameController) BindForButton(btn GameControllerButton) GameControllerButtonBind + func (ctrl *GameController) Button(btn GameControllerButton) byte + func (ctrl *GameController) Close() + func (ctrl *GameController) Joystick() *Joystick + func (ctrl *GameController) Mapping() string + func (ctrl *GameController) Name() string + func (ctrl *GameController) Product() int + func (ctrl *GameController) ProductVersion() int + func (ctrl *GameController) Vendor() int + type GameControllerAxis C.SDL_GameControllerAxis + func GameControllerGetAxisFromString(pchString string) GameControllerAxis + type GameControllerBindType C.SDL_GameControllerBindType + type GameControllerButton C.SDL_GameControllerButton + func GameControllerGetButtonFromString(pchString string) GameControllerButton + type GameControllerButtonBind C.SDL_GameControllerButtonBind + func (bind *GameControllerButtonBind) Axis() int + func (bind *GameControllerButtonBind) Button() int + func (bind *GameControllerButtonBind) Hat() int + func (bind *GameControllerButtonBind) HatMask() int + func (bind *GameControllerButtonBind) Type() int + type GestureID C.SDL_GestureID + type Haptic C.SDL_Haptic + func HapticOpen(index int) (*Haptic, error) + func HapticOpenFromJoystick(joy *Joystick) (*Haptic, error) + func HapticOpenFromMouse() (*Haptic, error) + func (h *Haptic) Close() + func (h *Haptic) DestroyEffect(effect int) + func (h *Haptic) EffectSupported(he HapticEffect) (bool, error) + func (h *Haptic) GetEffectStatus(effect int) (int, error) + func (h *Haptic) NewEffect(he HapticEffect) (int, error) + func (h *Haptic) NumAxes() (int, error) + func (h *Haptic) NumEffects() (int, error) + func (h *Haptic) NumEffectsPlaying() (int, error) + func (h *Haptic) Pause() error + func (h *Haptic) Query() (uint32, error) + func (h *Haptic) RumbleInit() error + func (h *Haptic) RumblePlay(strength float32, length uint32) error + func (h *Haptic) RumbleStop() error + func (h *Haptic) RumbleSupported() (bool, error) + func (h *Haptic) RunEffect(effect int, iterations uint32) error + func (h *Haptic) SetAutocenter(autocenter int) error + func (h *Haptic) SetGain(gain int) error + func (h *Haptic) StopAll() error + func (h *Haptic) StopEffect(effect int) error + func (h *Haptic) Unpause() error + func (h *Haptic) UpdateEffect(effect int, data HapticEffect) error + type HapticCondition struct + Button uint16 + Center [3]int16 + Deadband [3]uint16 + Delay uint16 + Direction HapticDirection + Interval uint16 + LeftCoeff [3]int16 + LeftSat [3]uint16 + Length uint32 + RightCoeff [3]int16 + RightSat [3]uint16 + Type uint16 + type HapticConstant struct + AttackLength uint16 + AttackLevel uint16 + Button uint16 + Delay uint16 + Direction HapticDirection + FadeLength uint16 + FadeLevel uint16 + Interval uint16 + Length uint32 + Level int16 + Type uint16 + type HapticCustom struct + AttackLength uint16 + AttackLevel uint16 + Button uint16 + Channels uint8 + Data *uint16 + Delay uint16 + Direction HapticDirection + FadeLength uint16 + FadeLevel uint16 + Interval uint16 + Length uint32 + Period uint16 + Samples uint16 + Type uint16 + type HapticDirection struct + Dir [3]int32 + Type byte + type HapticEffect interface + type HapticLeftRight struct + LargeMagnitude uint16 + Length uint32 + SmallMagnitude uint16 + Type uint16 + type HapticPeriodic struct + AttackLength uint16 + AttackLevel uint16 + Button uint16 + Delay uint16 + Direction HapticDirection + FadeLength uint16 + FadeLevel uint16 + Interval uint16 + Length uint32 + Magnitude int16 + Offset int16 + Period uint16 + Phase uint16 + Type uint16 + type HapticRamp struct + AttackLength uint16 + AttackLevel uint16 + Button uint16 + Delay uint16 + Direction HapticDirection + End int16 + FadeLength uint16 + FadeLevel uint16 + Interval uint16 + Length uint32 + Start int16 + Type uint16 + type HintCallback func(data interface{}, name, oldValue, newValue string) + type HintCallbackAndData struct + type HintPriority C.SDL_HintPriority + type JoyAxisEvent struct + Axis uint8 + Timestamp uint32 + Type uint32 + Value int16 + Which JoystickID + func (e *JoyAxisEvent) GetTimestamp() uint32 + func (e *JoyAxisEvent) GetType() uint32 + type JoyBallEvent struct + Ball uint8 + Timestamp uint32 + Type uint32 + Which JoystickID + XRel int16 + YRel int16 + func (e *JoyBallEvent) GetTimestamp() uint32 + func (e *JoyBallEvent) GetType() uint32 + type JoyButtonEvent struct + Button uint8 + State uint8 + Timestamp uint32 + Type uint32 + Which JoystickID + func (e *JoyButtonEvent) GetTimestamp() uint32 + func (e *JoyButtonEvent) GetType() uint32 + type JoyDeviceAddedEvent struct + Timestamp uint32 + Type uint32 + Which int + func (e *JoyDeviceAddedEvent) GetTimestamp() uint32 + func (e *JoyDeviceAddedEvent) GetType() uint32 + type JoyDeviceRemovedEvent struct + Timestamp uint32 + Type uint32 + Which JoystickID + func (e *JoyDeviceRemovedEvent) GetTimestamp() uint32 + func (e *JoyDeviceRemovedEvent) GetType() uint32 + type JoyHatEvent struct + Hat uint8 + Timestamp uint32 + Type uint32 + Value uint8 + Which JoystickID + func (e *JoyHatEvent) GetTimestamp() uint32 + func (e *JoyHatEvent) GetType() uint32 + type Joystick C.SDL_Joystick + func JoystickFromInstanceID(joyid JoystickID) *Joystick + func JoystickOpen(index int) *Joystick + func (joy *Joystick) Attached() bool + func (joy *Joystick) Axis(axis int) int16 + func (joy *Joystick) AxisInitialState(axis int) (state int16, ok bool) + func (joy *Joystick) Ball(ball int, dx, dy *int32) int + func (joy *Joystick) Button(button int) byte + func (joy *Joystick) Close() + func (joy *Joystick) CurrentPowerLevel() JoystickPowerLevel + func (joy *Joystick) GUID() JoystickGUID + func (joy *Joystick) Hat(hat int) byte + func (joy *Joystick) InstanceID() JoystickID + func (joy *Joystick) Name() string + func (joy *Joystick) NumAxes() int + func (joy *Joystick) NumBalls() int + func (joy *Joystick) NumButtons() int + func (joy *Joystick) NumHats() int + func (joy *Joystick) Product() int + func (joy *Joystick) ProductVersion() int + func (joy *Joystick) Type() JoystickType + func (joy *Joystick) Vendor() int + type JoystickGUID C.SDL_JoystickGUID + func JoystickGetDeviceGUID(index int) JoystickGUID + func JoystickGetGUIDFromString(pchGUID string) JoystickGUID + type JoystickID C.SDL_JoystickID + func JoystickGetDeviceInstanceID(index int) JoystickID + type JoystickPowerLevel C.SDL_JoystickPowerLevel + type JoystickType C.SDL_JoystickType + func JoystickGetDeviceType(index int) JoystickType + type KeyboardEvent struct + Keysym Keysym + Repeat uint8 + State uint8 + Timestamp uint32 + Type uint32 + WindowID uint32 + func (e *KeyboardEvent) GetTimestamp() uint32 + func (e *KeyboardEvent) GetType() uint32 + type Keycode C.SDL_Keycode + func GetKeyFromName(name string) Keycode + func GetKeyFromScancode(code Scancode) Keycode + type Keymod C.SDL_Keymod + func GetModState() Keymod + type Keysym struct + Mod uint16 + Scancode Scancode + Sym Keycode + type LogOutputFunction func(data interface{}, category int, pri LogPriority, message string) + func LogGetOutputFunction() (LogOutputFunction, interface{}) + type LogPriority C.SDL_LogPriority + func LogGetPriority(category int) LogPriority + type MessageBoxButtonData struct + ButtonID int32 + Flags uint32 + Text string + type MessageBoxColor struct + B uint8 + G uint8 + R uint8 + type MessageBoxColorScheme struct + Colors [5]MessageBoxColor + type MessageBoxData struct + Buttons []MessageBoxButtonData + ColorScheme *MessageBoxColorScheme + Flags uint32 + Message string + Title string + Window *Window + type MouseButtonEvent struct + Button uint8 + Clicks uint8 + State uint8 + Timestamp uint32 + Type uint32 + Which uint32 + WindowID uint32 + X int32 + Y int32 + func (e *MouseButtonEvent) GetTimestamp() uint32 + func (e *MouseButtonEvent) GetType() uint32 + type MouseMotionEvent struct + State uint32 + Timestamp uint32 + Type uint32 + Which uint32 + WindowID uint32 + X int32 + XRel int32 + Y int32 + YRel int32 + func (e *MouseMotionEvent) GetTimestamp() uint32 + func (e *MouseMotionEvent) GetType() uint32 + type MouseWheelEvent struct + Direction uint32 + Timestamp uint32 + Type uint32 + Which uint32 + WindowID uint32 + X int32 + Y int32 + func (e *MouseWheelEvent) GetTimestamp() uint32 + func (e *MouseWheelEvent) GetType() uint32 + type MultiGestureEvent struct + DDist float32 + DTheta float32 + NumFingers uint16 + Timestamp uint32 + TouchID TouchID + Type uint32 + X float32 + Y float32 + func (e *MultiGestureEvent) GetTimestamp() uint32 + func (e *MultiGestureEvent) GetType() uint32 + type Mutex struct + Owner ThreadID + Recursive int + Sem *Sem + func CreateMutex() (*Mutex, error) + func (mutex *Mutex) Destroy() + func (mutex *Mutex) Lock() error + func (mutex *Mutex) TryLock() error + func (mutex *Mutex) Unlock() error + type OSEvent struct + Timestamp uint32 + Type uint32 + func (e *OSEvent) GetTimestamp() uint32 + func (e *OSEvent) GetType() uint32 + type Palette struct + Colors *Color + Ncolors int32 + func AllocPalette(ncolors int) (*Palette, error) + func (palette *Palette) Free() + func (palette *Palette) SetColors(colors []Color) error + type PixelFormat struct + Amask uint32 + BitsPerPixel uint8 + Bmask uint32 + BytesPerPixel uint8 + Format uint32 + Gmask uint32 + Palette *Palette + Rmask uint32 + func AllocFormat(format uint) (*PixelFormat, error) + func (format *PixelFormat) Free() + func (format *PixelFormat) SetPalette(palette *Palette) error + type Point struct + X int32 + Y int32 + func (p *Point) InRect(r *Rect) bool + type PowerState C.SDL_PowerState + type QuitEvent struct + Timestamp uint32 + Type uint32 + func (e *QuitEvent) GetTimestamp() uint32 + func (e *QuitEvent) GetType() uint32 + type RWops C.SDL_RWops + func AllocRW() *RWops + func RWFromFile(file, mode string) *RWops + func RWFromMem(mem []byte) (*RWops, error) + func (rwops *RWops) Close() error + func (rwops *RWops) Free() error + func (rwops *RWops) Read(buf []byte) (n int, err error) + func (rwops *RWops) Read2(buf []byte, size, maxnum uint) (n int, err error) + func (rwops *RWops) ReadBE16() uint16 + func (rwops *RWops) ReadBE32() uint32 + func (rwops *RWops) ReadBE64() uint64 + func (rwops *RWops) ReadLE16() uint16 + func (rwops *RWops) ReadLE32() uint32 + func (rwops *RWops) ReadLE64() uint64 + func (rwops *RWops) ReadU8() uint8 + func (rwops *RWops) Seek(offset int64, whence int) (int64, error) + func (rwops *RWops) Size() (int64, error) + func (rwops *RWops) Tell() (int64, error) + func (rwops *RWops) Write(buf []byte) (n int, err error) + func (rwops *RWops) Write2(buf []byte, size, num uint) (n int, err error) + func (rwops *RWops) WriteBE16(value uint16) uint + func (rwops *RWops) WriteBE32(value uint32) uint + func (rwops *RWops) WriteBE64(value uint64) uint + func (rwops *RWops) WriteLE16(value uint16) uint + func (rwops *RWops) WriteLE32(value uint32) uint + func (rwops *RWops) WriteLE64(value uint64) uint + func (rwops *RWops) WriteU8(value uint8) uint + func (src *RWops) LoadFileRW(freesrc bool) (data []byte, size int) + type Rect struct + H int32 + W int32 + X int32 + Y int32 + func EnclosePoints(points []Point, clip *Rect) (Rect, bool) + func GetDisplayBounds(displayIndex int) (rect Rect, err error) + func GetDisplayUsableBounds(displayIndex int) (rect Rect, err error) + func (a *Rect) Empty() bool + func (a *Rect) Equals(b *Rect) bool + func (a *Rect) HasIntersection(b *Rect) bool + func (a *Rect) Intersect(b *Rect) (Rect, bool) + func (a *Rect) IntersectLine(X1, Y1, X2, Y2 *int32) bool + func (a *Rect) Union(b *Rect) Rect + type RenderEvent struct + Timestamp uint32 + Type uint32 + func (e *RenderEvent) GetTimestamp() uint32 + func (e *RenderEvent) GetType() uint32 + type Renderer C.SDL_Renderer + func CreateRenderer(window *Window, index int, flags uint32) (*Renderer, error) + func CreateSoftwareRenderer(surface *Surface) (*Renderer, error) + func (renderer *Renderer) Clear() error + func (renderer *Renderer) Copy(texture *Texture, src, dst *Rect) error + func (renderer *Renderer) CopyEx(texture *Texture, src, dst *Rect, angle float64, center *Point, ...) error + func (renderer *Renderer) CreateTexture(format uint32, access int, w, h int32) (*Texture, error) + func (renderer *Renderer) CreateTextureFromSurface(surface *Surface) (*Texture, error) + func (renderer *Renderer) Destroy() error + func (renderer *Renderer) DrawLine(x1, y1, x2, y2 int32) error + func (renderer *Renderer) DrawLines(points []Point) error + func (renderer *Renderer) DrawPoint(x, y int32) error + func (renderer *Renderer) DrawPoints(points []Point) error + func (renderer *Renderer) DrawRect(rect *Rect) error + func (renderer *Renderer) DrawRects(rects []Rect) error + func (renderer *Renderer) FillRect(rect *Rect) error + func (renderer *Renderer) FillRects(rects []Rect) error + func (renderer *Renderer) GetClipRect() (rect Rect) + func (renderer *Renderer) GetDrawBlendMode(bm *BlendMode) error + func (renderer *Renderer) GetDrawColor() (r, g, b, a uint8, err error) + func (renderer *Renderer) GetInfo() (RendererInfo, error) + func (renderer *Renderer) GetIntegerScale() (bool, error) + func (renderer *Renderer) GetLogicalSize() (w, h int32) + func (renderer *Renderer) GetMetalCommandEncoder() (encoder unsafe.Pointer, err error) + func (renderer *Renderer) GetMetalLayer() (layer unsafe.Pointer, err error) + func (renderer *Renderer) GetOutputSize() (w, h int32, err error) + func (renderer *Renderer) GetRenderTarget() *Texture + func (renderer *Renderer) GetScale() (scaleX, scaleY float32) + func (renderer *Renderer) GetViewport() (rect Rect) + func (renderer *Renderer) Present() + func (renderer *Renderer) ReadPixels(rect *Rect, format uint32, pixels unsafe.Pointer, pitch int) error + func (renderer *Renderer) RenderTargetSupported() bool + func (renderer *Renderer) SetClipRect(rect *Rect) error + func (renderer *Renderer) SetDrawBlendMode(bm BlendMode) error + func (renderer *Renderer) SetDrawColor(r, g, b, a uint8) error + func (renderer *Renderer) SetDrawColorArray(bs ...uint8) error + func (renderer *Renderer) SetIntegerScale(v bool) error + func (renderer *Renderer) SetLogicalSize(w, h int32) error + func (renderer *Renderer) SetRenderTarget(texture *Texture) error + func (renderer *Renderer) SetScale(scaleX, scaleY float32) error + func (renderer *Renderer) SetViewport(rect *Rect) error + type RendererFlip uint32 + type RendererInfo struct + Name string + type RendererInfoData struct + Flags uint32 + MaxTextureHeight int32 + MaxTextureWidth int32 + NumTextureFormats uint32 + TextureFormats [16]int32 + type Scancode uint32 + func GetScancodeFromKey(code Keycode) Scancode + func GetScancodeFromName(name string) Scancode + type Sem struct + Count uint32 + CountLock *Mutex + CountNonzero *Cond + WaitersCount uint32 + func CreateSemaphore(initialValue uint32) (*Sem, error) + func (sem *Sem) Destroy() + func (sem *Sem) Post() error + func (sem *Sem) TryWait() error + func (sem *Sem) Value() uint32 + func (sem *Sem) Wait() error + func (sem *Sem) WaitTimeout(ms uint32) error + type Sensor C.SDL_Sensor + func SensorFromInstanceID(id SensorID) (sensor *Sensor) + func SensorOpen(deviceIndex int) (sensor *Sensor) + func (sensor *Sensor) Close() + func (sensor *Sensor) GetData(data []float32) (err error) + func (sensor *Sensor) GetInstanceID() (id SensorID) + func (sensor *Sensor) GetName() (name string) + func (sensor *Sensor) GetNonPortableType() (typ int) + func (sensor *Sensor) GetType() (typ SensorType) + type SensorEvent struct + Data [6]float32 + Timestamp uint32 + Type uint32 + Which int32 + func (e *SensorEvent) GetTimestamp() uint32 + func (e *SensorEvent) GetType() uint32 + type SensorID int32 + func SensorGetDeviceInstanceID(deviceIndex int) (id SensorID) + type SensorType int + const SENSOR_ACCEL + const SENSOR_GYRO + const SENSOR_INVALID + const SENSOR_UNKNOWN + func SensorGetDeviceType(deviceIndex int) (typ SensorType) + type SharedObject uintptr + func LoadObject(sofile string) SharedObject + func (handle SharedObject) LoadFunction(name string) unsafe.Pointer + func (handle SharedObject) Unload() + type Surface struct + ClipRect Rect + Format *PixelFormat + H int32 + Pitch int32 + RefCount int32 + UserData unsafe.Pointer + W int32 + func CreateRGBSurface(flags uint32, width, height, depth int32, Rmask, Gmask, Bmask, Amask uint32) (*Surface, error) + func CreateRGBSurfaceFrom(pixels unsafe.Pointer, width, height int32, depth, pitch int, ...) (*Surface, error) + func CreateRGBSurfaceWithFormat(flags uint32, width, height, depth int32, format uint32) (*Surface, error) + func CreateRGBSurfaceWithFormatFrom(pixels unsafe.Pointer, width, height, depth, pitch int32, format uint32) (*Surface, error) + func LoadBMP(file string) (*Surface, error) + func LoadBMPRW(src *RWops, freeSrc bool) (*Surface, error) + func (surface *Surface) At(x, y int) color.Color + func (surface *Surface) Blit(srcRect *Rect, dst *Surface, dstRect *Rect) error + func (surface *Surface) BlitScaled(srcRect *Rect, dst *Surface, dstRect *Rect) error + func (surface *Surface) Bounds() image.Rectangle + func (surface *Surface) BytesPerPixel() int + func (surface *Surface) ColorModel() color.Model + func (surface *Surface) Convert(fmt *PixelFormat, flags uint32) (*Surface, error) + func (surface *Surface) ConvertFormat(pixelFormat uint32, flags uint32) (*Surface, error) + func (surface *Surface) Data() unsafe.Pointer + func (surface *Surface) Duplicate() (newSurface *Surface, err error) + func (surface *Surface) FillRect(rect *Rect, color uint32) error + func (surface *Surface) FillRects(rects []Rect, color uint32) error + func (surface *Surface) Free() + func (surface *Surface) GetAlphaMod() (alpha uint8, err error) + func (surface *Surface) GetBlendMode() (bm BlendMode, err error) + func (surface *Surface) GetClipRect(rect *Rect) + func (surface *Surface) GetColorKey() (key uint32, err error) + func (surface *Surface) GetColorMod() (r, g, b uint8, err error) + func (surface *Surface) Lock() error + func (surface *Surface) LowerBlit(srcRect *Rect, dst *Surface, dstRect *Rect) error + func (surface *Surface) LowerBlitScaled(srcRect *Rect, dst *Surface, dstRect *Rect) error + func (surface *Surface) MustLock() bool + func (surface *Surface) PixelNum() int + func (surface *Surface) Pixels() []byte + func (surface *Surface) SaveBMP(file string) error + func (surface *Surface) SaveBMPRW(dst *RWops, freeDst bool) error + func (surface *Surface) Set(x, y int, c color.Color) + func (surface *Surface) SetAlphaMod(alpha uint8) error + func (surface *Surface) SetBlendMode(bm BlendMode) error + func (surface *Surface) SetClipRect(rect *Rect) bool + func (surface *Surface) SetColorKey(flag bool, key uint32) error + func (surface *Surface) SetColorMod(r, g, b uint8) error + func (surface *Surface) SetPalette(palette *Palette) error + func (surface *Surface) SetRLE(flag bool) error + func (surface *Surface) SoftStretch(srcRect *Rect, dst *Surface, dstRect *Rect) error + func (surface *Surface) Unlock() + func (surface *Surface) UpperBlit(srcRect *Rect, dst *Surface, dstRect *Rect) error + func (surface *Surface) UpperBlitScaled(srcRect *Rect, dst *Surface, dstRect *Rect) error + type SysWMEvent struct + Msg *SysWMmsg + Timestamp uint32 + Type uint32 + func (e *SysWMEvent) GetTimestamp() uint32 + func (e *SysWMEvent) GetType() uint32 + type SysWMInfo struct + Subsystem uint32 + Version Version + func (info *SysWMInfo) GetCocoaInfo() *CocoaInfo + func (info *SysWMInfo) GetDFBInfo() *DFBInfo + func (info *SysWMInfo) GetUIKitInfo() *UIKitInfo + func (info *SysWMInfo) GetWindowsInfo() *WindowsInfo + func (info *SysWMInfo) GetX11Info() *X11Info + type SysWMmsg struct + Subsystem uint32 + Version Version + type SystemCursor C.SDL_SystemCursor + type TextEditingEvent struct + Length int32 + Start int32 + Text [C.SDL_TEXTINPUTEVENT_TEXT_SIZE]byte + Timestamp uint32 + Type uint32 + WindowID uint32 + func (e *TextEditingEvent) GetText() string + func (e *TextEditingEvent) GetTimestamp() uint32 + func (e *TextEditingEvent) GetType() uint32 + type TextInputEvent struct + Text [C.SDL_TEXTINPUTEVENT_TEXT_SIZE]byte + Timestamp uint32 + Type uint32 + WindowID uint32 + func (e *TextInputEvent) GetText() string + func (e *TextInputEvent) GetTimestamp() uint32 + func (e *TextInputEvent) GetType() uint32 + type Texture C.SDL_Texture + func (texture *Texture) Destroy() error + func (texture *Texture) GLBind(texw, texh *float32) error + func (texture *Texture) GLUnbind() error + func (texture *Texture) GetAlphaMod() (alpha uint8, err error) + func (texture *Texture) GetBlendMode() (bm BlendMode, err error) + func (texture *Texture) Lock(rect *Rect) ([]byte, int, error) + func (texture *Texture) Query() (format uint32, access int, width int32, height int32, err error) + func (texture *Texture) SetAlphaMod(alpha uint8) error + func (texture *Texture) SetBlendMode(bm BlendMode) error + func (texture *Texture) SetColorMod(r uint8, g uint8, b uint8) error + func (texture *Texture) Unlock() + func (texture *Texture) Update(rect *Rect, pixels []byte, pitch int) error + func (texture *Texture) UpdateRGBA(rect *Rect, pixels []uint32, pitch int) error + func (texture *Texture) UpdateYUV(rect *Rect, yPlane []byte, yPitch int, uPlane []byte, uPitch int, ...) error + type ThreadID uint64 + type TouchFingerEvent struct + DX float32 + DY float32 + FingerID FingerID + Pressure float32 + Timestamp uint32 + TouchID TouchID + Type uint32 + X float32 + Y float32 + func (e *TouchFingerEvent) GetTimestamp() uint32 + func (e *TouchFingerEvent) GetType() uint32 + type TouchID C.SDL_TouchID + func GetTouchDevice(index int) TouchID + type UIKitInfo struct + Window unsafe.Pointer + type UserEvent struct + Code int32 + Data1 unsafe.Pointer + Data2 unsafe.Pointer + Timestamp uint32 + Type uint32 + WindowID uint32 + func (e *UserEvent) GetTimestamp() uint32 + func (e *UserEvent) GetType() uint32 + type Version struct + Major uint8 + Minor uint8 + Patch uint8 + type Window C.SDL_Window + func CreateWindow(title string, x, y, w, h int32, flags uint32) (*Window, error) + func CreateWindowFrom(data unsafe.Pointer) (*Window, error) + func GetKeyboardFocus() *Window + func GetMouseFocus() *Window + func GetWindowFromID(id uint32) (*Window, error) + func (window *Window) Destroy() error + func (window *Window) GLCreateContext() (GLContext, error) + func (window *Window) GLGetDrawableSize() (w, h int32) + func (window *Window) GLMakeCurrent(glcontext GLContext) error + func (window *Window) GLSwap() + func (window *Window) GetBrightness() float32 + func (window *Window) GetData(name string) unsafe.Pointer + func (window *Window) GetDisplayIndex() (int, error) + func (window *Window) GetDisplayMode() (mode DisplayMode, err error) + func (window *Window) GetFlags() uint32 + func (window *Window) GetGammaRamp() (red, green, blue *[256]uint16, err error) + func (window *Window) GetGrab() bool + func (window *Window) GetID() (uint32, error) + func (window *Window) GetMaximumSize() (w, h int32) + func (window *Window) GetMinimumSize() (w, h int32) + func (window *Window) GetPixelFormat() (uint32, error) + func (window *Window) GetPosition() (x, y int32) + func (window *Window) GetRenderer() (*Renderer, error) + func (window *Window) GetSize() (w, h int32) + func (window *Window) GetSurface() (*Surface, error) + func (window *Window) GetTitle() string + func (window *Window) GetWMInfo() (*SysWMInfo, error) + func (window *Window) GetWindowOpacity() (opacity float32, err error) + func (window *Window) Hide() + func (window *Window) Maximize() + func (window *Window) Minimize() + func (window *Window) Raise() + func (window *Window) Restore() + func (window *Window) SetBordered(bordered bool) + func (window *Window) SetBrightness(brightness float32) error + func (window *Window) SetData(name string, userdata unsafe.Pointer) unsafe.Pointer + func (window *Window) SetDisplayMode(mode *DisplayMode) error + func (window *Window) SetFullscreen(flags uint32) error + func (window *Window) SetGammaRamp(red, green, blue *[256]uint16) error + func (window *Window) SetGrab(grabbed bool) + func (window *Window) SetIcon(icon *Surface) + func (window *Window) SetMaximumSize(maxW, maxH int32) + func (window *Window) SetMinimumSize(minW, minH int32) + func (window *Window) SetPosition(x, y int32) + func (window *Window) SetResizable(resizable bool) + func (window *Window) SetSize(w, h int32) + func (window *Window) SetTitle(title string) + func (window *Window) SetWindowOpacity(opacity float32) error + func (window *Window) Show() + func (window *Window) UpdateSurface() error + func (window *Window) UpdateSurfaceRects(rects []Rect) error + func (window *Window) VulkanCreateSurface(instance interface{}) (surface unsafe.Pointer, err error) + func (window *Window) VulkanGetDrawableSize() (w, h int32) + func (window *Window) VulkanGetInstanceExtensions() []string + func (window *Window) WarpMouseInWindow(x, y int32) + type WindowEvent struct + Data1 int32 + Data2 int32 + Event uint8 + Timestamp uint32 + Type uint32 + WindowID uint32 + func (e *WindowEvent) GetTimestamp() uint32 + func (e *WindowEvent) GetType() uint32 + type WindowsInfo struct + Window unsafe.Pointer + type X11Info struct + Display unsafe.Pointer + Window uint + type YUV_CONVERSION_MODE C.SDL_YUV_CONVERSION_MODE + func GetYUVConversionMode() YUV_CONVERSION_MODE + func GetYUVConversionModeForResolution(width, height int) YUV_CONVERSION_MODE