Class GLFW

java.lang.Object
dev.pfaff.glass.glfw.GLFW
All Implemented Interfaces:
AutoCloseable

public final class GLFW extends Object implements AutoCloseable
  • Field Details

    • FD_GLFWerrorfun

      public static final FunctionDescriptor FD_GLFWerrorfun
    • ML_GLFWwindow

      public static final AddressLayout ML_GLFWwindow
    • ML_GLFWmonitor

      public static final AddressLayout ML_GLFWmonitor
    • ML_GLFWerrorfun

      public static final AddressLayout ML_GLFWerrorfun
    • MH_glfwInit

      public static final MethodHandle MH_glfwInit
    • MH_glfwTerminate

      public static final MethodHandle MH_glfwTerminate
    • MH_glfwPollEvents

      public static final MethodHandle MH_glfwPollEvents
    • MH_glfwSetErrorCallback

      public static final MethodHandle MH_glfwSetErrorCallback
  • Constructor Details

  • Method Details

    • close

      public void close()
      Deinitializes GLFW.
      Specified by:
      close in interface AutoCloseable
    • requireOnMainThread

      public void requireOnMainThread()
    • pollEvents

      public void pollEvents()
    • setErrorCallback

      public void setErrorCallback(ErrorCallback callback)