Package org.lwjgl.glfw
Class GLFWFramebufferSizeCallback
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.glfw.GLFWFramebufferSizeCallback
-
- All Implemented Interfaces:
java.lang.AutoCloseable,GLFWFramebufferSizeCallbackI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class GLFWFramebufferSizeCallback extends org.lwjgl.system.Callback implements GLFWFramebufferSizeCallbackI
Instances of this class may be passed to theSetFramebufferSizeCallbackmethod.Type
void (*GLFWFramebufferSizeCallbackI.invoke(long, int, int)) ( GLFWwindow *window, int width, int height )- Since:
- version 3.0
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.glfw.GLFWFramebufferSizeCallbackI
CIF
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GLFWFramebufferSizeCallbackcreate(long functionPointer)Creates aGLFWFramebufferSizeCallbackinstance from the specified function pointer.static GLFWFramebufferSizeCallbackcreate(GLFWFramebufferSizeCallbackI instance)Creates aGLFWFramebufferSizeCallbackinstance that delegates to the specifiedGLFWFramebufferSizeCallbackIinstance.static GLFWFramebufferSizeCallbackcreateSafe(long functionPointer)GLFWFramebufferSizeCallbackset(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.GLFWFramebufferSizeCallbackI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static GLFWFramebufferSizeCallback create(long functionPointer)
Creates aGLFWFramebufferSizeCallbackinstance from the specified function pointer.- Returns:
- the new
GLFWFramebufferSizeCallback
-
createSafe
@Nullable public static GLFWFramebufferSizeCallback createSafe(long functionPointer)
-
create
public static GLFWFramebufferSizeCallback create(GLFWFramebufferSizeCallbackI instance)
Creates aGLFWFramebufferSizeCallbackinstance that delegates to the specifiedGLFWFramebufferSizeCallbackIinstance.
-
set
public GLFWFramebufferSizeCallback set(long window)
-
-