Class GLFWAllocateCallback

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.glfw.GLFWAllocateCallback
All Implemented Interfaces:
AutoCloseable, GLFWAllocateCallbackI, CallbackI, NativeResource, Pointer

public abstract class GLFWAllocateCallback extends Callback implements GLFWAllocateCallbackI
Callback function: GLFWallocatefun
  • Method Details

    • create

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

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

      public static GLFWAllocateCallback create(GLFWAllocateCallbackI instance)
      Creates a GLFWAllocateCallback instance that delegates to the specified GLFWAllocateCallbackI instance.