Class NkPluginAlloc

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

public abstract class NkPluginAlloc extends Callback implements NkPluginAllocI

Type


 void * (*NkPluginAllocI.invoke(long, long, long)) (
     nk_handle handle,
     void *old,
     nk_size size
 )
  • Method Details

    • create

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

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

      public static NkPluginAlloc create(NkPluginAllocI instance)
      Creates a NkPluginAlloc instance that delegates to the specified NkPluginAllocI instance.