Package org.lwjgl.glfw
Class GLFWAllocateCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.glfw.GLFWAllocateCallback
- All Implemented Interfaces:
AutoCloseable
,GLFWAllocateCallbackI
,CallbackI
,NativeResource
,Pointer
Callback function:
GLFWallocatefun
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.glfw.GLFWAllocateCallbackI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic GLFWAllocateCallback
create
(long functionPointer) Creates aGLFWAllocateCallback
instance from the specified function pointer.static GLFWAllocateCallback
create
(GLFWAllocateCallbackI instance) Creates aGLFWAllocateCallback
instance that delegates to the specifiedGLFWAllocateCallbackI
instance.static @Nullable GLFWAllocateCallback
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.glfw.GLFWAllocateCallbackI
callback, getCallInterface, invoke
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aGLFWAllocateCallback
instance from the specified function pointer.- Returns:
- the new
GLFWAllocateCallback
-
createSafe
-
create
Creates aGLFWAllocateCallback
instance that delegates to the specifiedGLFWAllocateCallbackI
instance.
-