package vendor:glfw/bindings
⌘K
Ctrl+K
or
/
Index
Types (27)
- CharModsProc
- CharProc
- CursorEnterProc
- CursorHandle
- CursorPosProc
- DropProc
- ErrorProc
- FramebufferSizeProc
- GamepadState
- GammaRamp
- Image
- JoystickProc
- KeyProc
- MonitorHandle
- MonitorProc
- MouseButtonProc
- ScrollProc
- VidMode
- WindowCloseProc
- WindowContentScaleProc
- WindowFocusProc
- WindowHandle
- WindowIconifyProc
- WindowMaximizeProc
- WindowPosProc
- WindowRefreshProc
- WindowSizeProc
Constants (1)
Variables (0)
This section is empty.
Procedures (118)
- CreateCursor
- CreateStandardCursor
- CreateWindow
- CreateWindowSurface
- DefaultWindowHints
- DestroyCursor
- DestroyWindow
- ExtensionSupported
- FocusWindow
- GetClipboardString
- GetCurrentContext
- GetCursorPos
- GetError
- GetFramebufferSize
- GetGamepadName
- GetGamepadState
- GetGammaRamp
- GetInputMode
- GetInstanceProcAddress
- GetJoystickAxes
- GetJoystickButtons
- GetJoystickGUID
- GetJoystickHats
- GetJoystickName
- GetJoystickUserPointer
- GetKey
- GetKeyName
- GetKeyScancode
- GetMonitorContentScale
- GetMonitorName
- GetMonitorPhysicalSize
- GetMonitorPos
- GetMonitorUserPointer
- GetMonitors
- GetMouseButton
- GetPhysicalDevicePresentationSupport
- GetPrimaryMonitor
- GetProcAddress
- GetRequiredInstanceExtensions
- GetTime
- GetTimerFrequency
- GetTimerValue
- GetVersion
- GetVersionString
- GetVideoMode
- GetVideoModes
- GetWindowAttrib
- GetWindowContentScale
- GetWindowFrameSize
- GetWindowMonitor
- GetWindowOpacity
- GetWindowPos
- GetWindowSize
- GetWindowUserPointer
- HideWindow
- IconifyWindow
- Init
- InitHint
- JoystickIsGamepad
- JoystickPresent
- MakeContextCurrent
- MaximizeWindow
- PollEvents
- PostEmptyEvent
- RawMouseMotionSupported
- RequestWindowAttention
- RestoreWindow
- SetCharCallback
- SetCharModsCallback
- SetClipboardString
- SetCursor
- SetCursorEnterCallback
- SetCursorPos
- SetCursorPosCallback
- SetDropCallback
- SetErrorCallback
- SetFramebufferSizeCallback
- SetGamma
- SetGammaRamp
- SetInputMode
- SetJoystickCallback
- SetJoystickUserPointer
- SetKeyCallback
- SetMonitorCallback
- SetMonitorUserPointer
- SetMouseButtonCallback
- SetScrollCallback
- SetTime
- SetWindowAspectRatio
- SetWindowAttrib
- SetWindowCloseCallback
- SetWindowContentScaleCallback
- SetWindowFocusCallback
- SetWindowIcon
- SetWindowIconifyCallback
- SetWindowMaximizeCallback
- SetWindowMonitor
- SetWindowOpacity
- SetWindowPos
- SetWindowPosCallback
- SetWindowRefreshCallback
- SetWindowShouldClose
- SetWindowSize
- SetWindowSizeCallback
- SetWindowSizeLimits
- SetWindowTitle
- SetWindowUserPointer
- ShowWindow
- SwapBuffers
- SwapInterval
- Terminate
- UpdateGamepadMappings
- VulkanSupported
- WaitEvents
- WaitEventsTimeout
- WindowHint
- WindowHintString
- WindowShouldClose
Procedure Groups (0)
This section is empty.
Types
CharModsProc ¶
CharModsProc :: proc "c" (window: WindowHandle, codepoint: rune, mods: i32)
CharProc ¶
CharProc :: proc "c" (window: WindowHandle, codepoint: rune)
CursorEnterProc ¶
CursorEnterProc :: proc "c" (window: WindowHandle, entered: i32)
CursorHandle ¶
CursorHandle :: distinct rawptr
CursorPosProc ¶
CursorPosProc :: proc "c" (window: WindowHandle, xpos, ypos: f64)
DropProc ¶
DropProc :: proc "c" (window: WindowHandle, count: i32, paths: [^]cstring)
ErrorProc ¶
ErrorProc :: proc "c" (error: i32, description: cstring)
FramebufferSizeProc ¶
FramebufferSizeProc :: proc "c" (window: WindowHandle, width, height: i32)
GamepadState ¶
GamepadState :: struct { buttons: [15]u8, axes: [6]f32, }
GammaRamp ¶
GammaRamp :: struct { red, green, blue: [^]u16, size: u32, }
JoystickProc ¶
JoystickProc :: proc "c" (joy, event: i32)
KeyProc ¶
KeyProc :: proc "c" (window: WindowHandle, key, scancode, action, mods: i32)
MonitorHandle ¶
MonitorHandle :: distinct rawptr
MonitorProc ¶
MonitorProc :: proc "c" (window: WindowHandle)
MouseButtonProc ¶
MouseButtonProc :: proc "c" (window: WindowHandle, button, action, mods: i32)
ScrollProc ¶
ScrollProc :: proc "c" (window: WindowHandle, xoffset, yoffset: f64)
VidMode ¶
VidMode :: struct { width: i32, height: i32, red_bits: i32, green_bits: i32, blue_bits: i32, refresh_rate: i32, }
WindowCloseProc ¶
WindowCloseProc :: proc "c" (window: WindowHandle)
WindowContentScaleProc ¶
WindowContentScaleProc :: proc "c" (window: WindowHandle, xscale, yscale: f32)
WindowFocusProc ¶
WindowFocusProc :: proc "c" (window: WindowHandle, focused: i32)
WindowHandle ¶
WindowHandle :: distinct rawptr
WindowIconifyProc ¶
WindowIconifyProc :: proc "c" (window: WindowHandle, iconified: i32)
Procedure type declarations
WindowMaximizeProc ¶
WindowMaximizeProc :: proc "c" (window: WindowHandle, iconified: i32)
WindowPosProc ¶
WindowPosProc :: proc "c" (window: WindowHandle, xpos, ypos: i32)
WindowRefreshProc ¶
WindowRefreshProc :: proc "c" (window: WindowHandle)
WindowSizeProc ¶
WindowSizeProc :: proc "c" (window: WindowHandle, width, height: i32)
Constants
GLFW_DYNAMIC ¶
GLFW_DYNAMIC :: #config(GLFW_DYNAMIC, false)
Variables
This section is empty.
Procedures
CreateCursor ¶
CreateCursor :: proc "c" (image: ^Image, xhot, yhot: i32) -> CursorHandle ---
CreateStandardCursor ¶
CreateStandardCursor :: proc "c" (shape: i32) -> CursorHandle ---
CreateWindow ¶
CreateWindow :: proc "c" (width, height: i32, title: cstring, monitor: MonitorHandle, share: WindowHandle) -> WindowHandle ---
CreateWindowSurface ¶
CreateWindowSurface :: proc "c" (instance: vulkan.Instance, window: WindowHandle, allocator: ^vulkan.AllocationCallbacks, surface: ^vulkan.SurfaceKHR) -> vulkan.Result ---
DefaultWindowHints ¶
DefaultWindowHints :: proc "c" () ---
DestroyCursor ¶
DestroyCursor :: proc "c" (cursor: CursorHandle) ---
DestroyWindow ¶
DestroyWindow :: proc "c" (window: WindowHandle) ---
ExtensionSupported ¶
ExtensionSupported :: proc "c" (extension: cstring) -> i32 ---
FocusWindow ¶
FocusWindow :: proc "c" (window: WindowHandle) ---
GetClipboardString ¶
GetClipboardString :: proc "c" (window: WindowHandle) -> cstring ---
GetCurrentContext ¶
GetCurrentContext :: proc "c" () -> WindowHandle ---
GetCursorPos ¶
GetCursorPos :: proc "c" (window: WindowHandle, xpos, ypos: ^f64) ---
GetError ¶
GetError :: proc "c" (description: ^cstring) -> i32 ---
GetFramebufferSize ¶
GetFramebufferSize :: proc "c" (window: WindowHandle, width, height: ^i32) ---
GetGamepadName ¶
GetGamepadName :: proc "c" (jid: i32) -> cstring ---
GetGamepadState ¶
GetGamepadState :: proc "c" (jid: i32, state: ^GamepadState) -> i32 ---
GetGammaRamp ¶
GetGammaRamp :: proc "c" (monitor: MonitorHandle) -> ^GammaRamp ---
GetInputMode ¶
GetInputMode :: proc "c" (window: WindowHandle, mode: i32) -> i32 ---
GetInstanceProcAddress ¶
GetInstanceProcAddress :: proc "c" (instance: vulkan.Instance, procname: cstring) -> rawptr ---
GetJoystickAxes ¶
GetJoystickAxes :: proc "c" (joy: i32, count: ^i32) -> [^]f32 ---
GetJoystickButtons ¶
GetJoystickButtons :: proc "c" (joy: i32, count: ^i32) -> [^]u8 ---
GetJoystickGUID ¶
GetJoystickGUID :: proc "c" (jid: i32) -> cstring ---
GetJoystickHats ¶
GetJoystickHats :: proc "c" (jid: i32, count: ^i32) -> [^]u8 ---
GetJoystickName ¶
GetJoystickName :: proc "c" (joy: i32) -> cstring ---
GetJoystickUserPointer ¶
GetJoystickUserPointer :: proc "c" (jid: i32) -> rawptr ---
GetKey ¶
GetKey :: proc "c" (window: WindowHandle, key: i32) -> i32 ---
GetKeyName ¶
GetKeyName :: proc "c" (key, scancode: i32) -> cstring ---
GetKeyScancode ¶
GetKeyScancode :: proc "c" (key: i32) -> i32 ---
GetMonitorContentScale ¶
GetMonitorContentScale :: proc "c" (monitor: MonitorHandle, xscale, yscale: ^f32) ---
GetMonitorName ¶
GetMonitorName :: proc "c" (monitor: MonitorHandle) -> cstring ---
GetMonitorPhysicalSize ¶
GetMonitorPhysicalSize :: proc "c" (monitor: MonitorHandle, widthMM, heightMM: ^i32) ---
GetMonitorPos ¶
GetMonitorPos :: proc "c" (monitor: MonitorHandle, xpos, ypos: ^i32) ---
GetMonitorUserPointer ¶
GetMonitorUserPointer :: proc "c" (monitor: MonitorHandle) -> rawptr ---
GetMonitors ¶
GetMonitors :: proc "c" (count: ^i32) -> [^]MonitorHandle ---
GetMouseButton ¶
GetMouseButton :: proc "c" (window: WindowHandle, button: i32) -> i32 ---
GetPhysicalDevicePresentationSupport ¶
GetPhysicalDevicePresentationSupport :: proc "c" (instance: vulkan.Instance, device: vulkan.PhysicalDevice, queuefamily: u32) -> i32 ---
GetPrimaryMonitor ¶
GetPrimaryMonitor :: proc "c" () -> MonitorHandle ---
GetProcAddress ¶
GetProcAddress :: proc "c" (name: cstring) -> rawptr ---
GetRequiredInstanceExtensions ¶
GetRequiredInstanceExtensions :: proc "c" (count: ^u32) -> [^]cstring ---
GetTimerFrequency ¶
GetTimerFrequency :: proc "c" () -> u64 ---
GetTimerValue ¶
GetTimerValue :: proc "c" () -> u64 ---
GetVersion ¶
GetVersion :: proc "c" (major, minor, rev: ^i32) ---
GetVersionString ¶
GetVersionString :: proc "c" () -> cstring ---
GetVideoMode ¶
GetVideoMode :: proc "c" (monitor: MonitorHandle) -> ^VidMode ---
GetVideoModes ¶
GetVideoModes :: proc "c" (monitor: MonitorHandle, count: ^i32) -> [^]VidMode ---
GetWindowAttrib ¶
GetWindowAttrib :: proc "c" (window: WindowHandle, attrib: i32) -> i32 ---
GetWindowContentScale ¶
GetWindowContentScale :: proc "c" (window: WindowHandle, xscale, yscale: ^f32) ---
GetWindowFrameSize ¶
GetWindowFrameSize :: proc "c" (window: WindowHandle, left, top, right, bottom: ^i32) ---
GetWindowMonitor ¶
GetWindowMonitor :: proc "c" (window: WindowHandle) -> MonitorHandle ---
GetWindowOpacity ¶
GetWindowOpacity :: proc "c" (window: WindowHandle) -> f32 ---
GetWindowPos ¶
GetWindowPos :: proc "c" (window: WindowHandle, xpos, ypos: ^i32) ---
GetWindowSize ¶
GetWindowSize :: proc "c" (window: WindowHandle, width, height: ^i32) ---
GetWindowUserPointer ¶
GetWindowUserPointer :: proc "c" (window: WindowHandle) -> rawptr ---
HideWindow ¶
HideWindow :: proc "c" (window: WindowHandle) ---
IconifyWindow ¶
IconifyWindow :: proc "c" (window: WindowHandle) ---
InitHint ¶
InitHint :: proc "c" (hint, value: i32) ---
JoystickIsGamepad ¶
JoystickIsGamepad :: proc "c" (jid: i32) -> b32 ---
JoystickPresent ¶
JoystickPresent :: proc "c" (joy: i32) -> b32 ---
MakeContextCurrent ¶
MakeContextCurrent :: proc "c" (window: WindowHandle) ---
MaximizeWindow ¶
MaximizeWindow :: proc "c" (window: WindowHandle) ---
PollEvents ¶
PollEvents :: proc "c" () ---
PostEmptyEvent ¶
PostEmptyEvent :: proc "c" () ---
RawMouseMotionSupported ¶
RawMouseMotionSupported :: proc "c" () -> b32 ---
RequestWindowAttention ¶
RequestWindowAttention :: proc "c" (window: WindowHandle) ---
RestoreWindow ¶
RestoreWindow :: proc "c" (window: WindowHandle) ---
SetCharCallback ¶
SetCharCallback :: proc "c" (window: WindowHandle, cbfun: CharProc) -> CharProc ---
SetCharModsCallback ¶
SetCharModsCallback :: proc "c" (window: WindowHandle, cbfun: CharModsProc) -> CharModsProc ---
SetClipboardString ¶
SetClipboardString :: proc "c" (window: WindowHandle, str: cstring) ---
SetCursor ¶
SetCursor :: proc "c" (window: WindowHandle, cursor: CursorHandle) ---
SetCursorEnterCallback ¶
SetCursorEnterCallback :: proc "c" (window: WindowHandle, cbfun: CursorEnterProc) -> CursorEnterProc ---
SetCursorPos ¶
SetCursorPos :: proc "c" (window: WindowHandle, xpos, ypos: f64) ---
SetCursorPosCallback ¶
SetCursorPosCallback :: proc "c" (window: WindowHandle, cbfun: CursorPosProc) -> CursorPosProc ---
SetDropCallback ¶
SetDropCallback :: proc "c" (window: WindowHandle, cbfun: DropProc) -> DropProc ---
SetFramebufferSizeCallback ¶
SetFramebufferSizeCallback :: proc "c" (window: WindowHandle, cbfun: FramebufferSizeProc) -> FramebufferSizeProc ---
SetGamma ¶
SetGamma :: proc "c" (monitor: MonitorHandle, gamma: f32) ---
SetGammaRamp ¶
SetGammaRamp :: proc "c" (monitor: MonitorHandle, ramp: ^GammaRamp) ---
SetInputMode ¶
SetInputMode :: proc "c" (window: WindowHandle, mode, value: i32) ---
SetJoystickCallback ¶
SetJoystickCallback :: proc "c" (window: WindowHandle, cbfun: JoystickProc) -> JoystickProc ---
SetJoystickUserPointer ¶
SetJoystickUserPointer :: proc "c" (jid: i32, pointer: rawptr) ---
SetKeyCallback ¶
SetKeyCallback :: proc "c" (window: WindowHandle, cbfun: KeyProc) -> KeyProc ---
SetMonitorCallback ¶
SetMonitorCallback :: proc "c" (window: WindowHandle, cbfun: MonitorProc) -> MonitorProc ---
SetMonitorUserPointer ¶
SetMonitorUserPointer :: proc "c" (monitor: MonitorHandle, pointer: rawptr) ---
SetMouseButtonCallback ¶
SetMouseButtonCallback :: proc "c" (window: WindowHandle, cbfun: MouseButtonProc) -> MouseButtonProc ---
SetScrollCallback ¶
SetScrollCallback :: proc "c" (window: WindowHandle, cbfun: ScrollProc) -> ScrollProc ---
SetWindowAspectRatio ¶
SetWindowAspectRatio :: proc "c" (window: WindowHandle, numer, denom: i32) ---
SetWindowAttrib ¶
SetWindowAttrib :: proc "c" (window: WindowHandle, attrib, value: i32) ---
SetWindowCloseCallback ¶
SetWindowCloseCallback :: proc "c" (window: WindowHandle, cbfun: WindowCloseProc) -> WindowCloseProc ---
SetWindowContentScaleCallback ¶
SetWindowContentScaleCallback :: proc "c" (window: WindowHandle, cbfun: WindowContentScaleProc) -> WindowContentScaleProc ---
SetWindowFocusCallback ¶
SetWindowFocusCallback :: proc "c" (window: WindowHandle, cbfun: WindowFocusProc) -> WindowFocusProc ---
SetWindowIcon ¶
SetWindowIcon :: proc "c" (window: WindowHandle, count: i32, images: [^]Image) ---
SetWindowIconifyCallback ¶
SetWindowIconifyCallback :: proc "c" (window: WindowHandle, cbfun: WindowIconifyProc) -> WindowIconifyProc ---
SetWindowMaximizeCallback ¶
SetWindowMaximizeCallback :: proc "c" (window: WindowHandle, cbfun: WindowMaximizeProc) -> WindowMaximizeProc ---
SetWindowMonitor ¶
SetWindowMonitor :: proc "c" ( window: WindowHandle, monitor: MonitorHandle, xpos, ypos, width, height, refresh_rate: i32, ) ---
SetWindowOpacity ¶
SetWindowOpacity :: proc "c" (window: WindowHandle, opacity: f32) ---
SetWindowPos ¶
SetWindowPos :: proc "c" (window: WindowHandle, xpos, ypos: i32) ---
SetWindowPosCallback ¶
SetWindowPosCallback :: proc "c" (window: WindowHandle, cbfun: WindowPosProc) -> WindowPosProc ---
SetWindowRefreshCallback ¶
SetWindowRefreshCallback :: proc "c" (window: WindowHandle, cbfun: WindowRefreshProc) -> WindowRefreshProc ---
SetWindowShouldClose ¶
SetWindowShouldClose :: proc "c" (window: WindowHandle, value: b32) ---
SetWindowSize ¶
SetWindowSize :: proc "c" (window: WindowHandle, width, height: i32) ---
SetWindowSizeCallback ¶
SetWindowSizeCallback :: proc "c" (window: WindowHandle, cbfun: WindowSizeProc) -> WindowSizeProc ---
SetWindowSizeLimits ¶
SetWindowSizeLimits :: proc "c" (window: WindowHandle, minwidth, minheight, maxwidth, maxheight: i32) ---
SetWindowTitle ¶
SetWindowTitle :: proc "c" (window: WindowHandle, title: cstring) ---
SetWindowUserPointer ¶
SetWindowUserPointer :: proc "c" (window: WindowHandle, pointer: rawptr) ---
ShowWindow ¶
ShowWindow :: proc "c" (window: WindowHandle) ---
SwapBuffers ¶
SwapBuffers :: proc "c" (window: WindowHandle) ---
SwapInterval ¶
SwapInterval :: proc "c" (interval: i32) ---
Terminate ¶
Terminate :: proc "c" () ---
UpdateGamepadMappings ¶
UpdateGamepadMappings :: proc "c" (str: cstring) -> i32 ---
VulkanSupported ¶
VulkanSupported :: proc "c" () -> b32 ---
WaitEvents ¶
WaitEvents :: proc "c" () ---
WaitEventsTimeout ¶
WaitEventsTimeout :: proc "c" (timeout: f64) ---
WindowHint ¶
WindowHint :: proc "c" (hint, value: i32) ---
WindowHintString ¶
WindowHintString :: proc "c" (hint: i32, value: cstring) ---
WindowShouldClose ¶
WindowShouldClose :: proc "c" (window: WindowHandle) -> b32 ---
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2023-06 (vendor "odin") Windows_amd64 @ 2023-06-02 21:08:32.893940300 +0000 UTC