Class NkTextWidthCallback

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.nuklear.NkTextWidthCallback
All Implemented Interfaces:
AutoCloseable, NkTextWidthCallbackI, CallbackI, NativeResource, Pointer

public abstract class NkTextWidthCallback extends Callback implements NkTextWidthCallbackI
Callback function: nk_text_width_f
  • Method Details

    • create

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

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

      public static NkTextWidthCallback create(NkTextWidthCallbackI instance)
      Creates a NkTextWidthCallback instance that delegates to the specified NkTextWidthCallbackI instance.