Package org.lwjgl.glfw
Class Callbacks
- java.lang.Object
-
- org.lwjgl.glfw.Callbacks
-
public final class Callbacks extends java.lang.ObjectUtility class for GLFW callbacks.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglfwFreeCallbacks(long window)Resets all callbacks for the specified GLFW window toNULLandfreesall previously set callbacks.
-
-
-
Method Detail
-
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
-
-