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
Callback function: nk_plugin_alloc
  • Method Details

    • create

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

      public static @Nullable 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.