Class VkAllocationFunction

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.vulkan.VkAllocationFunction
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, VkAllocationFunctionI

public abstract class VkAllocationFunction extends Callback implements VkAllocationFunctionI
Callback function: PFN_vkAllocationFunction
  • Method Details

    • create

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

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

      public static VkAllocationFunction create(VkAllocationFunctionI instance)
      Creates a VkAllocationFunction instance that delegates to the specified VkAllocationFunctionI instance.