Class NkTextWidthCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.nuklear.NkTextWidthCallback
- All Implemented Interfaces:
AutoCloseable, NkTextWidthCallbackI, CallbackI, NativeResource, Pointer
Callback function:
nk_text_width_f-
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 NkTextWidthCallbackI
DESCRIPTORFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic NkTextWidthCallbackcreate(long functionPointer) Creates aNkTextWidthCallbackinstance from the specified function pointer.static NkTextWidthCallbackcreate(NkTextWidthCallbackI instance) Creates aNkTextWidthCallbackinstance that delegates to the specifiedNkTextWidthCallbackIinstance.static @Nullable NkTextWidthCallbackcreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface NkTextWidthCallbackI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aNkTextWidthCallbackinstance from the specified function pointer.- Returns:
- the new
NkTextWidthCallback
-
createSafe
-
create
Creates aNkTextWidthCallbackinstance that delegates to the specifiedNkTextWidthCallbackIinstance.
-