Package org.lwjgl.nuklear
Class NkItemGetter
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.nuklear.NkItemGetter
- All Implemented Interfaces:
AutoCloseable,NkItemGetterI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
Instances of this class may be passed to the
combo_callback and combobox_callback functions.
Type
float (*NkItemGetterI.invoke(long, int, long)) (
void *userdata,
int selected,
char const **item
)-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.nuklear.NkItemGetterI
CIFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic NkItemGettercreate(long functionPointer) Creates aNkItemGetterinstance from the specified function pointer.static NkItemGettercreate(NkItemGetterI instance) Creates aNkItemGetterinstance that delegates to the specifiedNkItemGetterIinstance.static @Nullable NkItemGettercreateSafe(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.system.CallbackI
addressMethods inherited from interface org.lwjgl.system.NativeResource
closeMethods inherited from interface org.lwjgl.nuklear.NkItemGetterI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aNkItemGetterinstance from the specified function pointer.- Returns:
- the new
NkItemGetter
-
createSafe
-
create
Creates aNkItemGetterinstance that delegates to the specifiedNkItemGetterIinstance.
-