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