Top Description Constructors Methods
org.lwjgl.glfw

public final Class Callbacks

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Utility class for GLFW callbacks.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
glfwFreeCallbacks(long
the GLFW window
window
)

Resets all callbacks for the specified GLFW window to NULL and frees all previously set callbacks.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Callbacksback to summary
private Callbacks()

Method Detail

glfwFreeCallbacksback to summary
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:long

the GLFW window