Class GLFW

java.lang.Object
org.lwjgl.glfw.GLFW

public class GLFW extends Object
  • Field Details

  • Method Details

    • getLibrary

      public static SharedLibrary getLibrary()
      Returns the glfw SharedLibrary.
    • glfwInit

      public static boolean glfwInit()
      int glfwInit(void)
    • glfwTerminate

      public static void glfwTerminate()
      void glfwTerminate(void)
    • glfwInitHint

      public static void glfwInitHint(int hint, int value)
      void glfwInitHint(int hint, int value)
    • nglfwInitAllocator

      public static void nglfwInitAllocator(long allocator)
      void glfwInitAllocator(GLFWallocator const * allocator)
    • glfwInitAllocator

      public static void glfwInitAllocator(@Nullable GLFWAllocator allocator)
      void glfwInitAllocator(GLFWallocator const * allocator)
    • nglfwGetVersion

      public static void nglfwGetVersion(long major, long minor, long rev)
      void glfwGetVersion(int * major, int * minor, int * rev)
    • glfwGetVersion

      public static void glfwGetVersion(@Nullable IntBuffer major, @Nullable IntBuffer minor, @Nullable IntBuffer rev)
      void glfwGetVersion(int * major, int * minor, int * rev)
    • nglfwGetVersionString

      public static long nglfwGetVersionString()
      char const * glfwGetVersionString(void)
    • glfwGetVersionString

      public static String glfwGetVersionString()
      char const * glfwGetVersionString(void)
    • nglfwGetError

      public static int nglfwGetError(long description)
      int glfwGetError(char const ** description)
    • glfwGetError

      public static int glfwGetError(@Nullable PointerBuffer description)
      int glfwGetError(char const ** description)
    • nglfwSetErrorCallback

      public static long nglfwSetErrorCallback(long cbfun)
      GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
    • glfwSetErrorCallback

      public static @Nullable GLFWErrorCallback glfwSetErrorCallback(@Nullable GLFWErrorCallbackI cbfun)
      GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
    • glfwGetPlatform

      public static int glfwGetPlatform()
      int glfwGetPlatform(void)
    • glfwPlatformSupported

      public static boolean glfwPlatformSupported(int platform)
      int glfwPlatformSupported(int platform)
    • nglfwGetMonitors

      public static long nglfwGetMonitors(long count)
      GLFWmonitor ** glfwGetMonitors(int * count)
    • glfwGetMonitors

      public static @Nullable PointerBuffer glfwGetMonitors()
      GLFWmonitor ** glfwGetMonitors(int * count)
    • glfwGetPrimaryMonitor

      public static long glfwGetPrimaryMonitor()
      GLFWmonitor * glfwGetPrimaryMonitor(void)
    • nglfwGetMonitorPos

      public static void nglfwGetMonitorPos(long monitor, long xpos, long ypos)
      void glfwGetMonitorPos(GLFWmonitor * monitor, int * xpos, int * ypos)
    • glfwGetMonitorPos

      public static void glfwGetMonitorPos(long monitor, @Nullable IntBuffer xpos, @Nullable IntBuffer ypos)
      void glfwGetMonitorPos(GLFWmonitor * monitor, int * xpos, int * ypos)
    • nglfwGetMonitorWorkarea

      public static void nglfwGetMonitorWorkarea(long monitor, long xpos, long ypos, long width, long height)
      void glfwGetMonitorWorkarea(GLFWmonitor * monitor, int * xpos, int * ypos, int * width, int * height)
    • glfwGetMonitorWorkarea

      public static void glfwGetMonitorWorkarea(long monitor, @Nullable IntBuffer xpos, @Nullable IntBuffer ypos, @Nullable IntBuffer width, @Nullable IntBuffer height)
      void glfwGetMonitorWorkarea(GLFWmonitor * monitor, int * xpos, int * ypos, int * width, int * height)
    • nglfwGetMonitorPhysicalSize

      public static void nglfwGetMonitorPhysicalSize(long monitor, long widthMM, long heightMM)
      void glfwGetMonitorPhysicalSize(GLFWmonitor * monitor, int * widthMM, int * heightMM)
    • glfwGetMonitorPhysicalSize

      public static void glfwGetMonitorPhysicalSize(long monitor, @Nullable IntBuffer widthMM, @Nullable IntBuffer heightMM)
      void glfwGetMonitorPhysicalSize(GLFWmonitor * monitor, int * widthMM, int * heightMM)
    • nglfwGetMonitorContentScale

      public static void nglfwGetMonitorContentScale(long monitor, long xscale, long yscale)
      void glfwGetMonitorContentScale(GLFWmonitor * monitor, float * xscale, float * yscale)
    • glfwGetMonitorContentScale

      public static void glfwGetMonitorContentScale(long monitor, @Nullable FloatBuffer xscale, @Nullable FloatBuffer yscale)
      void glfwGetMonitorContentScale(GLFWmonitor * monitor, float * xscale, float * yscale)
    • nglfwGetMonitorName

      public static long nglfwGetMonitorName(long monitor)
      char const * glfwGetMonitorName(GLFWmonitor * monitor)
    • glfwGetMonitorName

      public static @Nullable String glfwGetMonitorName(long monitor)
      char const * glfwGetMonitorName(GLFWmonitor * monitor)
    • glfwSetMonitorUserPointer

      public static void glfwSetMonitorUserPointer(long monitor, long pointer)
      void glfwSetMonitorUserPointer(GLFWmonitor * monitor, void * pointer)
    • glfwGetMonitorUserPointer

      public static long glfwGetMonitorUserPointer(long monitor)
      void * glfwGetMonitorUserPointer(GLFWmonitor * monitor)
    • nglfwSetMonitorCallback

      public static long nglfwSetMonitorCallback(long cbfun)
      GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun cbfun)
    • glfwSetMonitorCallback

      public static @Nullable GLFWMonitorCallback glfwSetMonitorCallback(@Nullable GLFWMonitorCallbackI cbfun)
      GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun cbfun)
    • nglfwGetVideoModes

      public static long nglfwGetVideoModes(long monitor, long count)
      GLFWvidmode const * glfwGetVideoModes(GLFWmonitor * monitor, int * count)
    • glfwGetVideoModes

      public static @Nullable GLFWVidMode.Buffer glfwGetVideoModes(long monitor)
      GLFWvidmode const * glfwGetVideoModes(GLFWmonitor * monitor, int * count)
    • nglfwGetVideoMode

      public static long nglfwGetVideoMode(long monitor)
      GLFWvidmode const * glfwGetVideoMode(GLFWmonitor * monitor)
    • glfwGetVideoMode

      public static @Nullable GLFWVidMode glfwGetVideoMode(long monitor)
      GLFWvidmode const * glfwGetVideoMode(GLFWmonitor * monitor)
    • glfwSetGamma

      public static void glfwSetGamma(long monitor, float gamma)
      void glfwSetGamma(GLFWmonitor * monitor, float gamma)
    • nglfwGetGammaRamp

      public static long nglfwGetGammaRamp(long monitor)
      GLFWgammaramp const * glfwGetGammaRamp(GLFWmonitor * monitor)
    • glfwGetGammaRamp

      public static @Nullable GLFWGammaRamp glfwGetGammaRamp(long monitor)
      GLFWgammaramp const * glfwGetGammaRamp(GLFWmonitor * monitor)
    • nglfwSetGammaRamp

      public static void nglfwSetGammaRamp(long monitor, long ramp)
      void glfwSetGammaRamp(GLFWmonitor * monitor, GLFWgammaramp const * ramp)
    • glfwSetGammaRamp

      public static void glfwSetGammaRamp(long monitor, GLFWGammaRamp ramp)
      void glfwSetGammaRamp(GLFWmonitor * monitor, GLFWgammaramp const * ramp)
    • glfwDefaultWindowHints

      public static void glfwDefaultWindowHints()
      void glfwDefaultWindowHints(void)
    • glfwWindowHint

      public static void glfwWindowHint(int hint, int value)
      void glfwWindowHint(int hint, int value)
    • nglfwWindowHintString

      public static void nglfwWindowHintString(int hint, long value)
      void glfwWindowHintString(int hint, char const * value)
    • glfwWindowHintString

      public static void glfwWindowHintString(int hint, ByteBuffer value)
      void glfwWindowHintString(int hint, char const * value)
    • glfwWindowHintString

      public static void glfwWindowHintString(int hint, CharSequence value)
      void glfwWindowHintString(int hint, char const * value)
    • nglfwCreateWindow

      public static long nglfwCreateWindow(int width, int height, long title, long monitor, long share)
      GLFWwindow * glfwCreateWindow(int width, int height, char const * title, GLFWmonitor * monitor, GLFWwindow * share)
    • glfwCreateWindow

      public static long glfwCreateWindow(int width, int height, ByteBuffer title, long monitor, long share)
      GLFWwindow * glfwCreateWindow(int width, int height, char const * title, GLFWmonitor * monitor, GLFWwindow * share)
    • glfwCreateWindow

      public static long glfwCreateWindow(int width, int height, CharSequence title, long monitor, long share)
      GLFWwindow * glfwCreateWindow(int width, int height, char const * title, GLFWmonitor * monitor, GLFWwindow * share)
    • glfwDestroyWindow

      public static void glfwDestroyWindow(long window)
      void glfwDestroyWindow(GLFWwindow * window)
    • glfwWindowShouldClose

      public static boolean glfwWindowShouldClose(long window)
      int glfwWindowShouldClose(GLFWwindow * window)
    • glfwSetWindowShouldClose

      public static void glfwSetWindowShouldClose(long window, boolean value)
      void glfwSetWindowShouldClose(GLFWwindow * window, int value)
    • nglfwGetWindowTitle

      public static long nglfwGetWindowTitle(long window)
      char const * glfwGetWindowTitle(GLFWwindow * window)
    • glfwGetWindowTitle

      public static @Nullable String glfwGetWindowTitle(long window)
      char const * glfwGetWindowTitle(GLFWwindow * window)
    • nglfwSetWindowTitle

      public static void nglfwSetWindowTitle(long window, long title)
      void glfwSetWindowTitle(GLFWwindow * window, char const * title)
    • glfwSetWindowTitle

      public static void glfwSetWindowTitle(long window, ByteBuffer title)
      void glfwSetWindowTitle(GLFWwindow * window, char const * title)
    • glfwSetWindowTitle

      public static void glfwSetWindowTitle(long window, CharSequence title)
      void glfwSetWindowTitle(GLFWwindow * window, char const * title)
    • nglfwSetWindowIcon

      public static void nglfwSetWindowIcon(long window, int count, long images)
      void glfwSetWindowIcon(GLFWwindow * window, int count, GLFWimage const * images)
    • glfwSetWindowIcon

      public static void glfwSetWindowIcon(long window, @Nullable GLFWImage.Buffer images)
      void glfwSetWindowIcon(GLFWwindow * window, int count, GLFWimage const * images)
    • nglfwGetWindowPos

      public static void nglfwGetWindowPos(long window, long xpos, long ypos)
      void glfwGetWindowPos(GLFWwindow * window, int * xpos, int * ypos)
    • glfwGetWindowPos

      public static void glfwGetWindowPos(long window, @Nullable IntBuffer xpos, @Nullable IntBuffer ypos)
      void glfwGetWindowPos(GLFWwindow * window, int * xpos, int * ypos)
    • glfwSetWindowPos

      public static void glfwSetWindowPos(long window, int xpos, int ypos)
      void glfwSetWindowPos(GLFWwindow * window, int xpos, int ypos)
    • nglfwGetWindowSize

      public static void nglfwGetWindowSize(long window, long width, long height)
      void glfwGetWindowSize(GLFWwindow * window, int * width, int * height)
    • glfwGetWindowSize

      public static void glfwGetWindowSize(long window, @Nullable IntBuffer width, @Nullable IntBuffer height)
      void glfwGetWindowSize(GLFWwindow * window, int * width, int * height)
    • glfwSetWindowSizeLimits

      public static void glfwSetWindowSizeLimits(long window, int minwidth, int minheight, int maxwidth, int maxheight)
      void glfwSetWindowSizeLimits(GLFWwindow * window, int minwidth, int minheight, int maxwidth, int maxheight)
    • glfwSetWindowAspectRatio

      public static void glfwSetWindowAspectRatio(long window, int numer, int denom)
      void glfwSetWindowAspectRatio(GLFWwindow * window, int numer, int denom)
    • glfwSetWindowSize

      public static void glfwSetWindowSize(long window, int width, int height)
      void glfwSetWindowSize(GLFWwindow * window, int width, int height)
    • nglfwGetFramebufferSize

      public static void nglfwGetFramebufferSize(long window, long width, long height)
      void glfwGetFramebufferSize(GLFWwindow * window, int * width, int * height)
    • glfwGetFramebufferSize

      public static void glfwGetFramebufferSize(long window, @Nullable IntBuffer width, @Nullable IntBuffer height)
      void glfwGetFramebufferSize(GLFWwindow * window, int * width, int * height)
    • nglfwGetWindowFrameSize

      public static void nglfwGetWindowFrameSize(long window, long left, long top, long right, long bottom)
      void glfwGetWindowFrameSize(GLFWwindow * window, int * left, int * top, int * right, int * bottom)
    • glfwGetWindowFrameSize

      public static void glfwGetWindowFrameSize(long window, @Nullable IntBuffer left, @Nullable IntBuffer top, @Nullable IntBuffer right, @Nullable IntBuffer bottom)
      void glfwGetWindowFrameSize(GLFWwindow * window, int * left, int * top, int * right, int * bottom)
    • nglfwGetWindowContentScale

      public static void nglfwGetWindowContentScale(long window, long xscale, long yscale)
      void glfwGetWindowContentScale(GLFWwindow * window, float * xscale, float * yscale)
    • glfwGetWindowContentScale

      public static void glfwGetWindowContentScale(long window, @Nullable FloatBuffer xscale, @Nullable FloatBuffer yscale)
      void glfwGetWindowContentScale(GLFWwindow * window, float * xscale, float * yscale)
    • glfwGetWindowOpacity

      public static float glfwGetWindowOpacity(long window)
      float glfwGetWindowOpacity(GLFWwindow * window)
    • glfwSetWindowOpacity

      public static void glfwSetWindowOpacity(long window, float opacity)
      void glfwSetWindowOpacity(GLFWwindow * window, float opacity)
    • glfwIconifyWindow

      public static void glfwIconifyWindow(long window)
      void glfwIconifyWindow(GLFWwindow * window)
    • glfwRestoreWindow

      public static void glfwRestoreWindow(long window)
      void glfwRestoreWindow(GLFWwindow * window)
    • glfwMaximizeWindow

      public static void glfwMaximizeWindow(long window)
      void glfwMaximizeWindow(GLFWwindow * window)
    • glfwShowWindow

      public static void glfwShowWindow(long window)
      void glfwShowWindow(GLFWwindow * window)
    • glfwHideWindow

      public static void glfwHideWindow(long window)
      void glfwHideWindow(GLFWwindow * window)
    • glfwFocusWindow

      public static void glfwFocusWindow(long window)
      void glfwFocusWindow(GLFWwindow * window)
    • glfwRequestWindowAttention

      public static void glfwRequestWindowAttention(long window)
      void glfwRequestWindowAttention(GLFWwindow * window)
    • glfwGetWindowMonitor

      public static long glfwGetWindowMonitor(long window)
      GLFWmonitor * glfwGetWindowMonitor(GLFWwindow * window)
    • glfwSetWindowMonitor

      public static void glfwSetWindowMonitor(long window, long monitor, int xpos, int ypos, int width, int height, int refreshRate)
      void glfwSetWindowMonitor(GLFWwindow * window, GLFWmonitor * monitor, int xpos, int ypos, int width, int height, int refreshRate)
    • glfwGetWindowAttrib

      public static int glfwGetWindowAttrib(long window, int attrib)
      int glfwGetWindowAttrib(GLFWwindow * window, int attrib)
    • glfwSetWindowAttrib

      public static void glfwSetWindowAttrib(long window, int attrib, int value)
      void glfwSetWindowAttrib(GLFWwindow * window, int attrib, int value)
    • glfwSetWindowUserPointer

      public static void glfwSetWindowUserPointer(long window, long pointer)
      void glfwSetWindowUserPointer(GLFWwindow * window, void * pointer)
    • glfwGetWindowUserPointer

      public static long glfwGetWindowUserPointer(long window)
      void * glfwGetWindowUserPointer(GLFWwindow * window)
    • nglfwSetWindowPosCallback

      public static long nglfwSetWindowPosCallback(long window, long cbfun)
      GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow * window, GLFWwindowposfun cbfun)
    • glfwSetWindowPosCallback

      public static @Nullable GLFWWindowPosCallback glfwSetWindowPosCallback(long window, @Nullable GLFWWindowPosCallbackI cbfun)
      GLFWwindowposfun glfwSetWindowPosCallback(GLFWwindow * window, GLFWwindowposfun cbfun)
    • nglfwSetWindowSizeCallback

      public static long nglfwSetWindowSizeCallback(long window, long cbfun)
      GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow * window, GLFWwindowsizefun cbfun)
    • glfwSetWindowSizeCallback

      public static @Nullable GLFWWindowSizeCallback glfwSetWindowSizeCallback(long window, @Nullable GLFWWindowSizeCallbackI cbfun)
      GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow * window, GLFWwindowsizefun cbfun)
    • nglfwSetWindowCloseCallback

      public static long nglfwSetWindowCloseCallback(long window, long cbfun)
      GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow * window, GLFWwindowclosefun cbfun)
    • glfwSetWindowCloseCallback

      public static @Nullable GLFWWindowCloseCallback glfwSetWindowCloseCallback(long window, @Nullable GLFWWindowCloseCallbackI cbfun)
      GLFWwindowclosefun glfwSetWindowCloseCallback(GLFWwindow * window, GLFWwindowclosefun cbfun)
    • nglfwSetWindowRefreshCallback

      public static long nglfwSetWindowRefreshCallback(long window, long cbfun)
      GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow * window, GLFWwindowrefreshfun cbfun)
    • glfwSetWindowRefreshCallback

      public static @Nullable GLFWWindowRefreshCallback glfwSetWindowRefreshCallback(long window, @Nullable GLFWWindowRefreshCallbackI cbfun)
      GLFWwindowrefreshfun glfwSetWindowRefreshCallback(GLFWwindow * window, GLFWwindowrefreshfun cbfun)
    • nglfwSetWindowFocusCallback

      public static long nglfwSetWindowFocusCallback(long window, long cbfun)
      GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow * window, GLFWwindowfocusfun cbfun)
    • glfwSetWindowFocusCallback

      public static @Nullable GLFWWindowFocusCallback glfwSetWindowFocusCallback(long window, @Nullable GLFWWindowFocusCallbackI cbfun)
      GLFWwindowfocusfun glfwSetWindowFocusCallback(GLFWwindow * window, GLFWwindowfocusfun cbfun)
    • nglfwSetWindowIconifyCallback

      public static long nglfwSetWindowIconifyCallback(long window, long cbfun)
      GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow * window, GLFWwindowiconifyfun cbfun)
    • glfwSetWindowIconifyCallback

      public static @Nullable GLFWWindowIconifyCallback glfwSetWindowIconifyCallback(long window, @Nullable GLFWWindowIconifyCallbackI cbfun)
      GLFWwindowiconifyfun glfwSetWindowIconifyCallback(GLFWwindow * window, GLFWwindowiconifyfun cbfun)
    • nglfwSetWindowMaximizeCallback

      public static long nglfwSetWindowMaximizeCallback(long window, long cbfun)
      GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(GLFWwindow * window, GLFWwindowmaximizefun cbfun)
    • glfwSetWindowMaximizeCallback

      public static @Nullable GLFWWindowMaximizeCallback glfwSetWindowMaximizeCallback(long window, @Nullable GLFWWindowMaximizeCallbackI cbfun)
      GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(GLFWwindow * window, GLFWwindowmaximizefun cbfun)
    • nglfwSetFramebufferSizeCallback

      public static long nglfwSetFramebufferSizeCallback(long window, long cbfun)
      GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow * window, GLFWframebuffersizefun cbfun)
    • glfwSetFramebufferSizeCallback

      public static @Nullable GLFWFramebufferSizeCallback glfwSetFramebufferSizeCallback(long window, @Nullable GLFWFramebufferSizeCallbackI cbfun)
      GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow * window, GLFWframebuffersizefun cbfun)
    • nglfwSetWindowContentScaleCallback

      public static long nglfwSetWindowContentScaleCallback(long window, long cbfun)
      GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(GLFWwindow * window, GLFWwindowcontentscalefun cbfun)
    • glfwSetWindowContentScaleCallback

      public static @Nullable GLFWWindowContentScaleCallback glfwSetWindowContentScaleCallback(long window, @Nullable GLFWWindowContentScaleCallbackI cbfun)
      GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(GLFWwindow * window, GLFWwindowcontentscalefun cbfun)
    • glfwPollEvents

      public static void glfwPollEvents()
      void glfwPollEvents(void)
    • glfwWaitEvents

      public static void glfwWaitEvents()
      void glfwWaitEvents(void)
    • glfwWaitEventsTimeout

      public static void glfwWaitEventsTimeout(double timeout)
      void glfwWaitEventsTimeout(double timeout)
    • glfwPostEmptyEvent

      public static void glfwPostEmptyEvent()
      void glfwPostEmptyEvent(void)
    • glfwGetInputMode

      public static int glfwGetInputMode(long window, int mode)
      int glfwGetInputMode(GLFWwindow * window, int mode)
    • glfwSetInputMode

      public static void glfwSetInputMode(long window, int mode, int value)
      void glfwSetInputMode(GLFWwindow * window, int mode, int value)
    • glfwRawMouseMotionSupported

      public static boolean glfwRawMouseMotionSupported()
      int glfwRawMouseMotionSupported(void)
    • nglfwGetKeyName

      public static long nglfwGetKeyName(int key, int scancode)
      char const * glfwGetKeyName(int key, int scancode)
    • glfwGetKeyName

      public static @Nullable String glfwGetKeyName(int key, int scancode)
      char const * glfwGetKeyName(int key, int scancode)
    • glfwGetKeyScancode

      public static int glfwGetKeyScancode(int key)
      int glfwGetKeyScancode(int key)
    • glfwGetKey

      public static int glfwGetKey(long window, int key)
      int glfwGetKey(GLFWwindow * window, int key)
    • glfwGetMouseButton

      public static int glfwGetMouseButton(long window, int button)
      int glfwGetMouseButton(GLFWwindow * window, int button)
    • nglfwGetCursorPos

      public static void nglfwGetCursorPos(long window, long xpos, long ypos)
      void glfwGetCursorPos(GLFWwindow * window, double * xpos, double * ypos)
    • glfwGetCursorPos

      public static void glfwGetCursorPos(long window, @Nullable DoubleBuffer xpos, @Nullable DoubleBuffer ypos)
      void glfwGetCursorPos(GLFWwindow * window, double * xpos, double * ypos)
    • glfwSetCursorPos

      public static void glfwSetCursorPos(long window, double xpos, double ypos)
      void glfwSetCursorPos(GLFWwindow * window, double xpos, double ypos)
    • nglfwCreateCursor

      public static long nglfwCreateCursor(long image, int xhot, int yhot)
      GLFWcursor * glfwCreateCursor(GLFWimage const * image, int xhot, int yhot)
    • glfwCreateCursor

      public static long glfwCreateCursor(GLFWImage image, int xhot, int yhot)
      GLFWcursor * glfwCreateCursor(GLFWimage const * image, int xhot, int yhot)
    • glfwCreateStandardCursor

      public static long glfwCreateStandardCursor(int shape)
      GLFWcursor * glfwCreateStandardCursor(int shape)
    • glfwDestroyCursor

      public static void glfwDestroyCursor(long cursor)
      void glfwDestroyCursor(GLFWcursor * cursor)
    • glfwSetCursor

      public static void glfwSetCursor(long window, long cursor)
      void glfwSetCursor(GLFWwindow * window, GLFWcursor * cursor)
    • nglfwGetPreeditCursorRectangle

      public static void nglfwGetPreeditCursorRectangle(long window, long x, long y, long w, long h)
      void glfwGetPreeditCursorRectangle(GLFWwindow * window, int * x, int * y, int * w, int * h)
    • glfwGetPreeditCursorRectangle

      public static void glfwGetPreeditCursorRectangle(long window, @Nullable IntBuffer x, @Nullable IntBuffer y, @Nullable IntBuffer w, @Nullable IntBuffer h)
      void glfwGetPreeditCursorRectangle(GLFWwindow * window, int * x, int * y, int * w, int * h)
    • glfwSetPreeditCursorRectangle

      public static void glfwSetPreeditCursorRectangle(long window, int x, int y, int w, int h)
      void glfwSetPreeditCursorRectangle(GLFWwindow * window, int x, int y, int w, int h)
    • glfwResetPreeditText

      public static void glfwResetPreeditText(long window)
      void glfwResetPreeditText(GLFWwindow * window)
    • nglfwGetPreeditCandidate

      public static long nglfwGetPreeditCandidate(long window, int index, long textCount)
      unsigned int * glfwGetPreeditCandidate(GLFWwindow * window, int index, int * textCount)
    • glfwGetPreeditCandidate

      public static @Nullable IntBuffer glfwGetPreeditCandidate(long window, int index)
      unsigned int * glfwGetPreeditCandidate(GLFWwindow * window, int index, int * textCount)
    • nglfwSetKeyCallback

      public static long nglfwSetKeyCallback(long window, long cbfun)
      GLFWkeyfun glfwSetKeyCallback(GLFWwindow * window, GLFWkeyfun cbfun)
    • glfwSetKeyCallback

      public static @Nullable GLFWKeyCallback glfwSetKeyCallback(long window, @Nullable GLFWKeyCallbackI cbfun)
      GLFWkeyfun glfwSetKeyCallback(GLFWwindow * window, GLFWkeyfun cbfun)
    • nglfwSetCharCallback

      public static long nglfwSetCharCallback(long window, long cbfun)
      GLFWcharfun glfwSetCharCallback(GLFWwindow * window, GLFWcharfun cbfun)
    • glfwSetCharCallback

      public static @Nullable GLFWCharCallback glfwSetCharCallback(long window, @Nullable GLFWCharCallbackI cbfun)
      GLFWcharfun glfwSetCharCallback(GLFWwindow * window, GLFWcharfun cbfun)
    • nglfwSetCharModsCallback

      public static long nglfwSetCharModsCallback(long window, long cbfun)
      GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow * window, GLFWcharmodsfun cbfun)
    • glfwSetCharModsCallback

      public static @Nullable GLFWCharModsCallback glfwSetCharModsCallback(long window, @Nullable GLFWCharModsCallbackI cbfun)
      GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow * window, GLFWcharmodsfun cbfun)
    • nglfwSetPreeditCallback

      public static long nglfwSetPreeditCallback(long window, long cbfun)
      GLFWpreeditfun glfwSetPreeditCallback(GLFWwindow * window, GLFWpreeditfun cbfun)
    • glfwSetPreeditCallback

      public static @Nullable GLFWPreeditCallback glfwSetPreeditCallback(long window, @Nullable GLFWPreeditCallbackI cbfun)
      GLFWpreeditfun glfwSetPreeditCallback(GLFWwindow * window, GLFWpreeditfun cbfun)
    • nglfwSetIMEStatusCallback

      public static long nglfwSetIMEStatusCallback(long window, long cbfun)
      GLFWimestatusfun glfwSetIMEStatusCallback(GLFWwindow * window, GLFWimestatusfun cbfun)
    • glfwSetIMEStatusCallback

      public static @Nullable GLFWIMEStatusCallback glfwSetIMEStatusCallback(long window, @Nullable GLFWIMEStatusCallbackI cbfun)
      GLFWimestatusfun glfwSetIMEStatusCallback(GLFWwindow * window, GLFWimestatusfun cbfun)
    • nglfwSetPreeditCandidateCallback

      public static long nglfwSetPreeditCandidateCallback(long window, long cbfun)
      GLFWpreeditcandidatefun glfwSetPreeditCandidateCallback(GLFWwindow * window, GLFWpreeditcandidatefun cbfun)
    • glfwSetPreeditCandidateCallback

      public static @Nullable GLFWPreeditCandidateCallback glfwSetPreeditCandidateCallback(long window, @Nullable GLFWPreeditCandidateCallbackI cbfun)
      GLFWpreeditcandidatefun glfwSetPreeditCandidateCallback(GLFWwindow * window, GLFWpreeditcandidatefun cbfun)
    • nglfwSetMouseButtonCallback

      public static long nglfwSetMouseButtonCallback(long window, long cbfun)
      GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow * window, GLFWmousebuttonfun cbfun)
    • glfwSetMouseButtonCallback

      public static @Nullable GLFWMouseButtonCallback glfwSetMouseButtonCallback(long window, @Nullable GLFWMouseButtonCallbackI cbfun)
      GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow * window, GLFWmousebuttonfun cbfun)
    • nglfwSetCursorPosCallback

      public static long nglfwSetCursorPosCallback(long window, long cbfun)
      GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow * window, GLFWcursorposfun cbfun)
    • glfwSetCursorPosCallback

      public static @Nullable GLFWCursorPosCallback glfwSetCursorPosCallback(long window, @Nullable GLFWCursorPosCallbackI cbfun)
      GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow * window, GLFWcursorposfun cbfun)
    • nglfwSetCursorEnterCallback

      public static long nglfwSetCursorEnterCallback(long window, long cbfun)
      GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow * window, GLFWcursorenterfun cbfun)
    • glfwSetCursorEnterCallback

      public static @Nullable GLFWCursorEnterCallback glfwSetCursorEnterCallback(long window, @Nullable GLFWCursorEnterCallbackI cbfun)
      GLFWcursorenterfun glfwSetCursorEnterCallback(GLFWwindow * window, GLFWcursorenterfun cbfun)
    • nglfwSetScrollCallback

      public static long nglfwSetScrollCallback(long window, long cbfun)
      GLFWscrollfun glfwSetScrollCallback(GLFWwindow * window, GLFWscrollfun cbfun)
    • glfwSetScrollCallback

      public static @Nullable GLFWScrollCallback glfwSetScrollCallback(long window, @Nullable GLFWScrollCallbackI cbfun)
      GLFWscrollfun glfwSetScrollCallback(GLFWwindow * window, GLFWscrollfun cbfun)
    • nglfwSetDropCallback

      public static long nglfwSetDropCallback(long window, long cbfun)
      GLFWdropfun glfwSetDropCallback(GLFWwindow * window, GLFWdropfun cbfun)
    • glfwSetDropCallback

      public static @Nullable GLFWDropCallback glfwSetDropCallback(long window, @Nullable GLFWDropCallbackI cbfun)
      GLFWdropfun glfwSetDropCallback(GLFWwindow * window, GLFWdropfun cbfun)
    • glfwJoystickPresent

      public static boolean glfwJoystickPresent(int jid)
      int glfwJoystickPresent(int jid)
    • nglfwGetJoystickAxes

      public static long nglfwGetJoystickAxes(int jid, long count)
      float const * glfwGetJoystickAxes(int jid, int * count)
    • glfwGetJoystickAxes

      public static @Nullable FloatBuffer glfwGetJoystickAxes(int jid)
      float const * glfwGetJoystickAxes(int jid, int * count)
    • nglfwGetJoystickButtons

      public static long nglfwGetJoystickButtons(int jid, long count)
      unsigned char const * glfwGetJoystickButtons(int jid, int * count)
    • glfwGetJoystickButtons

      public static @Nullable ByteBuffer glfwGetJoystickButtons(int jid)
      unsigned char const * glfwGetJoystickButtons(int jid, int * count)
    • nglfwGetJoystickHats

      public static long nglfwGetJoystickHats(int jid, long count)
      unsigned char const * glfwGetJoystickHats(int jid, int * count)
    • glfwGetJoystickHats

      public static @Nullable ByteBuffer glfwGetJoystickHats(int jid)
      unsigned char const * glfwGetJoystickHats(int jid, int * count)
    • nglfwGetJoystickName

      public static long nglfwGetJoystickName(int jid)
      char const * glfwGetJoystickName(int jid)
    • glfwGetJoystickName

      public static @Nullable String glfwGetJoystickName(int jid)
      char const * glfwGetJoystickName(int jid)
    • nglfwGetJoystickGUID

      public static long nglfwGetJoystickGUID(int jid)
      char const * glfwGetJoystickGUID(int jid)
    • glfwGetJoystickGUID

      public static @Nullable String glfwGetJoystickGUID(int jid)
      char const * glfwGetJoystickGUID(int jid)
    • glfwSetJoystickUserPointer

      public static void glfwSetJoystickUserPointer(int jid, long pointer)
      void glfwSetJoystickUserPointer(int jid, void * pointer)
    • glfwGetJoystickUserPointer

      public static long glfwGetJoystickUserPointer(int jid)
      void * glfwGetJoystickUserPointer(int jid)
    • glfwJoystickIsGamepad

      public static boolean glfwJoystickIsGamepad(int jid)
      int glfwJoystickIsGamepad(int jid)
    • nglfwSetJoystickCallback

      public static long nglfwSetJoystickCallback(long cbfun)
      GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun cbfun)
    • glfwSetJoystickCallback

      public static @Nullable GLFWJoystickCallback glfwSetJoystickCallback(@Nullable GLFWJoystickCallbackI cbfun)
      GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun cbfun)
    • nglfwUpdateGamepadMappings

      public static int nglfwUpdateGamepadMappings(long string)
      int glfwUpdateGamepadMappings(char const * string)
    • glfwUpdateGamepadMappings

      public static boolean glfwUpdateGamepadMappings(ByteBuffer string)
      int glfwUpdateGamepadMappings(char const * string)
    • nglfwGetGamepadName

      public static long nglfwGetGamepadName(int jid)
      char const * glfwGetGamepadName(int jid)
    • glfwGetGamepadName

      public static @Nullable String glfwGetGamepadName(int jid)
      char const * glfwGetGamepadName(int jid)
    • nglfwGetGamepadState

      public static int nglfwGetGamepadState(int jid, long state)
      int glfwGetGamepadState(int jid, GLFWgamepadstate * state)
    • glfwGetGamepadState

      public static boolean glfwGetGamepadState(int jid, GLFWGamepadState state)
      int glfwGetGamepadState(int jid, GLFWgamepadstate * state)
    • nglfwSetClipboardString

      public static void nglfwSetClipboardString(long window, long string)
      void glfwSetClipboardString(GLFWwindow * window, char const * string)
    • glfwSetClipboardString

      public static void glfwSetClipboardString(long window, ByteBuffer string)
      void glfwSetClipboardString(GLFWwindow * window, char const * string)
    • glfwSetClipboardString

      public static void glfwSetClipboardString(long window, CharSequence string)
      void glfwSetClipboardString(GLFWwindow * window, char const * string)
    • nglfwGetClipboardString

      public static long nglfwGetClipboardString(long window)
      char const * glfwGetClipboardString(GLFWwindow * window)
    • glfwGetClipboardString

      public static @Nullable String glfwGetClipboardString(long window)
      char const * glfwGetClipboardString(GLFWwindow * window)
    • glfwGetTime

      public static double glfwGetTime()
      double glfwGetTime(void)
    • glfwSetTime

      public static void glfwSetTime(double time)
      void glfwSetTime(double time)
    • glfwGetTimerValue

      public static long glfwGetTimerValue()
      uint64_t glfwGetTimerValue(void)
    • glfwGetTimerFrequency

      public static long glfwGetTimerFrequency()
      uint64_t glfwGetTimerFrequency(void)
    • glfwMakeContextCurrent

      public static void glfwMakeContextCurrent(long window)
      void glfwMakeContextCurrent(GLFWwindow * window)
    • glfwGetCurrentContext

      public static long glfwGetCurrentContext()
      GLFWwindow * glfwGetCurrentContext(void)
    • glfwSwapBuffers

      public static void glfwSwapBuffers(long window)
      void glfwSwapBuffers(GLFWwindow * window)
    • glfwSwapInterval

      public static void glfwSwapInterval(int interval)
      void glfwSwapInterval(int interval)
    • nglfwExtensionSupported

      public static int nglfwExtensionSupported(long extension)
      int glfwExtensionSupported(char const * extension)
    • glfwExtensionSupported

      public static boolean glfwExtensionSupported(ByteBuffer extension)
      int glfwExtensionSupported(char const * extension)
    • glfwExtensionSupported

      public static boolean glfwExtensionSupported(CharSequence extension)
      int glfwExtensionSupported(char const * extension)
    • nglfwGetProcAddress

      public static long nglfwGetProcAddress(long procname)
      GLFWglproc glfwGetProcAddress(char const * procname)
    • glfwGetProcAddress

      public static long glfwGetProcAddress(ByteBuffer procname)
      GLFWglproc glfwGetProcAddress(char const * procname)
    • glfwGetProcAddress

      public static long glfwGetProcAddress(CharSequence procname)
      GLFWglproc glfwGetProcAddress(char const * procname)
    • glfwGetVersion

      public static void glfwGetVersion(int @Nullable [] major, int @Nullable [] minor, int @Nullable [] rev)
      void glfwGetVersion(int * major, int * minor, int * rev)
    • glfwGetMonitorPos

      public static void glfwGetMonitorPos(long monitor, int @Nullable [] xpos, int @Nullable [] ypos)
      void glfwGetMonitorPos(GLFWmonitor * monitor, int * xpos, int * ypos)
    • glfwGetMonitorWorkarea

      public static void glfwGetMonitorWorkarea(long monitor, int @Nullable [] xpos, int @Nullable [] ypos, int @Nullable [] width, int @Nullable [] height)
      void glfwGetMonitorWorkarea(GLFWmonitor * monitor, int * xpos, int * ypos, int * width, int * height)
    • glfwGetMonitorPhysicalSize

      public static void glfwGetMonitorPhysicalSize(long monitor, int @Nullable [] widthMM, int @Nullable [] heightMM)
      void glfwGetMonitorPhysicalSize(GLFWmonitor * monitor, int * widthMM, int * heightMM)
    • glfwGetMonitorContentScale

      public static void glfwGetMonitorContentScale(long monitor, float @Nullable [] xscale, float @Nullable [] yscale)
      void glfwGetMonitorContentScale(GLFWmonitor * monitor, float * xscale, float * yscale)
    • glfwGetWindowPos

      public static void glfwGetWindowPos(long window, int @Nullable [] xpos, int @Nullable [] ypos)
      void glfwGetWindowPos(GLFWwindow * window, int * xpos, int * ypos)
    • glfwGetWindowSize

      public static void glfwGetWindowSize(long window, int @Nullable [] width, int @Nullable [] height)
      void glfwGetWindowSize(GLFWwindow * window, int * width, int * height)
    • glfwGetFramebufferSize

      public static void glfwGetFramebufferSize(long window, int @Nullable [] width, int @Nullable [] height)
      void glfwGetFramebufferSize(GLFWwindow * window, int * width, int * height)
    • glfwGetWindowFrameSize

      public static void glfwGetWindowFrameSize(long window, int @Nullable [] left, int @Nullable [] top, int @Nullable [] right, int @Nullable [] bottom)
      void glfwGetWindowFrameSize(GLFWwindow * window, int * left, int * top, int * right, int * bottom)
    • glfwGetWindowContentScale

      public static void glfwGetWindowContentScale(long window, float @Nullable [] xscale, float @Nullable [] yscale)
      void glfwGetWindowContentScale(GLFWwindow * window, float * xscale, float * yscale)
    • glfwGetCursorPos

      public static void glfwGetCursorPos(long window, double @Nullable [] xpos, double @Nullable [] ypos)
      void glfwGetCursorPos(GLFWwindow * window, double * xpos, double * ypos)
    • glfwGetPreeditCursorRectangle

      public static void glfwGetPreeditCursorRectangle(long window, int @Nullable [] x, int @Nullable [] y, int @Nullable [] w, int @Nullable [] h)
      void glfwGetPreeditCursorRectangle(GLFWwindow * window, int * x, int * y, int * w, int * h)