Class NkDrawBeginCallback

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

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

Type


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

    • create

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

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

      public static NkDrawBeginCallback create(NkDrawBeginCallbackI instance)
      Creates a NkDrawBeginCallback instance that delegates to the specified NkDrawBeginCallbackI instance.