package vendor:glfw

⌘K
Ctrl+K
or
/

    Index

    Constants (333)
    Variables (0)

    This section is empty.

    Procedure Groups (1)

    Types

    AllocateProc ¶

    AllocateProc :: glfw_bindings.AllocateProc

    Allocator ¶

    Allocator :: glfw_bindings.Allocator

    CharModsProc ¶

    CharModsProc :: glfw_bindings.CharModsProc

    CharProc ¶

    CharProc :: glfw_bindings.CharProc

    CursorEnterProc ¶

    CursorEnterProc :: glfw_bindings.CursorEnterProc

    CursorHandle ¶

    CursorHandle :: glfw_bindings.CursorHandle

    CursorPosProc ¶

    CursorPosProc :: glfw_bindings.CursorPosProc

    DeallocateProc ¶

    DeallocateProc :: glfw_bindings.DeallocateProc

    DropProc ¶

    DropProc :: glfw_bindings.DropProc

    ErrorProc ¶

    ErrorProc :: glfw_bindings.ErrorProc

    FramebufferSizeProc ¶

    FramebufferSizeProc :: glfw_bindings.FramebufferSizeProc

    GamepadState ¶

    GamepadState :: glfw_bindings.GamepadState

    GammaRamp ¶

    GammaRamp :: glfw_bindings.GammaRamp

    Image ¶

    Image :: glfw_bindings.Image

    JoystickProc ¶

    JoystickProc :: glfw_bindings.JoystickProc

    KeyProc ¶

    KeyProc :: glfw_bindings.KeyProc

    MonitorHandle ¶

    MonitorHandle :: glfw_bindings.MonitorHandle

    MonitorProc ¶

    MonitorProc :: glfw_bindings.MonitorProc

    MouseButtonProc ¶

    MouseButtonProc :: glfw_bindings.MouseButtonProc

    ReallocateProc ¶

    ReallocateProc :: glfw_bindings.ReallocateProc

    ScrollProc ¶

    ScrollProc :: glfw_bindings.ScrollProc

    VidMode ¶

    VidMode :: glfw_bindings.VidMode

    WindowCloseProc ¶

    WindowCloseProc :: glfw_bindings.WindowCloseProc

    WindowContentScaleProc ¶

    WindowContentScaleProc :: glfw_bindings.WindowContentScaleProc

    WindowFocusProc ¶

    WindowFocusProc :: glfw_bindings.WindowFocusProc

    WindowHandle ¶

    WindowHandle :: glfw_bindings.WindowHandle

    WindowIconifyProc ¶

    WindowIconifyProc :: glfw_bindings.WindowIconifyProc
     

    Procedure type declarations

    WindowMaximizeProc ¶

    WindowMaximizeProc :: glfw_bindings.WindowMaximizeProc

    WindowPosProc ¶

    WindowPosProc :: glfw_bindings.WindowPosProc

    WindowRefreshProc ¶

    WindowRefreshProc :: glfw_bindings.WindowRefreshProc

    WindowSizeProc ¶

    WindowSizeProc :: glfw_bindings.WindowSizeProc

    Constants

    ACCUM_ALPHA_BITS ¶

    ACCUM_ALPHA_BITS :: 0x0002100A

    ACCUM_BLUE_BITS ¶

    ACCUM_BLUE_BITS :: 0x00021009

    ACCUM_GREEN_BITS ¶

    ACCUM_GREEN_BITS :: 0x00021008

    ACCUM_RED_BITS ¶

    ACCUM_RED_BITS :: 0x00021007

    ALPHA_BITS ¶

    ALPHA_BITS :: 0x00021004

    ANGLE_PLATFORM_TYPE ¶

    ANGLE_PLATFORM_TYPE :: 0x00050002

    ANGLE_PLATFORM_TYPE_D3D11 ¶

    ANGLE_PLATFORM_TYPE_D3D11 :: 0x00037005

    ANGLE_PLATFORM_TYPE_D3D9 ¶

    ANGLE_PLATFORM_TYPE_D3D9 :: 0x00037004

    ANGLE_PLATFORM_TYPE_METAL ¶

    ANGLE_PLATFORM_TYPE_METAL :: 0x00037008

    ANGLE_PLATFORM_TYPE_NONE ¶

    ANGLE_PLATFORM_TYPE_NONE :: 0x00037001

    ANGLE_PLATFORM_TYPE_OPENGL ¶

    ANGLE_PLATFORM_TYPE_OPENGL :: 0x00037002

    ANGLE_PLATFORM_TYPE_OPENGLES ¶

    ANGLE_PLATFORM_TYPE_OPENGLES :: 0x00037003

    ANGLE_PLATFORM_TYPE_VULKAN ¶

    ANGLE_PLATFORM_TYPE_VULKAN :: 0x00037007

    ANY_PLATFORM ¶

    ANY_PLATFORM :: 0x00060000

    ANY_POSITION ¶

    ANY_POSITION :: 0x80000000

    ANY_RELEASE_BEHAVIOR ¶

    ANY_RELEASE_BEHAVIOR :: 0
     

    Behavior?

    API_UNAVAILABLE ¶

    API_UNAVAILABLE :: 0x00010006

    ARROW_CURSOR ¶

    ARROW_CURSOR :: 0x00036001
     

    Types of cursors

    AUTO_ICONIFY ¶

    AUTO_ICONIFY :: 0x00020006

    AUX_BUFFERS ¶

    AUX_BUFFERS :: 0x0002100B

    BLUE_BITS ¶

    BLUE_BITS :: 0x00021003

    CENTER_CURSOR ¶

    CENTER_CURSOR :: 0x00020009

    CLIENT_API ¶

    CLIENT_API :: 0x00022001
     

    Context window attributes

    COCOA_CHDIR_RESOURCES ¶

    COCOA_CHDIR_RESOURCES :: 0x00051001
     

    Platform specific init hints.

    COCOA_FRAME_NAME ¶

    COCOA_FRAME_NAME :: 0x00023002

    COCOA_GRAPHICS_SWITCHING ¶

    COCOA_GRAPHICS_SWITCHING :: 0x00023003

    COCOA_MENUBAR ¶

    COCOA_MENUBAR :: 0x00051002

    COCOA_RETINA_FRAMEBUFFER ¶

    COCOA_RETINA_FRAMEBUFFER :: 0x00023001
     

    Cross platform attributes

    CONNECTED ¶

    CONNECTED :: 0x00040001
     

    Joystick?

    CONTEXT_CREATION_API ¶

    CONTEXT_CREATION_API :: 0x0002200B

    CONTEXT_DEBUG ¶

    CONTEXT_DEBUG :: 0x00022007

    CONTEXT_NO_ERROR ¶

    CONTEXT_NO_ERROR :: 0x0002200A

    CONTEXT_RELEASE_BEHAVIOR ¶

    CONTEXT_RELEASE_BEHAVIOR :: 0x00022009

    CONTEXT_REVISION ¶

    CONTEXT_REVISION :: 0x00022004

    CONTEXT_ROBUSTNESS ¶

    CONTEXT_ROBUSTNESS :: 0x00022005

    CONTEXT_VERSION_MAJOR ¶

    CONTEXT_VERSION_MAJOR :: 0x00022002

    CONTEXT_VERSION_MINOR ¶

    CONTEXT_VERSION_MINOR :: 0x00022003

    CROSSHAIR_CURSOR ¶

    CROSSHAIR_CURSOR :: 0x00036003

    CURSOR ¶

    CURSOR :: 0x00033001
     

    Cursor draw state and whether keys are sticky

    CURSOR_CAPTURED ¶

    CURSOR_CAPTURED :: 0x00034004

    CURSOR_DISABLED ¶

    CURSOR_DISABLED :: 0x00034003

    CURSOR_HIDDEN ¶

    CURSOR_HIDDEN :: 0x00034002

    CURSOR_NORMAL ¶

    CURSOR_NORMAL :: 0x00034001
     

    Cursor draw state

    CURSOR_UNAVAILABLE ¶

    CURSOR_UNAVAILABLE :: 0x0001000B

    DECORATED ¶

    DECORATED :: 0x00020005

    DEPTH_BITS ¶

    DEPTH_BITS :: 0x00021005

    DISCONNECTED ¶

    DISCONNECTED :: 0x00040002

    DONT_CARE ¶

    DONT_CARE :: -1

    DOUBLEBUFFER ¶

    DOUBLEBUFFER :: 0x00021010

    EGL_CONTEXT_API ¶

    EGL_CONTEXT_API :: 0x00036002

    FALSE ¶

    FALSE :: false

    FEATURE_UNAVAILABLE ¶

    FEATURE_UNAVAILABLE :: 0x0001000C

    FEATURE_UNIMPLEMENTED ¶

    FEATURE_UNIMPLEMENTED :: 0x0001000D

    FLOATING ¶

    FLOATING :: 0x00020007

    FOCUSED ¶

    FOCUSED :: 0x00020001
     

    Window attributes

    FOCUS_ON_SHOW ¶

    FOCUS_ON_SHOW :: 0x0002000C

    FORMAT_UNAVAILABLE ¶

    FORMAT_UNAVAILABLE :: 0x00010009

    GAMEPAD_AXIS_LAST ¶

    GAMEPAD_AXIS_LAST :: GAMEPAD_AXIS_RIGHT_TRIGGER

    GAMEPAD_AXIS_LEFT_TRIGGER ¶

    GAMEPAD_AXIS_LEFT_TRIGGER :: 4

    GAMEPAD_AXIS_LEFT_X ¶

    GAMEPAD_AXIS_LEFT_X :: 0
     

    Gamepad axes

    GAMEPAD_AXIS_LEFT_Y ¶

    GAMEPAD_AXIS_LEFT_Y :: 1

    GAMEPAD_AXIS_RIGHT_TRIGGER ¶

    GAMEPAD_AXIS_RIGHT_TRIGGER :: 5

    GAMEPAD_AXIS_RIGHT_X ¶

    GAMEPAD_AXIS_RIGHT_X :: 2

    GAMEPAD_AXIS_RIGHT_Y ¶

    GAMEPAD_AXIS_RIGHT_Y :: 3

    GAMEPAD_BUTTON_A ¶

    GAMEPAD_BUTTON_A :: 0
     

    Gamepad buttons

    GAMEPAD_BUTTON_B ¶

    GAMEPAD_BUTTON_B :: 1

    GAMEPAD_BUTTON_BACK ¶

    GAMEPAD_BUTTON_BACK :: 6

    GAMEPAD_BUTTON_CIRCLE ¶

    GAMEPAD_BUTTON_CIRCLE :: GAMEPAD_BUTTON_B

    GAMEPAD_BUTTON_CROSS ¶

    GAMEPAD_BUTTON_CROSS :: GAMEPAD_BUTTON_A

    GAMEPAD_BUTTON_DPAD_DOWN ¶

    GAMEPAD_BUTTON_DPAD_DOWN :: 13

    GAMEPAD_BUTTON_DPAD_LEFT ¶

    GAMEPAD_BUTTON_DPAD_LEFT :: 14

    GAMEPAD_BUTTON_DPAD_RIGHT ¶

    GAMEPAD_BUTTON_DPAD_RIGHT :: 12

    GAMEPAD_BUTTON_DPAD_UP ¶

    GAMEPAD_BUTTON_DPAD_UP :: 11

    GAMEPAD_BUTTON_GUIDE ¶

    GAMEPAD_BUTTON_GUIDE :: 8

    GAMEPAD_BUTTON_LAST ¶

    GAMEPAD_BUTTON_LAST :: GAMEPAD_BUTTON_DPAD_LEFT

    GAMEPAD_BUTTON_LEFT_BUMPER ¶

    GAMEPAD_BUTTON_LEFT_BUMPER :: 4

    GAMEPAD_BUTTON_LEFT_THUMB ¶

    GAMEPAD_BUTTON_LEFT_THUMB :: 9

    GAMEPAD_BUTTON_RIGHT_BUMPER ¶

    GAMEPAD_BUTTON_RIGHT_BUMPER :: 5

    GAMEPAD_BUTTON_RIGHT_THUMB ¶

    GAMEPAD_BUTTON_RIGHT_THUMB :: 10

    GAMEPAD_BUTTON_SQUARE ¶

    GAMEPAD_BUTTON_SQUARE :: GAMEPAD_BUTTON_X

    GAMEPAD_BUTTON_START ¶

    GAMEPAD_BUTTON_START :: 7

    GAMEPAD_BUTTON_TRIANGLE ¶

    GAMEPAD_BUTTON_TRIANGLE :: GAMEPAD_BUTTON_Y

    GAMEPAD_BUTTON_X ¶

    GAMEPAD_BUTTON_X :: 2

    GAMEPAD_BUTTON_Y ¶

    GAMEPAD_BUTTON_Y :: 3

    GLFW_SHARED ¶

    GLFW_SHARED :: #config(GLFW_SHARED, false)
     

    Config

    GREEN_BITS ¶

    GREEN_BITS :: 0x00021002

    HAND_CURSOR ¶

    HAND_CURSOR :: POINTING_HAND_CURSOR

    HAT_CENTERED ¶

    HAT_CENTERED :: 0
     

    Joystick hat states.

    HAT_DOWN ¶

    HAT_DOWN :: 4

    HAT_LEFT ¶

    HAT_LEFT :: 8

    HAT_LEFT_DOWN ¶

    HAT_LEFT_DOWN :: HAT_LEFT | HAT_DOWN

    HAT_LEFT_UP ¶

    HAT_LEFT_UP :: HAT_LEFT | HAT_UP

    HAT_RIGHT ¶

    HAT_RIGHT :: 2

    HAT_RIGHT_DOWN ¶

    HAT_RIGHT_DOWN :: HAT_RIGHT | HAT_DOWN

    HAT_RIGHT_UP ¶

    HAT_RIGHT_UP :: HAT_RIGHT | HAT_UP

    HAT_UP ¶

    HAT_UP :: 1

    HOVERED ¶

    HOVERED :: 0x0002000B

    HRESIZE_CURSOR ¶

    HRESIZE_CURSOR :: RESIZE_EW_CURSOR
     

    Backwards compatibility cursors.

    IBEAM_CURSOR ¶

    IBEAM_CURSOR :: 0x00036002

    ICONIFIED ¶

    ICONIFIED :: 0x00020002

    INVALID_ENUM ¶

    INVALID_ENUM :: 0x00010003

    INVALID_VALUE ¶

    INVALID_VALUE :: 0x00010004

    JOYSTICK_1 ¶

    JOYSTICK_1 :: 0
     

    Joystick buttons

    JOYSTICK_10 ¶

    JOYSTICK_10 :: 9

    JOYSTICK_11 ¶

    JOYSTICK_11 :: 10

    JOYSTICK_12 ¶

    JOYSTICK_12 :: 11

    JOYSTICK_13 ¶

    JOYSTICK_13 :: 12

    JOYSTICK_14 ¶

    JOYSTICK_14 :: 13

    JOYSTICK_15 ¶

    JOYSTICK_15 :: 14

    JOYSTICK_16 ¶

    JOYSTICK_16 :: 15

    JOYSTICK_2 ¶

    JOYSTICK_2 :: 1

    JOYSTICK_3 ¶

    JOYSTICK_3 :: 2

    JOYSTICK_4 ¶

    JOYSTICK_4 :: 3

    JOYSTICK_5 ¶

    JOYSTICK_5 :: 4

    JOYSTICK_6 ¶

    JOYSTICK_6 :: 5

    JOYSTICK_7 ¶

    JOYSTICK_7 :: 6

    JOYSTICK_8 ¶

    JOYSTICK_8 :: 7

    JOYSTICK_9 ¶

    JOYSTICK_9 :: 8

    JOYSTICK_HAT_BUTTONS ¶

    JOYSTICK_HAT_BUTTONS :: 0x00050001

    JOYSTICK_LAST ¶

    JOYSTICK_LAST :: JOYSTICK_16

    KEY_0 ¶

    KEY_0 :: 48
     

    Alphanumeric characters

    KEY_1 ¶

    KEY_1 :: 49

    KEY_2 ¶

    KEY_2 :: 50

    KEY_3 ¶

    KEY_3 :: 51

    KEY_4 ¶

    KEY_4 :: 52

    KEY_5 ¶

    KEY_5 :: 53

    KEY_6 ¶

    KEY_6 :: 54

    KEY_7 ¶

    KEY_7 :: 55

    KEY_8 ¶

    KEY_8 :: 56

    KEY_9 ¶

    KEY_9 :: 57

    KEY_A ¶

    KEY_A :: 65

    KEY_APOSTROPHE ¶

    KEY_APOSTROPHE :: 39
     

    '

    KEY_B ¶

    KEY_B :: 66

    KEY_BACKSLASH ¶

    KEY_BACKSLASH :: 92
     

    \

    KEY_BACKSPACE ¶

    KEY_BACKSPACE :: 259

    KEY_C ¶

    KEY_C :: 67

    KEY_CAPS_LOCK ¶

    KEY_CAPS_LOCK :: 280

    KEY_COMMA ¶

    KEY_COMMA :: 44
     

    ,

    KEY_D ¶

    KEY_D :: 68

    KEY_DELETE ¶

    KEY_DELETE :: 261

    KEY_DOWN ¶

    KEY_DOWN :: 264

    KEY_E ¶

    KEY_E :: 69

    KEY_END ¶

    KEY_END :: 269

    KEY_ENTER ¶

    KEY_ENTER :: 257

    KEY_EQUAL ¶

    KEY_EQUAL :: 61
     

    ::

    KEY_ESCAPE ¶

    KEY_ESCAPE :: 256
     

    Named non-printable keys

    KEY_F ¶

    KEY_F :: 70

    KEY_F1 ¶

    KEY_F1 :: 290
     

    Function keys

    KEY_F10 ¶

    KEY_F10 :: 299

    KEY_F11 ¶

    KEY_F11 :: 300

    KEY_F12 ¶

    KEY_F12 :: 301

    KEY_F13 ¶

    KEY_F13 :: 302

    KEY_F14 ¶

    KEY_F14 :: 303

    KEY_F15 ¶

    KEY_F15 :: 304

    KEY_F16 ¶

    KEY_F16 :: 305

    KEY_F17 ¶

    KEY_F17 :: 306

    KEY_F18 ¶

    KEY_F18 :: 307

    KEY_F19 ¶

    KEY_F19 :: 308

    KEY_F2 ¶

    KEY_F2 :: 291

    KEY_F20 ¶

    KEY_F20 :: 309

    KEY_F21 ¶

    KEY_F21 :: 310

    KEY_F22 ¶

    KEY_F22 :: 311

    KEY_F23 ¶

    KEY_F23 :: 312

    KEY_F24 ¶

    KEY_F24 :: 313

    KEY_F25 ¶

    KEY_F25 :: 314

    KEY_F3 ¶

    KEY_F3 :: 292

    KEY_F4 ¶

    KEY_F4 :: 293

    KEY_F5 ¶

    KEY_F5 :: 294

    KEY_F6 ¶

    KEY_F6 :: 295

    KEY_F7 ¶

    KEY_F7 :: 296

    KEY_F8 ¶

    KEY_F8 :: 297

    KEY_F9 ¶

    KEY_F9 :: 298

    KEY_G ¶

    KEY_G :: 71

    KEY_GRAVE_ACCENT ¶

    KEY_GRAVE_ACCENT :: 96
     

    `

    KEY_H ¶

    KEY_H :: 72

    KEY_HOME ¶

    KEY_HOME :: 268

    KEY_I ¶

    KEY_I :: 73

    KEY_INSERT ¶

    KEY_INSERT :: 260

    KEY_J ¶

    KEY_J :: 74

    KEY_K ¶

    KEY_K :: 75

    KEY_KP_0 ¶

    KEY_KP_0 :: 320
     

    Keypad numbers

    KEY_KP_1 ¶

    KEY_KP_1 :: 321

    KEY_KP_2 ¶

    KEY_KP_2 :: 322

    KEY_KP_3 ¶

    KEY_KP_3 :: 323

    KEY_KP_4 ¶

    KEY_KP_4 :: 324

    KEY_KP_5 ¶

    KEY_KP_5 :: 325

    KEY_KP_6 ¶

    KEY_KP_6 :: 326

    KEY_KP_7 ¶

    KEY_KP_7 :: 327

    KEY_KP_8 ¶

    KEY_KP_8 :: 328

    KEY_KP_9 ¶

    KEY_KP_9 :: 329

    KEY_KP_ADD ¶

    KEY_KP_ADD :: 334

    KEY_KP_DECIMAL ¶

    KEY_KP_DECIMAL :: 330
     

    Keypad named function keys

    KEY_KP_DIVIDE ¶

    KEY_KP_DIVIDE :: 331

    KEY_KP_ENTER ¶

    KEY_KP_ENTER :: 335

    KEY_KP_EQUAL ¶

    KEY_KP_EQUAL :: 336

    KEY_KP_MULTIPLY ¶

    KEY_KP_MULTIPLY :: 332

    KEY_KP_SUBTRACT ¶

    KEY_KP_SUBTRACT :: 333

    KEY_L ¶

    KEY_L :: 76

    KEY_LAST ¶

    KEY_LAST :: KEY_MENU

    KEY_LEFT ¶

    KEY_LEFT :: 263

    KEY_LEFT_ALT ¶

    KEY_LEFT_ALT :: 342

    KEY_LEFT_BRACKET ¶

    KEY_LEFT_BRACKET :: 91
     

    [

    KEY_LEFT_CONTROL ¶

    KEY_LEFT_CONTROL :: 341

    KEY_LEFT_SHIFT ¶

    KEY_LEFT_SHIFT :: 340
     

    Modifier keys

    KEY_LEFT_SUPER ¶

    KEY_LEFT_SUPER :: 343

    KEY_M ¶

    KEY_M :: 77

    KEY_MENU ¶

    KEY_MENU :: 348

    KEY_MINUS ¶

    KEY_MINUS :: 45
     

    -

    KEY_N ¶

    KEY_N :: 78

    KEY_NUM_LOCK ¶

    KEY_NUM_LOCK :: 282

    KEY_O ¶

    KEY_O :: 79

    KEY_P ¶

    KEY_P :: 80

    KEY_PAGE_DOWN ¶

    KEY_PAGE_DOWN :: 267

    KEY_PAGE_UP ¶

    KEY_PAGE_UP :: 266

    KEY_PAUSE ¶

    KEY_PAUSE :: 284

    KEY_PERIOD ¶

    KEY_PERIOD :: 46
     

    .

    KEY_PRINT_SCREEN ¶

    KEY_PRINT_SCREEN :: 283

    KEY_Q ¶

    KEY_Q :: 81

    KEY_R ¶

    KEY_R :: 82

    KEY_RIGHT ¶

    KEY_RIGHT :: 262

    KEY_RIGHT_ALT ¶

    KEY_RIGHT_ALT :: 346

    KEY_RIGHT_BRACKET ¶

    KEY_RIGHT_BRACKET :: 93
     

    ]

    KEY_RIGHT_CONTROL ¶

    KEY_RIGHT_CONTROL :: 345

    KEY_RIGHT_SHIFT ¶

    KEY_RIGHT_SHIFT :: 344

    KEY_RIGHT_SUPER ¶

    KEY_RIGHT_SUPER :: 347

    KEY_S ¶

    KEY_S :: 83

    KEY_SCROLL_LOCK ¶

    KEY_SCROLL_LOCK :: 281

    KEY_SEMICOLON ¶

    KEY_SEMICOLON :: 59
     

    ;

    KEY_SLASH ¶

    KEY_SLASH :: 47
     

    /

    KEY_SPACE ¶

    KEY_SPACE :: 32
     

    Named printable keys

    KEY_T ¶

    KEY_T :: 84

    KEY_TAB ¶

    KEY_TAB :: 258

    KEY_U ¶

    KEY_U :: 85

    KEY_UNKNOWN ¶

    KEY_UNKNOWN :: -1
     

    The unknown key

    KEY_UP ¶

    KEY_UP :: 265

    KEY_V ¶

    KEY_V :: 86

    KEY_W ¶

    KEY_W :: 87

    KEY_WORLD_1 ¶

    KEY_WORLD_1 :: 161
     

    non-US #1

    KEY_WORLD_2 ¶

    KEY_WORLD_2 :: 162
     

    non-US #2

    KEY_X ¶

    KEY_X :: 88

    KEY_Y ¶

    KEY_Y :: 89

    KEY_Z ¶

    KEY_Z :: 90

    LOCK_KEY_MODS ¶

    LOCK_KEY_MODS :: 0x00033004

    LOSE_CONTEXT_ON_RESET ¶

    LOSE_CONTEXT_ON_RESET :: 0x00031002

    MAXIMIZED ¶

    MAXIMIZED :: 0x00020008

    MOD_ALT ¶

    MOD_ALT :: 0x0004

    MOD_CAPS_LOCK ¶

    MOD_CAPS_LOCK :: 0x0010

    MOD_CONTROL ¶

    MOD_CONTROL :: 0x0002

    MOD_NUM_LOCK ¶

    MOD_NUM_LOCK :: 0x0020

    MOD_SHIFT ¶

    MOD_SHIFT :: 0x0001
     

    Bitmask for modifier keys

    MOD_SUPER ¶

    MOD_SUPER :: 0x0008

    MOUSE_BUTTON_1 ¶

    MOUSE_BUTTON_1 :: 0
     

    Mouse buttons

    MOUSE_BUTTON_2 ¶

    MOUSE_BUTTON_2 :: 1

    MOUSE_BUTTON_3 ¶

    MOUSE_BUTTON_3 :: 2

    MOUSE_BUTTON_4 ¶

    MOUSE_BUTTON_4 :: 3

    MOUSE_BUTTON_5 ¶

    MOUSE_BUTTON_5 :: 4

    MOUSE_BUTTON_6 ¶

    MOUSE_BUTTON_6 :: 5

    MOUSE_BUTTON_7 ¶

    MOUSE_BUTTON_7 :: 6

    MOUSE_BUTTON_8 ¶

    MOUSE_BUTTON_8 :: 7

    MOUSE_BUTTON_LAST ¶

    MOUSE_BUTTON_LAST :: MOUSE_BUTTON_8
     

    Mousebutton aliases

    MOUSE_BUTTON_LEFT ¶

    MOUSE_BUTTON_LEFT :: MOUSE_BUTTON_1

    MOUSE_BUTTON_MIDDLE ¶

    MOUSE_BUTTON_MIDDLE :: MOUSE_BUTTON_3

    MOUSE_BUTTON_RIGHT ¶

    MOUSE_BUTTON_RIGHT :: MOUSE_BUTTON_2

    MOUSE_PASSTHROUGH ¶

    MOUSE_PASSTHROUGH :: 0x0002000D

    NATIVE_CONTEXT_API ¶

    NATIVE_CONTEXT_API :: 0x00036001
     

    Context API ?

    NOT_ALLOWED_CURSOR ¶

    NOT_ALLOWED_CURSOR :: 0x0003600A

    NOT_INITIALIZED ¶

    NOT_INITIALIZED :: 0x00010001

    NO_API ¶

    NO_API :: 0
     

    APIs

    NO_CURRENT_CONTEXT ¶

    NO_CURRENT_CONTEXT :: 0x00010002

    NO_ERROR ¶

    NO_ERROR :: 0x00000000
     

    Error constants

    NO_RESET_NOTIFICATION ¶

    NO_RESET_NOTIFICATION :: 0x00031001

    NO_ROBUSTNESS ¶

    NO_ROBUSTNESS :: 0
     

    Robustness?

    NO_WINDOW_CONTEXT ¶

    NO_WINDOW_CONTEXT :: 0x0001000A

    OPENGL_ANY_PROFILE ¶

    OPENGL_ANY_PROFILE :: 0
     

    OpenGL Profiles

    OPENGL_API ¶

    OPENGL_API :: 0x00030001

    OPENGL_COMPAT_PROFILE ¶

    OPENGL_COMPAT_PROFILE :: 0x00032002

    OPENGL_CORE_PROFILE ¶

    OPENGL_CORE_PROFILE :: 0x00032001

    OPENGL_DEBUG_CONTEXT ¶

    OPENGL_DEBUG_CONTEXT :: CONTEXT_DEBUG
     

    Backwards compatibility

    OPENGL_ES_API ¶

    OPENGL_ES_API :: 0x00030002

    OPENGL_FORWARD_COMPAT ¶

    OPENGL_FORWARD_COMPAT :: 0x00022006

    OPENGL_PROFILE ¶

    OPENGL_PROFILE :: 0x00022008

    OSMESA_CONTEXT_API ¶

    OSMESA_CONTEXT_API :: 0x00036003

    OUT_OF_MEMORY ¶

    OUT_OF_MEMORY :: 0x00010005

    PLATFORM ¶

    PLATFORM :: 0x00050003

    PLATFORM_COCOA ¶

    PLATFORM_COCOA :: 0x00060002

    PLATFORM_ERROR ¶

    PLATFORM_ERROR :: 0x00010008

    PLATFORM_NULL ¶

    PLATFORM_NULL :: 0x00060005

    PLATFORM_UNAVAILABLE ¶

    PLATFORM_UNAVAILABLE :: 0x0001000E

    PLATFORM_WAYLAND ¶

    PLATFORM_WAYLAND :: 0x00060003

    PLATFORM_WIN32 ¶

    PLATFORM_WIN32 :: 0x00060001

    PLATFORM_X11 ¶

    PLATFORM_X11 :: 0x00060004

    POINTING_HAND_CURSOR ¶

    POINTING_HAND_CURSOR :: 0x00036004

    POSITION_X ¶

    POSITION_X :: 0x0002000E

    POSITION_Y ¶

    POSITION_Y :: 0x0002000F

    PRESS ¶

    PRESS :: 1

    RAW_MOUSE_MOTION ¶

    RAW_MOUSE_MOTION :: 0x00033005
     

    Mouse motion

    RED_BITS ¶

    RED_BITS :: 0x00021001
     

    Pixel window attributes

    REFRESH_RATE ¶

    REFRESH_RATE :: 0x0002100F

    RELEASE ¶

    RELEASE :: 0
     

    Button/Key states

    RELEASE_BEHAVIOR_FLUSH ¶

    RELEASE_BEHAVIOR_FLUSH :: 0x00035001

    RELEASE_BEHAVIOR_NONE ¶

    RELEASE_BEHAVIOR_NONE :: 0x00035002

    REPEAT ¶

    REPEAT :: 2

    RESIZABLE ¶

    RESIZABLE :: 0x00020003

    RESIZE_ALL_CURSOR ¶

    RESIZE_ALL_CURSOR :: 0x00036009

    RESIZE_EW_CURSOR ¶

    RESIZE_EW_CURSOR :: 0x00036005

    RESIZE_NESW_CURSOR ¶

    RESIZE_NESW_CURSOR :: 0x00036008

    RESIZE_NS_CURSOR ¶

    RESIZE_NS_CURSOR :: 0x00036006

    RESIZE_NWSE_CURSOR ¶

    RESIZE_NWSE_CURSOR :: 0x00036007

    SAMPLES ¶

    SAMPLES :: 0x0002100D

    SCALE_FRAMEBUFFER ¶

    SCALE_FRAMEBUFFER :: 0x0002200D

    SCALE_TO_MONITOR ¶

    SCALE_TO_MONITOR :: 0x0002200C

    SRGB_CAPABLE ¶

    SRGB_CAPABLE :: 0x0002100E

    STENCIL_BITS ¶

    STENCIL_BITS :: 0x00021006

    STEREO ¶

    STEREO :: 0x0002100C

    STICKY_KEYS ¶

    STICKY_KEYS :: 0x00033002

    STICKY_MOUSE_BUTTONS ¶

    STICKY_MOUSE_BUTTONS :: 0x00033003

    TRANSPARENT_FRAMEBUFFER ¶

    TRANSPARENT_FRAMEBUFFER :: 0x0002000A

    TRUE ¶

    TRUE :: true
     

    Booleans

    VERSION_MAJOR ¶

    VERSION_MAJOR :: 3
     

    Constants Versions

    VERSION_MINOR ¶

    VERSION_MINOR :: 4

    VERSION_REVISION ¶

    VERSION_REVISION :: 0

    VERSION_UNAVAILABLE ¶

    VERSION_UNAVAILABLE :: 0x00010007

    VISIBLE ¶

    VISIBLE :: 0x00020004

    VRESIZE_CURSOR ¶

    VRESIZE_CURSOR :: RESIZE_NS_CURSOR

    WAYLAND_APP_ID ¶

    WAYLAND_APP_ID :: 0x00026001

    WAYLAND_DISABLE_LIBDECOR ¶

    WAYLAND_DISABLE_LIBDECOR :: 0x00038002

    WAYLAND_LIBDECOR ¶

    WAYLAND_LIBDECOR :: 0x00053001

    WAYLAND_PREFER_LIBDECOR ¶

    WAYLAND_PREFER_LIBDECOR :: 0x00038001

    WIN32_KEYBOARD_MENU ¶

    WIN32_KEYBOARD_MENU :: 0x00025001

    WIN32_SHOWDEFAULT ¶

    WIN32_SHOWDEFAULT :: 0x00025002

    X11_CLASS_NAME ¶

    X11_CLASS_NAME :: 0x00024001

    X11_INSTANCE_NAME ¶

    X11_INSTANCE_NAME :: 0x00024002

    X11_XCB_VULKAN_SURFACE ¶

    X11_XCB_VULKAN_SURFACE :: 0x00052001

    Variables

    This section is empty.

    Procedures

    GetClipboardString ¶

    GetClipboardString :: proc "c" (window: glfw_bindings.WindowHandle) -> string {…}

    GetCursorPos ¶

    GetCursorPos :: proc "c" (window: glfw_bindings.WindowHandle) -> (xpos, ypos: f64) {…}

    GetError ¶

    GetError :: proc "c" () -> (description: string, code: i32) {…}

    GetFramebufferSize ¶

    GetFramebufferSize :: proc "c" (window: glfw_bindings.WindowHandle) -> (width, height: i32) {…}

    GetGamepadName ¶

    GetGamepadName :: proc "c" (jid: i32) -> string {…}

    GetJoystickAxes ¶

    GetJoystickAxes :: proc "c" (joy: i32) -> []f32 {…}

    GetJoystickButtons ¶

    GetJoystickButtons :: proc "c" (joy: i32) -> []u8 {…}

    GetJoystickGUID ¶

    GetJoystickGUID :: proc "c" (jid: i32) -> string {…}

    GetJoystickHats ¶

    GetJoystickHats :: proc "c" (jid: i32) -> []u8 {…}

    GetJoystickName ¶

    GetJoystickName :: proc "c" (joy: i32) -> string {…}

    GetKeyName ¶

    GetKeyName :: proc "c" (key, scancode: i32) -> string {…}

    GetMonitorContentScale ¶

    GetMonitorContentScale :: proc "c" (monitor: glfw_bindings.MonitorHandle) -> (xscale, yscale: f32) {…}

    GetMonitorName ¶

    GetMonitorName :: proc "c" (monitor: glfw_bindings.MonitorHandle) -> string {…}

    GetMonitorPhysicalSize ¶

    GetMonitorPhysicalSize :: proc "c" (monitor: glfw_bindings.MonitorHandle) -> (widthMM, heightMM: i32) {…}

    GetMonitorPos ¶

    GetMonitorPos :: proc "c" (monitor: glfw_bindings.MonitorHandle) -> (xpos, ypos: i32) {…}

    GetMonitors ¶

    GetMonitors :: proc "c" () -> []glfw_bindings.MonitorHandle {…}

    GetRequiredInstanceExtensions ¶

    GetRequiredInstanceExtensions :: proc "c" () -> []cstring {…}

    GetVersion ¶

    GetVersion :: proc "c" () -> (major, minor, rev: i32) {…}

    GetVersionString ¶

    GetVersionString :: proc "c" () -> string {…}

    GetVideoModes ¶

    GetVideoModes :: proc "c" (monitor: glfw_bindings.MonitorHandle) -> []glfw_bindings.VidMode {…}

    GetWGLContext ¶

    GetWGLContext :: proc "c" (window: glfw_bindings.WindowHandle) -> rawptr ---

    GetWin32Adapter ¶

    GetWin32Adapter :: proc "c" (monitor: glfw_bindings.MonitorHandle) -> cstring ---

    GetWin32Monitor ¶

    GetWin32Monitor :: proc "c" (monitor: glfw_bindings.MonitorHandle) -> cstring ---

    GetWin32Window ¶

    GetWin32Window :: proc "c" (window: glfw_bindings.WindowHandle) -> sys_windows.HWND ---

    GetWindowContentScale ¶

    GetWindowContentScale :: proc "c" (window: glfw_bindings.WindowHandle) -> (xscale, yscale: f32) {…}

    GetWindowFrameSize ¶

    GetWindowFrameSize :: proc "c" (window: glfw_bindings.WindowHandle) -> (left, top, right, bottom: i32) {…}

    GetWindowPos ¶

    GetWindowPos :: proc "c" (window: glfw_bindings.WindowHandle) -> (xpos, ypos: i32) {…}

    GetWindowSize ¶

    GetWindowSize :: proc "c" (window: glfw_bindings.WindowHandle) -> (width, height: i32) {…}

    SetWindowIcon ¶

    SetWindowIcon :: proc "c" (window: glfw_bindings.WindowHandle, images: []glfw_bindings.Image) {…}

    WindowHint_bool ¶

    WindowHint_bool :: proc "contextless" (hint: i32, value: b32) {…}

    WindowHint_int ¶

    WindowHint_int :: proc "contextless" (hint: i32, value: i32) {…}

    gl_set_proc_address ¶

    gl_set_proc_address :: proc(p: rawptr, name: cstring) {…}
     

    Used by vendor:OpenGL

    Procedure Groups

    Source Files

    Generation Information

    Generated with odin version dev-2024-11 (vendor "odin") Windows_amd64 @ 2024-11-20 21:11:52.068149000 +0000 UTC