Package org.lwjgl.nuklear
Class NkQueryFontGlyphCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.nuklear.NkQueryFontGlyphCallback
- All Implemented Interfaces:
AutoCloseable
,NkQueryFontGlyphCallbackI
,CallbackI
,NativeResource
,Pointer
public abstract class NkQueryFontGlyphCallback
extends Callback
implements NkQueryFontGlyphCallbackI
Instances of this class may be set to the
NkUserFont
struct.
Type
void (*NkQueryFontGlyphCallbackI.invoke(long, float, long, int, int)
) (
nk_handle handle,
float font_height,
struct nk_user_font_glyph *glyph,
nk_rune codepoint,
nk_rune next_codepoint
)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.nuklear.NkQueryFontGlyphCallbackI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic NkQueryFontGlyphCallback
create
(long functionPointer) Creates aNkQueryFontGlyphCallback
instance from the specified function pointer.static NkQueryFontGlyphCallback
create
(NkQueryFontGlyphCallbackI instance) Creates aNkQueryFontGlyphCallback
instance that delegates to the specifiedNkQueryFontGlyphCallbackI
instance.static NkQueryFontGlyphCallback
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.system.NativeResource
close
Methods inherited from interface org.lwjgl.nuklear.NkQueryFontGlyphCallbackI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aNkQueryFontGlyphCallback
instance from the specified function pointer.- Returns:
- the new
NkQueryFontGlyphCallback
-
createSafe
-
create
Creates aNkQueryFontGlyphCallback
instance that delegates to the specifiedNkQueryFontGlyphCallbackI
instance.
-