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 theSetFramebufferSizeCallback
method.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 GLFWFramebufferSizeCallback
create(long functionPointer)
Creates aGLFWFramebufferSizeCallback
instance from the specified function pointer.static GLFWFramebufferSizeCallback
create(GLFWFramebufferSizeCallbackI instance)
Creates aGLFWFramebufferSizeCallback
instance that delegates to the specifiedGLFWFramebufferSizeCallbackI
instance.static GLFWFramebufferSizeCallback
createSafe(long functionPointer)
GLFWFramebufferSizeCallback
set(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 aGLFWFramebufferSizeCallback
instance 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 aGLFWFramebufferSizeCallback
instance that delegates to the specifiedGLFWFramebufferSizeCallbackI
instance.
-
set
public GLFWFramebufferSizeCallback set(long window)
-
-