Package org.lwjgl.glfw
Class Callbacks
java.lang.Object
org.lwjgl.glfw.Callbacks
Utility class for GLFW callbacks.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidglfwFreeCallbacks(long window) Resets all callbacks for the specified GLFW window toNULLandfreesall previously set callbacks.
-
Method Details
-
glfwFreeCallbacks
public static void glfwFreeCallbacks(long window) Resets all callbacks for the specified GLFW window toNULLandfreesall 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
-