Package org.lwjgl.glfw
Class GLFWWindowPosCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.glfw.GLFWWindowPosCallback
- All Implemented Interfaces:
AutoCloseable
,GLFWWindowPosCallbackI
,CallbackI
,NativeResource
,Pointer
Instances of this class may be passed to the
SetWindowPosCallback
method.
Type
void (*GLFWWindowPosCallbackI.invoke(long, int, int)
) (
GLFWwindow *window,
int xpos,
int ypos
)
- Since:
- version 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.glfw.GLFWWindowPosCallbackI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic GLFWWindowPosCallback
create
(long functionPointer) Creates aGLFWWindowPosCallback
instance from the specified function pointer.static GLFWWindowPosCallback
create
(GLFWWindowPosCallbackI instance) Creates aGLFWWindowPosCallback
instance that delegates to the specifiedGLFWWindowPosCallbackI
instance.static GLFWWindowPosCallback
createSafe
(long functionPointer) set
(long window) SeeSetWindowPosCallback
.Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.glfw.GLFWWindowPosCallbackI
callback, getCallInterface, invoke
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aGLFWWindowPosCallback
instance from the specified function pointer.- Returns:
- the new
GLFWWindowPosCallback
-
createSafe
-
create
Creates aGLFWWindowPosCallback
instance that delegates to the specifiedGLFWWindowPosCallbackI
instance. -
set
SeeSetWindowPosCallback
.
-