Class Callbacks

java.lang.Object
org.lwjgl.glfw.Callbacks

public final class Callbacks extends Object
Utility class for GLFW callbacks.
  • Method Details

    • glfwFreeCallbacks

      public static void glfwFreeCallbacks(long window)
      Resets all callbacks for the specified GLFW window to NULL and frees all previously set callbacks.

      This method resets only callbacks registered with a GLFW window. Non-window callbacks (registered with SetErrorCallback, SetMonitorCallback, etc.) must be reset and freed separately.

      This method is not official GLFW API. It exists in LWJGL to simplify window callback cleanup.

      Parameters:
      window - the GLFW window