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
 )
  • Method Details

    • create

      public static NkQueryFontGlyphCallback create(long functionPointer)
      Creates a NkQueryFontGlyphCallback instance from the specified function pointer.
      Returns:
      the new NkQueryFontGlyphCallback
    • createSafe

      @Nullable public static NkQueryFontGlyphCallback createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      public static NkQueryFontGlyphCallback create(NkQueryFontGlyphCallbackI instance)
      Creates a NkQueryFontGlyphCallback instance that delegates to the specified NkQueryFontGlyphCallbackI instance.