Class NkCommandCustomCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.nuklear.NkCommandCustomCallback
- All Implemented Interfaces:
AutoCloseable, NkCommandCustomCallbackI, CallbackI, NativeResource, Pointer
Callback function:
nk_command_custom_callback-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface NkCommandCustomCallbackI
DESCRIPTORFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic NkCommandCustomCallbackcreate(long functionPointer) Creates aNkCommandCustomCallbackinstance from the specified function pointer.static NkCommandCustomCallbackcreate(NkCommandCustomCallbackI instance) Creates aNkCommandCustomCallbackinstance that delegates to the specifiedNkCommandCustomCallbackIinstance.static @Nullable NkCommandCustomCallbackcreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface NkCommandCustomCallbackI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aNkCommandCustomCallbackinstance from the specified function pointer.- Returns:
- the new
NkCommandCustomCallback
-
createSafe
-
create
Creates aNkCommandCustomCallbackinstance that delegates to the specifiedNkCommandCustomCallbackIinstance.
-