Class GLFW

java.lang.Object
club.doki7.glfw.GLFW
All Implemented Interfaces:
GLFWConstants

public final class GLFW extends Object implements GLFWConstants
  • Field Details

    • SEGMENT$glfwCreateCursor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwCreateCursor
    • SEGMENT$glfwCreateStandardCursor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwCreateStandardCursor
    • SEGMENT$glfwCreateWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwCreateWindow
    • SEGMENT$glfwCreateWindowSurface

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwCreateWindowSurface
    • SEGMENT$glfwDefaultWindowHints

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwDefaultWindowHints
    • SEGMENT$glfwDestroyCursor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwDestroyCursor
    • SEGMENT$glfwDestroyWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwDestroyWindow
    • SEGMENT$glfwExtensionSupported

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwExtensionSupported
    • SEGMENT$glfwFocusWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwFocusWindow
    • SEGMENT$glfwGetClipboardString

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetClipboardString
    • SEGMENT$glfwGetCocoaMonitor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetCocoaMonitor
    • SEGMENT$glfwGetCocoaView

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetCocoaView
    • SEGMENT$glfwGetCocoaWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetCocoaWindow
    • SEGMENT$glfwGetCurrentContext

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetCurrentContext
    • SEGMENT$glfwGetCursorPos

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetCursorPos
    • SEGMENT$glfwGetEGLContext

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetEGLContext
    • SEGMENT$glfwGetEGLDisplay

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetEGLDisplay
    • SEGMENT$glfwGetEGLSurface

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetEGLSurface
    • SEGMENT$glfwGetError

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetError
    • SEGMENT$glfwGetFramebufferSize

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetFramebufferSize
    • SEGMENT$glfwGetGLXContext

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetGLXContext
    • SEGMENT$glfwGetGLXWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetGLXWindow
    • SEGMENT$glfwGetGamepadName

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetGamepadName
    • SEGMENT$glfwGetGamepadState

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetGamepadState
    • SEGMENT$glfwGetGammaRamp

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetGammaRamp
    • SEGMENT$glfwGetInputMode

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetInputMode
    • SEGMENT$glfwGetInstanceProcAddress

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetInstanceProcAddress
    • SEGMENT$glfwGetJoystickAxes

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetJoystickAxes
    • SEGMENT$glfwGetJoystickButtons

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetJoystickButtons
    • SEGMENT$glfwGetJoystickGUID

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetJoystickGUID
    • SEGMENT$glfwGetJoystickHats

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetJoystickHats
    • SEGMENT$glfwGetJoystickName

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetJoystickName
    • SEGMENT$glfwGetJoystickUserPointer

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetJoystickUserPointer
    • SEGMENT$glfwGetKey

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetKey
    • SEGMENT$glfwGetKeyName

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetKeyName
    • SEGMENT$glfwGetKeyScancode

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetKeyScancode
    • SEGMENT$glfwGetMonitorContentScale

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetMonitorContentScale
    • SEGMENT$glfwGetMonitorName

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetMonitorName
    • SEGMENT$glfwGetMonitorPhysicalSize

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetMonitorPhysicalSize
    • SEGMENT$glfwGetMonitorPos

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetMonitorPos
    • SEGMENT$glfwGetMonitorUserPointer

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetMonitorUserPointer
    • SEGMENT$glfwGetMonitorWorkarea

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetMonitorWorkarea
    • SEGMENT$glfwGetMonitors

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetMonitors
    • SEGMENT$glfwGetMouseButton

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetMouseButton
    • SEGMENT$glfwGetNSGLContext

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetNSGLContext
    • SEGMENT$glfwGetOSMesaColorBuffer

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetOSMesaColorBuffer
    • SEGMENT$glfwGetOSMesaContext

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetOSMesaContext
    • SEGMENT$glfwGetOSMesaDepthBuffer

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetOSMesaDepthBuffer
    • SEGMENT$glfwGetPhysicalDevicePresentationSupport

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetPhysicalDevicePresentationSupport
    • SEGMENT$glfwGetPlatform

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetPlatform
    • SEGMENT$glfwGetPrimaryMonitor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetPrimaryMonitor
    • SEGMENT$glfwGetProcAddress

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetProcAddress
    • SEGMENT$glfwGetRequiredInstanceExtensions

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetRequiredInstanceExtensions
    • SEGMENT$glfwGetTime

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetTime
    • SEGMENT$glfwGetTimerFrequency

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetTimerFrequency
    • SEGMENT$glfwGetTimerValue

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetTimerValue
    • SEGMENT$glfwGetVersion

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetVersion
    • SEGMENT$glfwGetVersionString

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetVersionString
    • SEGMENT$glfwGetVideoMode

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetVideoMode
    • SEGMENT$glfwGetVideoModes

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetVideoModes
    • SEGMENT$glfwGetWGLContext

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWGLContext
    • SEGMENT$glfwGetWaylandDisplay

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWaylandDisplay
    • SEGMENT$glfwGetWaylandMonitor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWaylandMonitor
    • SEGMENT$glfwGetWaylandWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWaylandWindow
    • SEGMENT$glfwGetWin32Adapter

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWin32Adapter
    • SEGMENT$glfwGetWin32Monitor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWin32Monitor
    • SEGMENT$glfwGetWin32Window

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWin32Window
    • SEGMENT$glfwGetWindowAttrib

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowAttrib
    • SEGMENT$glfwGetWindowContentScale

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowContentScale
    • SEGMENT$glfwGetWindowFrameSize

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowFrameSize
    • SEGMENT$glfwGetWindowMonitor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowMonitor
    • SEGMENT$glfwGetWindowOpacity

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowOpacity
    • SEGMENT$glfwGetWindowPos

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowPos
    • SEGMENT$glfwGetWindowSize

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowSize
    • SEGMENT$glfwGetWindowTitle

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowTitle
    • SEGMENT$glfwGetWindowUserPointer

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetWindowUserPointer
    • SEGMENT$glfwGetX11Adapter

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetX11Adapter
    • SEGMENT$glfwGetX11Display

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetX11Display
    • SEGMENT$glfwGetX11Monitor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetX11Monitor
    • SEGMENT$glfwGetX11SelectionString

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetX11SelectionString
    • SEGMENT$glfwGetX11Window

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwGetX11Window
    • SEGMENT$glfwHideWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwHideWindow
    • SEGMENT$glfwIconifyWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwIconifyWindow
    • SEGMENT$glfwInit

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwInit
    • SEGMENT$glfwInitAllocator

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwInitAllocator
    • SEGMENT$glfwInitHint

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwInitHint
    • SEGMENT$glfwInitVulkanLoader

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwInitVulkanLoader
    • SEGMENT$glfwJoystickIsGamepad

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwJoystickIsGamepad
    • SEGMENT$glfwJoystickPresent

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwJoystickPresent
    • SEGMENT$glfwMakeContextCurrent

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwMakeContextCurrent
    • SEGMENT$glfwMaximizeWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwMaximizeWindow
    • SEGMENT$glfwPlatformSupported

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwPlatformSupported
    • SEGMENT$glfwPollEvents

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwPollEvents
    • SEGMENT$glfwPostEmptyEvent

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwPostEmptyEvent
    • SEGMENT$glfwRawMouseMotionSupported

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwRawMouseMotionSupported
    • SEGMENT$glfwRequestWindowAttention

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwRequestWindowAttention
    • SEGMENT$glfwRestoreWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwRestoreWindow
    • SEGMENT$glfwSetCharCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetCharCallback
    • SEGMENT$glfwSetCharModsCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetCharModsCallback
    • SEGMENT$glfwSetClipboardString

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetClipboardString
    • SEGMENT$glfwSetCursor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetCursor
    • SEGMENT$glfwSetCursorEnterCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetCursorEnterCallback
    • SEGMENT$glfwSetCursorPos

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetCursorPos
    • SEGMENT$glfwSetCursorPosCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetCursorPosCallback
    • SEGMENT$glfwSetDropCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetDropCallback
    • SEGMENT$glfwSetErrorCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetErrorCallback
    • SEGMENT$glfwSetFramebufferSizeCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetFramebufferSizeCallback
    • SEGMENT$glfwSetGamma

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetGamma
    • SEGMENT$glfwSetGammaRamp

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetGammaRamp
    • SEGMENT$glfwSetInputMode

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetInputMode
    • SEGMENT$glfwSetJoystickCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetJoystickCallback
    • SEGMENT$glfwSetJoystickUserPointer

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetJoystickUserPointer
    • SEGMENT$glfwSetKeyCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetKeyCallback
    • SEGMENT$glfwSetMonitorCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetMonitorCallback
    • SEGMENT$glfwSetMonitorUserPointer

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetMonitorUserPointer
    • SEGMENT$glfwSetMouseButtonCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetMouseButtonCallback
    • SEGMENT$glfwSetScrollCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetScrollCallback
    • SEGMENT$glfwSetTime

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetTime
    • SEGMENT$glfwSetWindowAspectRatio

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowAspectRatio
    • SEGMENT$glfwSetWindowAttrib

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowAttrib
    • SEGMENT$glfwSetWindowCloseCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowCloseCallback
    • SEGMENT$glfwSetWindowContentScaleCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowContentScaleCallback
    • SEGMENT$glfwSetWindowFocusCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowFocusCallback
    • SEGMENT$glfwSetWindowIcon

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowIcon
    • SEGMENT$glfwSetWindowIconifyCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowIconifyCallback
    • SEGMENT$glfwSetWindowMaximizeCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowMaximizeCallback
    • SEGMENT$glfwSetWindowMonitor

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowMonitor
    • SEGMENT$glfwSetWindowOpacity

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowOpacity
    • SEGMENT$glfwSetWindowPos

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowPos
    • SEGMENT$glfwSetWindowPosCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowPosCallback
    • SEGMENT$glfwSetWindowRefreshCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowRefreshCallback
    • SEGMENT$glfwSetWindowShouldClose

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowShouldClose
    • SEGMENT$glfwSetWindowSize

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowSize
    • SEGMENT$glfwSetWindowSizeCallback

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowSizeCallback
    • SEGMENT$glfwSetWindowSizeLimits

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowSizeLimits
    • SEGMENT$glfwSetWindowTitle

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowTitle
    • SEGMENT$glfwSetWindowUserPointer

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetWindowUserPointer
    • SEGMENT$glfwSetX11SelectionString

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSetX11SelectionString
    • SEGMENT$glfwShowWindow

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwShowWindow
    • SEGMENT$glfwSwapBuffers

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSwapBuffers
    • SEGMENT$glfwSwapInterval

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwSwapInterval
    • SEGMENT$glfwTerminate

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwTerminate
    • SEGMENT$glfwUpdateGamepadMappings

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwUpdateGamepadMappings
    • SEGMENT$glfwVulkanSupported

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwVulkanSupported
    • SEGMENT$glfwWaitEvents

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwWaitEvents
    • SEGMENT$glfwWaitEventsTimeout

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwWaitEventsTimeout
    • SEGMENT$glfwWindowHint

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwWindowHint
    • SEGMENT$glfwWindowHintString

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwWindowHintString
    • SEGMENT$glfwWindowShouldClose

      @Nullable public final @Nullable MemorySegment SEGMENT$glfwWindowShouldClose
    • HANDLE$glfwCreateCursor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwCreateCursor
    • HANDLE$glfwCreateStandardCursor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwCreateStandardCursor
    • HANDLE$glfwCreateWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwCreateWindow
    • HANDLE$glfwCreateWindowSurface

      @Nullable public final @Nullable MethodHandle HANDLE$glfwCreateWindowSurface
    • HANDLE$glfwDefaultWindowHints

      @Nullable public final @Nullable MethodHandle HANDLE$glfwDefaultWindowHints
    • HANDLE$glfwDestroyCursor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwDestroyCursor
    • HANDLE$glfwDestroyWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwDestroyWindow
    • HANDLE$glfwExtensionSupported

      @Nullable public final @Nullable MethodHandle HANDLE$glfwExtensionSupported
    • HANDLE$glfwFocusWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwFocusWindow
    • HANDLE$glfwGetClipboardString

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetClipboardString
    • HANDLE$glfwGetCocoaMonitor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetCocoaMonitor
    • HANDLE$glfwGetCocoaView

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetCocoaView
    • HANDLE$glfwGetCocoaWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetCocoaWindow
    • HANDLE$glfwGetCurrentContext

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetCurrentContext
    • HANDLE$glfwGetCursorPos

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetCursorPos
    • HANDLE$glfwGetEGLContext

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetEGLContext
    • HANDLE$glfwGetEGLDisplay

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetEGLDisplay
    • HANDLE$glfwGetEGLSurface

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetEGLSurface
    • HANDLE$glfwGetError

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetError
    • HANDLE$glfwGetFramebufferSize

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetFramebufferSize
    • HANDLE$glfwGetGLXContext

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetGLXContext
    • HANDLE$glfwGetGLXWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetGLXWindow
    • HANDLE$glfwGetGamepadName

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetGamepadName
    • HANDLE$glfwGetGamepadState

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetGamepadState
    • HANDLE$glfwGetGammaRamp

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetGammaRamp
    • HANDLE$glfwGetInputMode

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetInputMode
    • HANDLE$glfwGetInstanceProcAddress

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetInstanceProcAddress
    • HANDLE$glfwGetJoystickAxes

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetJoystickAxes
    • HANDLE$glfwGetJoystickButtons

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetJoystickButtons
    • HANDLE$glfwGetJoystickGUID

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetJoystickGUID
    • HANDLE$glfwGetJoystickHats

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetJoystickHats
    • HANDLE$glfwGetJoystickName

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetJoystickName
    • HANDLE$glfwGetJoystickUserPointer

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetJoystickUserPointer
    • HANDLE$glfwGetKey

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetKey
    • HANDLE$glfwGetKeyName

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetKeyName
    • HANDLE$glfwGetKeyScancode

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetKeyScancode
    • HANDLE$glfwGetMonitorContentScale

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetMonitorContentScale
    • HANDLE$glfwGetMonitorName

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetMonitorName
    • HANDLE$glfwGetMonitorPhysicalSize

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetMonitorPhysicalSize
    • HANDLE$glfwGetMonitorPos

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetMonitorPos
    • HANDLE$glfwGetMonitorUserPointer

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetMonitorUserPointer
    • HANDLE$glfwGetMonitorWorkarea

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetMonitorWorkarea
    • HANDLE$glfwGetMonitors

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetMonitors
    • HANDLE$glfwGetMouseButton

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetMouseButton
    • HANDLE$glfwGetNSGLContext

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetNSGLContext
    • HANDLE$glfwGetOSMesaColorBuffer

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetOSMesaColorBuffer
    • HANDLE$glfwGetOSMesaContext

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetOSMesaContext
    • HANDLE$glfwGetOSMesaDepthBuffer

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetOSMesaDepthBuffer
    • HANDLE$glfwGetPhysicalDevicePresentationSupport

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetPhysicalDevicePresentationSupport
    • HANDLE$glfwGetPlatform

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetPlatform
    • HANDLE$glfwGetPrimaryMonitor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetPrimaryMonitor
    • HANDLE$glfwGetProcAddress

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetProcAddress
    • HANDLE$glfwGetRequiredInstanceExtensions

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetRequiredInstanceExtensions
    • HANDLE$glfwGetTime

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetTime
    • HANDLE$glfwGetTimerFrequency

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetTimerFrequency
    • HANDLE$glfwGetTimerValue

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetTimerValue
    • HANDLE$glfwGetVersion

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetVersion
    • HANDLE$glfwGetVersionString

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetVersionString
    • HANDLE$glfwGetVideoMode

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetVideoMode
    • HANDLE$glfwGetVideoModes

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetVideoModes
    • HANDLE$glfwGetWGLContext

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWGLContext
    • HANDLE$glfwGetWaylandDisplay

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWaylandDisplay
    • HANDLE$glfwGetWaylandMonitor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWaylandMonitor
    • HANDLE$glfwGetWaylandWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWaylandWindow
    • HANDLE$glfwGetWin32Adapter

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWin32Adapter
    • HANDLE$glfwGetWin32Monitor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWin32Monitor
    • HANDLE$glfwGetWin32Window

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWin32Window
    • HANDLE$glfwGetWindowAttrib

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowAttrib
    • HANDLE$glfwGetWindowContentScale

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowContentScale
    • HANDLE$glfwGetWindowFrameSize

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowFrameSize
    • HANDLE$glfwGetWindowMonitor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowMonitor
    • HANDLE$glfwGetWindowOpacity

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowOpacity
    • HANDLE$glfwGetWindowPos

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowPos
    • HANDLE$glfwGetWindowSize

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowSize
    • HANDLE$glfwGetWindowTitle

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowTitle
    • HANDLE$glfwGetWindowUserPointer

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetWindowUserPointer
    • HANDLE$glfwGetX11Adapter

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetX11Adapter
    • HANDLE$glfwGetX11Display

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetX11Display
    • HANDLE$glfwGetX11Monitor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetX11Monitor
    • HANDLE$glfwGetX11SelectionString

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetX11SelectionString
    • HANDLE$glfwGetX11Window

      @Nullable public final @Nullable MethodHandle HANDLE$glfwGetX11Window
    • HANDLE$glfwHideWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwHideWindow
    • HANDLE$glfwIconifyWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwIconifyWindow
    • HANDLE$glfwInit

      @Nullable public final @Nullable MethodHandle HANDLE$glfwInit
    • HANDLE$glfwInitAllocator

      @Nullable public final @Nullable MethodHandle HANDLE$glfwInitAllocator
    • HANDLE$glfwInitHint

      @Nullable public final @Nullable MethodHandle HANDLE$glfwInitHint
    • HANDLE$glfwInitVulkanLoader

      @Nullable public final @Nullable MethodHandle HANDLE$glfwInitVulkanLoader
    • HANDLE$glfwJoystickIsGamepad

      @Nullable public final @Nullable MethodHandle HANDLE$glfwJoystickIsGamepad
    • HANDLE$glfwJoystickPresent

      @Nullable public final @Nullable MethodHandle HANDLE$glfwJoystickPresent
    • HANDLE$glfwMakeContextCurrent

      @Nullable public final @Nullable MethodHandle HANDLE$glfwMakeContextCurrent
    • HANDLE$glfwMaximizeWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwMaximizeWindow
    • HANDLE$glfwPlatformSupported

      @Nullable public final @Nullable MethodHandle HANDLE$glfwPlatformSupported
    • HANDLE$glfwPollEvents

      @Nullable public final @Nullable MethodHandle HANDLE$glfwPollEvents
    • HANDLE$glfwPostEmptyEvent

      @Nullable public final @Nullable MethodHandle HANDLE$glfwPostEmptyEvent
    • HANDLE$glfwRawMouseMotionSupported

      @Nullable public final @Nullable MethodHandle HANDLE$glfwRawMouseMotionSupported
    • HANDLE$glfwRequestWindowAttention

      @Nullable public final @Nullable MethodHandle HANDLE$glfwRequestWindowAttention
    • HANDLE$glfwRestoreWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwRestoreWindow
    • HANDLE$glfwSetCharCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetCharCallback
    • HANDLE$glfwSetCharModsCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetCharModsCallback
    • HANDLE$glfwSetClipboardString

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetClipboardString
    • HANDLE$glfwSetCursor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetCursor
    • HANDLE$glfwSetCursorEnterCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetCursorEnterCallback
    • HANDLE$glfwSetCursorPos

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetCursorPos
    • HANDLE$glfwSetCursorPosCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetCursorPosCallback
    • HANDLE$glfwSetDropCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetDropCallback
    • HANDLE$glfwSetErrorCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetErrorCallback
    • HANDLE$glfwSetFramebufferSizeCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetFramebufferSizeCallback
    • HANDLE$glfwSetGamma

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetGamma
    • HANDLE$glfwSetGammaRamp

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetGammaRamp
    • HANDLE$glfwSetInputMode

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetInputMode
    • HANDLE$glfwSetJoystickCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetJoystickCallback
    • HANDLE$glfwSetJoystickUserPointer

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetJoystickUserPointer
    • HANDLE$glfwSetKeyCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetKeyCallback
    • HANDLE$glfwSetMonitorCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetMonitorCallback
    • HANDLE$glfwSetMonitorUserPointer

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetMonitorUserPointer
    • HANDLE$glfwSetMouseButtonCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetMouseButtonCallback
    • HANDLE$glfwSetScrollCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetScrollCallback
    • HANDLE$glfwSetTime

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetTime
    • HANDLE$glfwSetWindowAspectRatio

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowAspectRatio
    • HANDLE$glfwSetWindowAttrib

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowAttrib
    • HANDLE$glfwSetWindowCloseCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowCloseCallback
    • HANDLE$glfwSetWindowContentScaleCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowContentScaleCallback
    • HANDLE$glfwSetWindowFocusCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowFocusCallback
    • HANDLE$glfwSetWindowIcon

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowIcon
    • HANDLE$glfwSetWindowIconifyCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowIconifyCallback
    • HANDLE$glfwSetWindowMaximizeCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowMaximizeCallback
    • HANDLE$glfwSetWindowMonitor

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowMonitor
    • HANDLE$glfwSetWindowOpacity

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowOpacity
    • HANDLE$glfwSetWindowPos

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowPos
    • HANDLE$glfwSetWindowPosCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowPosCallback
    • HANDLE$glfwSetWindowRefreshCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowRefreshCallback
    • HANDLE$glfwSetWindowShouldClose

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowShouldClose
    • HANDLE$glfwSetWindowSize

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowSize
    • HANDLE$glfwSetWindowSizeCallback

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowSizeCallback
    • HANDLE$glfwSetWindowSizeLimits

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowSizeLimits
    • HANDLE$glfwSetWindowTitle

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowTitle
    • HANDLE$glfwSetWindowUserPointer

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetWindowUserPointer
    • HANDLE$glfwSetX11SelectionString

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSetX11SelectionString
    • HANDLE$glfwShowWindow

      @Nullable public final @Nullable MethodHandle HANDLE$glfwShowWindow
    • HANDLE$glfwSwapBuffers

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSwapBuffers
    • HANDLE$glfwSwapInterval

      @Nullable public final @Nullable MethodHandle HANDLE$glfwSwapInterval
    • HANDLE$glfwTerminate

      @Nullable public final @Nullable MethodHandle HANDLE$glfwTerminate
    • HANDLE$glfwUpdateGamepadMappings

      @Nullable public final @Nullable MethodHandle HANDLE$glfwUpdateGamepadMappings
    • HANDLE$glfwVulkanSupported

      @Nullable public final @Nullable MethodHandle HANDLE$glfwVulkanSupported
    • HANDLE$glfwWaitEvents

      @Nullable public final @Nullable MethodHandle HANDLE$glfwWaitEvents
    • HANDLE$glfwWaitEventsTimeout

      @Nullable public final @Nullable MethodHandle HANDLE$glfwWaitEventsTimeout
    • HANDLE$glfwWindowHint

      @Nullable public final @Nullable MethodHandle HANDLE$glfwWindowHint
    • HANDLE$glfwWindowHintString

      @Nullable public final @Nullable MethodHandle HANDLE$glfwWindowHintString
    • HANDLE$glfwWindowShouldClose

      @Nullable public final @Nullable MethodHandle HANDLE$glfwWindowShouldClose
  • Constructor Details

  • Method Details

    • createCursor

      public GLFWcursor createCursor(@Nullable @Pointer @Nullable IGLFWimage image, int xhot, int yhot)
      Returns:

      The handle of the created cursor, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.1.
    • createStandardCursor

      public GLFWcursor createStandardCursor(int shape)
      Returns:

      A new cursor ready to use or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.1.
    • createWindow

      public GLFWwindow createWindow(int width, int height, @Nullable @Nullable BytePtr title, @Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable GLFWwindow share)
      Returns:

      The handle of the created window, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0. Replaces glfwOpenWindow.
    • createWindowSurface

      @EnumType(VkResult.class) public int createWindowSurface(@Nullable @Nullable VkInstance instance, @Nullable @Nullable GLFWwindow window, @Nullable @Pointer @Nullable IVkAllocationCallbacks allocator, @Nullable @Pointer VkSurfaceKHR.Ptr surface)
      Returns:

      VK_SUCCESS if successful, or a Vulkan error code if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • defaultWindowHints

      public void defaultWindowHints()
      Since:
      Added in version 3.0.
    • destroyCursor

      public void destroyCursor(@Nullable @Nullable GLFWcursor cursor)
      Since:
      Added in version 3.1.
    • destroyWindow

      public void destroyWindow(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 3.0. Replaces glfwCloseWindow.
    • extensionSupported

      public int extensionSupported(@Nullable @Nullable BytePtr extension)
      Returns:
      GLFW_TRUE if the extension is available, or GLFW_FALSE otherwise.
      Since:
      Added in version 1.0.
    • focusWindow

      public void focusWindow(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 3.2.
    • getClipboardString

      public BytePtr getClipboardString(@Nullable @Nullable GLFWwindow window)
      Returns:

      The contents of the clipboard as a UTF-8 encoded string, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getCocoaMonitor

      @NativeType("CGDirectDisplayID") @Unsigned public int getCocoaMonitor(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The CGDirectDisplayID of the specified monitor, or kCGNullDirectDisplay if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.1.
    • getCocoaView

      @Pointer(comment="id") public MemorySegment getCocoaView(@Nullable @Nullable GLFWwindow window)
      Returns:

      The NSView of the specified window, or nil if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.4.
    • getCocoaWindow

      @Pointer(comment="id") public MemorySegment getCocoaWindow(@Nullable @Nullable GLFWwindow window)
      Returns:

      The NSWindow of the specified window, or nil if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getCurrentContext

      public GLFWwindow getCurrentContext()
      Returns:
      The window whose context is current, or NULL if no window's context is current.
      Since:
      Added in version 3.0.
    • getCursorPos

      public void getCursorPos(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable DoublePtr xpos, @Nullable @Nullable DoublePtr ypos)
      Since:
      Added in version 3.0. Replaces glfwGetMousePos.
    • getEGLContext

      @Pointer(comment="EGLContext") public MemorySegment getEGLContext(@Nullable @Nullable GLFWwindow window)
      Returns:

      The EGLContext of the specified window, or EGL_NO_CONTEXT if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getEGLDisplay

      @Pointer(comment="EGLDisplay") public MemorySegment getEGLDisplay()
      Returns:

      The EGLDisplay used by GLFW, or EGL_NO_DISPLAY if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getEGLSurface

      @Pointer(comment="EGLSurface") public MemorySegment getEGLSurface(@Nullable @Nullable GLFWwindow window)
      Returns:

      The EGLSurface of the specified window, or EGL_NO_SURFACE if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getError

      public int getError(@Nullable @Nullable PointerPtr description)
      Returns:
      The last error code for the calling thread, or @ref GLFW_NO_ERROR (zero).
      Since:
      Added in version 3.3.
    • getFramebufferSize

      public void getFramebufferSize(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height)
      Since:
      Added in version 3.0.
    • getGLXContext

      @Pointer(comment="GLXContext") public MemorySegment getGLXContext(@Nullable @Nullable GLFWwindow window)
      Returns:

      The GLXContext of the specified window, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getGLXWindow

      @NativeType("GLXWindow") public long getGLXWindow(@Nullable @Nullable GLFWwindow window)
      Returns:

      The GLXWindow of the specified window, or None if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • getGamepadName

      public BytePtr getGamepadName(int jid)
      Returns:

      The UTF-8 encoded name of the gamepad, or NULL if the joystick is not present, does not have a mapping or an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.3.
    • getGamepadState

      public int getGamepadState(int jid, @Nullable @Pointer @Nullable IGLFWgamepadstate state)
      Returns:

      GLFW_TRUE if successful, or GLFW_FALSE if no joystick is connected, it has no gamepad mapping or an

      invalid reference
      error
      (@ref error_handling)

      occurred.

      Since:
      Added in version 3.3.
    • getGammaRamp

      @Pointer public IGLFWgammaramp getGammaRamp(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The current gamma ramp, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getInputMode

      public int getInputMode(@Nullable @Nullable GLFWwindow window, int mode)
      Since:
      Added in version 3.0.
    • getInstanceProcAddress

      @Pointer(comment="GLFWvkproc") public MemorySegment getInstanceProcAddress(@Nullable @Nullable VkInstance instance, @Nullable @Nullable BytePtr procname)
      Returns:

      The address of the function, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • getJoystickAxes

      public FloatPtr getJoystickAxes(int jid, @Nullable @Nullable IntPtr count)
      Returns:

      An array of axis values, or NULL if the joystick is not present or an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0. Replaces glfwGetJoystickPos.
    • getJoystickButtons

      public BytePtr getJoystickButtons(int jid, @Nullable @Nullable IntPtr count)
      Returns:

      An array of button states, or NULL if the joystick is not present or an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 2.2.
    • getJoystickGUID

      public BytePtr getJoystickGUID(int jid)
      Returns:

      The UTF-8 encoded GUID of the joystick, or NULL if the joystick is not present or an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.3.
    • getJoystickHats

      public BytePtr getJoystickHats(int jid, @Nullable @Nullable IntPtr count)
    • getJoystickName

      public BytePtr getJoystickName(int jid)
      Returns:

      The UTF-8 encoded name of the joystick, or NULL if the joystick is not present or an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getJoystickUserPointer

      @Pointer(comment="void*") public MemorySegment getJoystickUserPointer(int jid)
      Since:
      Added in version 3.3.
    • getKey

      public int getKey(@Nullable @Nullable GLFWwindow window, int key)
      Returns:
      One of GLFW_PRESS or GLFW_RELEASE.
      Since:
      Added in version 1.0.
    • getKeyName

      public BytePtr getKeyName(int key, int scancode)
      Returns:
      The UTF-8 encoded, layout-specific name of the key, or NULL.
      Since:
      Added in version 3.2.
    • getKeyScancode

      public int getKeyScancode(int key)
      Returns:

      The platform-specific scancode for the key, or -1 if the key is not supported on the current platform or an

      invalid reference
      error
      (@ref error_handling)

      occurred.

      Since:
      Added in version 3.3.
    • getMonitorContentScale

      public void getMonitorContentScale(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable FloatPtr xscale, @Nullable @Nullable FloatPtr yscale)
      Since:
      Added in version 3.3.
    • getMonitorName

      public BytePtr getMonitorName(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The UTF-8 encoded name of the monitor, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getMonitorPhysicalSize

      public void getMonitorPhysicalSize(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable IntPtr widthMM, @Nullable @Nullable IntPtr heightMM)
      Since:
      Added in version 3.0.
    • getMonitorPos

      public void getMonitorPos(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable IntPtr xpos, @Nullable @Nullable IntPtr ypos)
      Since:
      Added in version 3.0.
    • getMonitorUserPointer

      @Pointer(comment="void*") public MemorySegment getMonitorUserPointer(@Nullable @Nullable GLFWmonitor monitor)
      Since:
      Added in version 3.3.
    • getMonitorWorkarea

      public void getMonitorWorkarea(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable IntPtr xpos, @Nullable @Nullable IntPtr ypos, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height)
      Since:
      Added in version 3.3.
    • getMonitors

      @Pointer public GLFWmonitor.Ptr getMonitors(@Nullable @Nullable IntPtr count)
      Returns:

      An array of monitor handles, or NULL if no monitors were found or if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getMouseButton

      public int getMouseButton(@Nullable @Nullable GLFWwindow window, int button)
      Returns:
      One of GLFW_PRESS or GLFW_RELEASE.
      Since:
      Added in version 1.0.
    • getNSGLContext

      @Pointer(comment="id") public MemorySegment getNSGLContext(@Nullable @Nullable GLFWwindow window)
      Returns:

      The NSOpenGLContext of the specified window, or nil if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getOSMesaColorBuffer

      public int getOSMesaColorBuffer(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr format, @Nullable @Nullable PointerPtr buffer)
      Returns:

      GLFW_TRUE if successful, or GLFW_FALSE if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.3.
    • getOSMesaContext

      @Pointer(comment="OSMesaContext") public MemorySegment getOSMesaContext(@Nullable @Nullable GLFWwindow window)
      Returns:

      The OSMesaContext of the specified window, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.3.
    • getOSMesaDepthBuffer

      public int getOSMesaDepthBuffer(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr bytesPerValue, @Nullable @Nullable PointerPtr buffer)
      Returns:

      GLFW_TRUE if successful, or GLFW_FALSE if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.3.
    • getPhysicalDevicePresentationSupport

      public int getPhysicalDevicePresentationSupport(@Nullable @Nullable VkInstance instance, @Nullable @Nullable VkPhysicalDevice device, @Unsigned int queuefamily)
      Returns:
      GLFW_TRUE if the queue family supports presentation, or GLFW_FALSE otherwise.
      Since:
      Added in version 3.2.
    • getPlatform

      public int getPlatform()
      Returns:
      The currently selected platform, or zero if an error occurred.
      Since:
      Added in version 3.4.
    • getPrimaryMonitor

      public GLFWmonitor getPrimaryMonitor()
      Returns:

      The primary monitor, or NULL if no monitors were found or if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getProcAddress

      @Pointer(comment="GLFWglproc") public MemorySegment getProcAddress(@Nullable @Nullable BytePtr procname)
      Returns:

      The address of the function, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 1.0.
    • getRequiredInstanceExtensions

      public PointerPtr getRequiredInstanceExtensions(@Nullable @Unsigned @Nullable IntPtr count)
      Returns:

      An array of ASCII encoded extension names, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • getTime

      public double getTime()
      Returns:

      The current time, in seconds, or zero if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 1.0.
    • getTimerFrequency

      @Unsigned public long getTimerFrequency()
      Returns:

      The frequency of the timer, in Hz, or zero if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • getTimerValue

      @Unsigned public long getTimerValue()
      Returns:

      The value of the timer, or zero if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • getVersion

      public void getVersion(@Nullable @Nullable IntPtr major, @Nullable @Nullable IntPtr minor, @Nullable @Nullable IntPtr rev)
      Since:
      Added in version 1.0.
    • getVersionString

      public BytePtr getVersionString()
      Returns:
      The ASCII encoded GLFW version string.
      Since:
      Added in version 3.0.
    • getVideoMode

      @Pointer public IGLFWvidmode getVideoMode(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The current mode of the monitor, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0. Replaces glfwGetDesktopMode.
    • getVideoModes

      @Pointer public IGLFWvidmode getVideoModes(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable IntPtr count)
      Returns:

      An array of video modes, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 1.0.
    • getWGLContext

      @Pointer(comment="HGLRC") public MemorySegment getWGLContext(@Nullable @Nullable GLFWwindow window)
      Returns:

      The HGLRC of the specified window, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
    • getWaylandDisplay

      public PointerPtr getWaylandDisplay()
      Returns:

      The struct wl_display* used by GLFW, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • getWaylandMonitor

      @Pointer(comment="void*") public MemorySegment getWaylandMonitor(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The struct wl_output* of the specified monitor, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • getWaylandWindow

      public PointerPtr getWaylandWindow(@Nullable @Nullable GLFWwindow window)
      Returns:

      The main struct wl_surface* of the specified window, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.2.
    • getWin32Adapter

      public BytePtr getWin32Adapter(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The UTF-8 encoded adapter device name (for example \\.\DISPLAY1) of the specified monitor, or NULL if an

      invalid reference
      error
      (@ref error_handling)

      occurred.

      Since:
      Added in version 3.1.
    • getWin32Monitor

      public BytePtr getWin32Monitor(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The UTF-8 encoded display device name (for example \\.\DISPLAY1\Monitor0) of the specified monitor, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.1.
    • getWin32Window

      @Pointer(comment="HWND") public MemorySegment getWin32Window(@Nullable @Nullable GLFWwindow window)
      Returns:

      The HWND of the specified window, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
    • getWindowAttrib

      public int getWindowAttrib(@Nullable @Nullable GLFWwindow window, int attrib)
      Returns:

      The value of the attribute, or zero if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0. Replaces glfwGetWindowParam and glfwGetGLVersion.
    • getWindowContentScale

      public void getWindowContentScale(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable FloatPtr xscale, @Nullable @Nullable FloatPtr yscale)
      Since:
      Added in version 3.3.
    • getWindowFrameSize

      public void getWindowFrameSize(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr left, @Nullable @Nullable IntPtr top, @Nullable @Nullable IntPtr right, @Nullable @Nullable IntPtr bottom)
      Since:
      Added in version 3.1.
    • getWindowMonitor

      public GLFWmonitor getWindowMonitor(@Nullable @Nullable GLFWwindow window)
      Returns:

      The monitor, or NULL if the window is in windowed mode or an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getWindowOpacity

      public float getWindowOpacity(@Nullable @Nullable GLFWwindow window)
      Returns:
      The opacity value of the specified window.
      Since:
      Added in version 3.3.
    • getWindowPos

      public void getWindowPos(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr xpos, @Nullable @Nullable IntPtr ypos)
      Since:
      Added in version 3.0.
    • getWindowSize

      public void getWindowSize(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height)
      Since:
      Added in version 1.0.
    • getWindowTitle

      public BytePtr getWindowTitle(@Nullable @Nullable GLFWwindow window)
      Returns:

      The UTF-8 encoded window title, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.4.
    • getWindowUserPointer

      @Pointer(comment="void*") public MemorySegment getWindowUserPointer(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 3.0.
    • getX11Adapter

      @NativeType("RRCrtc") public long getX11Adapter(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The RRCrtc of the specified monitor, or None if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.1.
    • getX11Display

      public PointerPtr getX11Display()
      Returns:

      The Display used by GLFW, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • getX11Monitor

      @NativeType("RROutput") public long getX11Monitor(@Nullable @Nullable GLFWmonitor monitor)
      Returns:

      The RROutput of the specified monitor, or None if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.1.
    • getX11SelectionString

      public BytePtr getX11SelectionString()
      Returns:

      The contents of the selection as a UTF-8 encoded string, or NULL if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.3.
    • getX11Window

      @NativeType("Window") public long getX11Window(@Nullable @Nullable GLFWwindow window)
      Returns:

      The Window of the specified window, or None if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.0.
    • hideWindow

      public void hideWindow(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 3.0.
    • iconifyWindow

      public void iconifyWindow(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 2.1.
    • init

      public int init()
      Returns:

      GLFW_TRUE if successful, or GLFW_FALSE if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 1.0.
    • initAllocator

      public void initAllocator(@Nullable @Pointer @Nullable IGLFWallocator allocator)
      Since:
      Added in version 3.4.
    • initHint

      public void initHint(int hint, int value)
      Since:
      Added in version 3.3.
    • initVulkanLoader

      public void initVulkanLoader(@Pointer(comment="PFN_vkGetInstanceProcAddr") MemorySegment loader)
    • joystickIsGamepad

      public int joystickIsGamepad(int jid)
      Returns:
      GLFW_TRUE if a joystick is both present and has a gamepad mapping, or GLFW_FALSE otherwise.
      Since:
      Added in version 3.3.
    • joystickPresent

      public int joystickPresent(int jid)
      Returns:
      GLFW_TRUE if the joystick is present, or GLFW_FALSE otherwise.
      Since:
      Added in version 3.0. Replaces glfwGetJoystickParam.
    • makeContextCurrent

      public void makeContextCurrent(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 3.0.
    • maximizeWindow

      public void maximizeWindow(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in GLFW 3.2.
    • platformSupported

      public int platformSupported(int platform)
      Returns:
      GLFW_TRUE if the platform is supported, or GLFW_FALSE otherwise.
      Since:
      Added in version 3.4.
    • pollEvents

      public void pollEvents()
      Since:
      Added in version 1.0.
    • postEmptyEvent

      public void postEmptyEvent()
      Since:
      Added in version 3.1.
    • rawMouseMotionSupported

      public int rawMouseMotionSupported()
      Returns:
      GLFW_TRUE if raw mouse motion is supported on the current machine, or GLFW_FALSE otherwise.
      Since:
      Added in version 3.3.
    • requestWindowAttention

      public void requestWindowAttention(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 3.3.
    • restoreWindow

      public void restoreWindow(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 2.1.
    • setCharCallback

      @Pointer(comment="GLFWcharfun") public MemorySegment setCharCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWcharfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setCharModsCallback

      @Pointer(comment="GLFWcharmodsfun") public MemorySegment setCharModsCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWcharmodsfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or an

      invalid reference
      error
      (@ref error_handling) occurred.
    • setClipboardString

      public void setClipboardString(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable BytePtr string)
      Since:
      Added in version 3.0.
    • setCursor

      public void setCursor(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable GLFWcursor cursor)
      Since:
      Added in version 3.1.
    • setCursorEnterCallback

      @Pointer(comment="GLFWcursorenterfun") public MemorySegment setCursorEnterCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWcursorenterfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setCursorPos

      public void setCursorPos(@Nullable @Nullable GLFWwindow window, double xpos, double ypos)
      Since:
      Added in version 3.0. Replaces glfwSetMousePos.
    • setCursorPosCallback

      @Pointer(comment="GLFWcursorposfun") public MemorySegment setCursorPosCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWcursorposfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setDropCallback

      @Pointer(comment="GLFWdropfun") public MemorySegment setDropCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWdropfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setErrorCallback

      @Pointer(comment="GLFWerrorfun") public MemorySegment setErrorCallback(@Pointer(comment="GLFWerrorfun") MemorySegment callback)
      Returns:
      The previously set callback, or NULL if no callback was set.
    • setFramebufferSizeCallback

      @Pointer(comment="GLFWframebuffersizefun") public MemorySegment setFramebufferSizeCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWframebuffersizefun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setGamma

      public void setGamma(@Nullable @Nullable GLFWmonitor monitor, float gamma)
      Since:
      Added in version 3.0.
    • setGammaRamp

      public void setGammaRamp(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Pointer @Nullable IGLFWgammaramp ramp)
      Since:
      Added in version 3.0.
    • setInputMode

      public void setInputMode(@Nullable @Nullable GLFWwindow window, int mode, int value)
      Since:
      Added in version 3.0. Replaces glfwEnable and glfwDisable.
    • setJoystickCallback

      @Pointer(comment="GLFWjoystickfun") public MemorySegment setJoystickCallback(@Pointer(comment="GLFWjoystickfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setJoystickUserPointer

      public void setJoystickUserPointer(int jid, @Pointer(comment="void*") MemorySegment pointer)
      Since:
      Added in version 3.3.
    • setKeyCallback

      @Pointer(comment="GLFWkeyfun") public MemorySegment setKeyCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWkeyfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setMonitorCallback

      @Pointer(comment="GLFWmonitorfun") public MemorySegment setMonitorCallback(@Pointer(comment="GLFWmonitorfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setMonitorUserPointer

      public void setMonitorUserPointer(@Nullable @Nullable GLFWmonitor monitor, @Pointer(comment="void*") MemorySegment pointer)
      Since:
      Added in version 3.3.
    • setMouseButtonCallback

      @Pointer(comment="GLFWmousebuttonfun") public MemorySegment setMouseButtonCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWmousebuttonfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setScrollCallback

      @Pointer(comment="GLFWscrollfun") public MemorySegment setScrollCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWscrollfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setTime

      public void setTime(double time)
      Since:
      Added in version 2.2.
    • setWindowAspectRatio

      public void setWindowAspectRatio(@Nullable @Nullable GLFWwindow window, int numer, int denom)
      Since:
      Added in version 3.2.
    • setWindowAttrib

      public void setWindowAttrib(@Nullable @Nullable GLFWwindow window, int attrib, int value)
      Since:
      Added in version 3.3.
    • setWindowCloseCallback

      @Pointer(comment="GLFWwindowclosefun") public MemorySegment setWindowCloseCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowclosefun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setWindowContentScaleCallback

      @Pointer(comment="GLFWwindowcontentscalefun") public MemorySegment setWindowContentScaleCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowcontentscalefun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setWindowFocusCallback

      @Pointer(comment="GLFWwindowfocusfun") public MemorySegment setWindowFocusCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowfocusfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setWindowIcon

      public void setWindowIcon(@Nullable @Nullable GLFWwindow window, int count, @Nullable @Pointer @Nullable IGLFWimage images)
      Since:
      Added in version 3.2.
    • setWindowIconifyCallback

      @Pointer(comment="GLFWwindowiconifyfun") public MemorySegment setWindowIconifyCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowiconifyfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setWindowMaximizeCallback

      @Pointer(comment="GLFWwindowmaximizefun") public MemorySegment setWindowMaximizeCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowmaximizefun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setWindowMonitor

      public void setWindowMonitor(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable GLFWmonitor monitor, int xpos, int ypos, int width, int height, int refreshRate)
      Since:
      Added in version 3.2.
    • setWindowOpacity

      public void setWindowOpacity(@Nullable @Nullable GLFWwindow window, float opacity)
      Since:
      Added in version 3.3.
    • setWindowPos

      public void setWindowPos(@Nullable @Nullable GLFWwindow window, int xpos, int ypos)
      Since:
      Added in version 1.0.
    • setWindowPosCallback

      @Pointer(comment="GLFWwindowposfun") public MemorySegment setWindowPosCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowposfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setWindowRefreshCallback

      @Pointer(comment="GLFWwindowrefreshfun") public MemorySegment setWindowRefreshCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowrefreshfun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setWindowShouldClose

      public void setWindowShouldClose(@Nullable @Nullable GLFWwindow window, int value)
      Since:
      Added in version 3.0.
    • setWindowSize

      public void setWindowSize(@Nullable @Nullable GLFWwindow window, int width, int height)
      Since:
      Added in version 1.0.
    • setWindowSizeCallback

      @Pointer(comment="GLFWwindowsizefun") public MemorySegment setWindowSizeCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowsizefun") MemorySegment callback)
      Returns:

      The previously set callback, or NULL if no callback was set or the library had not been

      invalid reference
      initialized
      (@ref intro_init).
    • setWindowSizeLimits

      public void setWindowSizeLimits(@Nullable @Nullable GLFWwindow window, int minwidth, int minheight, int maxwidth, int maxheight)
      Since:
      Added in version 3.2.
    • setWindowTitle

      public void setWindowTitle(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable BytePtr title)
      Since:
      Added in version 1.0.
    • setWindowUserPointer

      public void setWindowUserPointer(@Nullable @Nullable GLFWwindow window, @Pointer(comment="void*") MemorySegment pointer)
      Since:
      Added in version 3.0.
    • setX11SelectionString

      public void setX11SelectionString(@Nullable @Nullable BytePtr string)
      Since:
      Added in version 3.3.
    • showWindow

      public void showWindow(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 3.0.
    • swapBuffers

      public void swapBuffers(@Nullable @Nullable GLFWwindow window)
      Since:
      Added in version 1.0.
    • swapInterval

      public void swapInterval(int interval)
      Since:
      Added in version 1.0.
    • terminate

      public void terminate()
      Since:
      Added in version 1.0.
    • updateGamepadMappings

      public int updateGamepadMappings(@Nullable @Nullable BytePtr string)
      Returns:

      GLFW_TRUE if successful, or GLFW_FALSE if an

      invalid reference
      error
      (@ref error_handling) occurred.
      Since:
      Added in version 3.3.
    • vulkanSupported

      public int vulkanSupported()
      Returns:
      GLFW_TRUE if Vulkan is minimally available, or GLFW_FALSE otherwise.
      Since:
      Added in version 3.2.
    • waitEvents

      public void waitEvents()
      Since:
      Added in version 2.5.
    • waitEventsTimeout

      public void waitEventsTimeout(double timeout)
      Since:
      Added in version 3.2.
    • windowHint

      public void windowHint(int hint, int value)
      Since:
      Added in version 3.0. Replaces glfwOpenWindowHint.
    • windowHintString

      public void windowHintString(int hint, @Nullable @Nullable BytePtr value)
      Since:
      Added in version 3.3.
    • windowShouldClose

      public int windowShouldClose(@Nullable @Nullable GLFWwindow window)
      Returns:
      The value of the close flag.
      Since:
      Added in version 3.0.