Package org.lwjgl.glfw
Class GLFWWindowCloseCallback
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.glfw.GLFWWindowCloseCallback
-
- All Implemented Interfaces:
java.lang.AutoCloseable,GLFWWindowCloseCallbackI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class GLFWWindowCloseCallback extends org.lwjgl.system.Callback implements GLFWWindowCloseCallbackI
Instances of this class may be passed to theSetWindowCloseCallbackmethod.Type
void (*GLFWWindowCloseCallbackI.invoke(long)) ( GLFWwindow *window )- Since:
- version 2.5
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.glfw.GLFWWindowCloseCallbackI
CIF
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GLFWWindowCloseCallbackcreate(long functionPointer)Creates aGLFWWindowCloseCallbackinstance from the specified function pointer.static GLFWWindowCloseCallbackcreate(GLFWWindowCloseCallbackI instance)Creates aGLFWWindowCloseCallbackinstance that delegates to the specifiedGLFWWindowCloseCallbackIinstance.static GLFWWindowCloseCallbackcreateSafe(long functionPointer)GLFWWindowCloseCallbackset(long window)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.glfw.GLFWWindowCloseCallbackI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static GLFWWindowCloseCallback create(long functionPointer)
Creates aGLFWWindowCloseCallbackinstance from the specified function pointer.- Returns:
- the new
GLFWWindowCloseCallback
-
createSafe
@Nullable public static GLFWWindowCloseCallback createSafe(long functionPointer)
-
create
public static GLFWWindowCloseCallback create(GLFWWindowCloseCallbackI instance)
Creates aGLFWWindowCloseCallbackinstance that delegates to the specifiedGLFWWindowCloseCallbackIinstance.
-
set
public GLFWWindowCloseCallback set(long window)
-
-