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.CallbackI.V, 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 (*) ( GLFWwindow *window, int width, int height )- Since:
- version 3.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.glfw.GLFWFramebufferSizeCallbackI
SIGNATURE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static GLFWFramebufferSizeCallbackcreate(GLFWFramebufferSizeCallbackI instance)Creates aGLFWFramebufferSizeCallbackinstance that delegates to the specifiedGLFWFramebufferSizeCallbackIinstance.static GLFWFramebufferSizeCallbackcreate(long functionPointer)Creates aGLFWFramebufferSizeCallbackinstance from the specified function pointer.static GLFWFramebufferSizeCallbackcreateSafe(long functionPointer)GLFWFramebufferSizeCallbackset(long window)-
Methods inherited from class org.lwjgl.system.Callback
__stdcall, address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.glfw.GLFWFramebufferSizeCallbackI
callback, getSignature, 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)
-
-