Class NkDrawEndCallback

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

public abstract class NkDrawEndCallback extends Callback implements NkDrawEndCallbackI
Instances of this class may be set to the nk_style_* structs.

Type


 float (*NkDrawEndCallbackI.invoke(long, long)) (
     struct nk_command_buffer *buffer,
     nk_handle userdata
 )
  • Method Details

    • create

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

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

      public static NkDrawEndCallback create(NkDrawEndCallbackI instance)
      Creates a NkDrawEndCallback instance that delegates to the specified NkDrawEndCallbackI instance.