Class VmaVulkanFunctions

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VmaVulkanFunctions extends Struct<VmaVulkanFunctions> implements NativeResource
Pointers to some Vulkan functions - a subset used by the library.

Used in VmaAllocatorCreateInfo::pVulkanFunctions.

Layout


 struct VmaVulkanFunctions {
     PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr;
     PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr;
     PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties;
     PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties;
     PFN_vkAllocateMemory vkAllocateMemory;
     PFN_vkFreeMemory vkFreeMemory;
     PFN_vkMapMemory vkMapMemory;
     PFN_vkUnmapMemory vkUnmapMemory;
     PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges;
     PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges;
     PFN_vkBindBufferMemory vkBindBufferMemory;
     PFN_vkBindImageMemory vkBindImageMemory;
     PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements;
     PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements;
     PFN_vkCreateBuffer vkCreateBuffer;
     PFN_vkDestroyBuffer vkDestroyBuffer;
     PFN_vkCreateImage vkCreateImage;
     PFN_vkDestroyImage vkDestroyImage;
     PFN_vkCmdCopyBuffer vkCmdCopyBuffer;
     PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR();
     PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR();
     PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR();
     PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR();
     PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR;
     PFN_vkGetDeviceBufferMemoryRequirements vkGetDeviceBufferMemoryRequirements;
     PFN_vkGetDeviceImageMemoryRequirements vkGetDeviceImageMemoryRequirements;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • VKGETINSTANCEPROCADDR

      public static final int VKGETINSTANCEPROCADDR
      The struct member offsets.
    • VKGETDEVICEPROCADDR

      public static final int VKGETDEVICEPROCADDR
      The struct member offsets.
    • VKGETPHYSICALDEVICEPROPERTIES

      public static final int VKGETPHYSICALDEVICEPROPERTIES
      The struct member offsets.
    • VKGETPHYSICALDEVICEMEMORYPROPERTIES

      public static final int VKGETPHYSICALDEVICEMEMORYPROPERTIES
      The struct member offsets.
    • VKALLOCATEMEMORY

      public static final int VKALLOCATEMEMORY
      The struct member offsets.
    • VKFREEMEMORY

      public static final int VKFREEMEMORY
      The struct member offsets.
    • VKMAPMEMORY

      public static final int VKMAPMEMORY
      The struct member offsets.
    • VKUNMAPMEMORY

      public static final int VKUNMAPMEMORY
      The struct member offsets.
    • VKFLUSHMAPPEDMEMORYRANGES

      public static final int VKFLUSHMAPPEDMEMORYRANGES
      The struct member offsets.
    • VKINVALIDATEMAPPEDMEMORYRANGES

      public static final int VKINVALIDATEMAPPEDMEMORYRANGES
      The struct member offsets.
    • VKBINDBUFFERMEMORY

      public static final int VKBINDBUFFERMEMORY
      The struct member offsets.
    • VKBINDIMAGEMEMORY

      public static final int VKBINDIMAGEMEMORY
      The struct member offsets.
    • VKGETBUFFERMEMORYREQUIREMENTS

      public static final int VKGETBUFFERMEMORYREQUIREMENTS
      The struct member offsets.
    • VKGETIMAGEMEMORYREQUIREMENTS

      public static final int VKGETIMAGEMEMORYREQUIREMENTS
      The struct member offsets.
    • VKCREATEBUFFER

      public static final int VKCREATEBUFFER
      The struct member offsets.
    • VKDESTROYBUFFER

      public static final int VKDESTROYBUFFER
      The struct member offsets.
    • VKCREATEIMAGE

      public static final int VKCREATEIMAGE
      The struct member offsets.
    • VKDESTROYIMAGE

      public static final int VKDESTROYIMAGE
      The struct member offsets.
    • VKCMDCOPYBUFFER

      public static final int VKCMDCOPYBUFFER
      The struct member offsets.
    • VKGETBUFFERMEMORYREQUIREMENTS2KHR

      public static final int VKGETBUFFERMEMORYREQUIREMENTS2KHR
      The struct member offsets.
    • VKGETIMAGEMEMORYREQUIREMENTS2KHR

      public static final int VKGETIMAGEMEMORYREQUIREMENTS2KHR
      The struct member offsets.
    • VKBINDBUFFERMEMORY2KHR

      public static final int VKBINDBUFFERMEMORY2KHR
      The struct member offsets.
    • VKBINDIMAGEMEMORY2KHR

      public static final int VKBINDIMAGEMEMORY2KHR
      The struct member offsets.
    • VKGETPHYSICALDEVICEMEMORYPROPERTIES2KHR

      public static final int VKGETPHYSICALDEVICEMEMORYPROPERTIES2KHR
      The struct member offsets.
    • VKGETDEVICEBUFFERMEMORYREQUIREMENTS

      public static final int VKGETDEVICEBUFFERMEMORYREQUIREMENTS
      The struct member offsets.
    • VKGETDEVICEIMAGEMEMORYREQUIREMENTS

      public static final int VKGETDEVICEIMAGEMEMORYREQUIREMENTS
      The struct member offsets.
  • Constructor Details

    • VmaVulkanFunctions

      public VmaVulkanFunctions(ByteBuffer container)
      Creates a VmaVulkanFunctions instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VmaVulkanFunctions>
    • vkGetInstanceProcAddr

      public long vkGetInstanceProcAddr()
      Returns:
      the value of the vkGetInstanceProcAddr field.
    • vkGetDeviceProcAddr

      public long vkGetDeviceProcAddr()
      Returns:
      the value of the vkGetDeviceProcAddr field.
    • vkGetPhysicalDeviceProperties

      public long vkGetPhysicalDeviceProperties()
      Returns:
      the value of the vkGetPhysicalDeviceProperties field.
    • vkGetPhysicalDeviceMemoryProperties

      public long vkGetPhysicalDeviceMemoryProperties()
      Returns:
      the value of the vkGetPhysicalDeviceMemoryProperties field.
    • vkAllocateMemory

      public long vkAllocateMemory()
      Returns:
      the value of the vkAllocateMemory field.
    • vkFreeMemory

      public long vkFreeMemory()
      Returns:
      the value of the vkFreeMemory field.
    • vkMapMemory

      public long vkMapMemory()
      Returns:
      the value of the vkMapMemory field.
    • vkUnmapMemory

      public long vkUnmapMemory()
      Returns:
      the value of the vkUnmapMemory field.
    • vkFlushMappedMemoryRanges

      public long vkFlushMappedMemoryRanges()
      Returns:
      the value of the vkFlushMappedMemoryRanges field.
    • vkInvalidateMappedMemoryRanges

      public long vkInvalidateMappedMemoryRanges()
      Returns:
      the value of the vkInvalidateMappedMemoryRanges field.
    • vkBindBufferMemory

      public long vkBindBufferMemory()
      Returns:
      the value of the vkBindBufferMemory field.
    • vkBindImageMemory

      public long vkBindImageMemory()
      Returns:
      the value of the vkBindImageMemory field.
    • vkGetBufferMemoryRequirements

      public long vkGetBufferMemoryRequirements()
      Returns:
      the value of the vkGetBufferMemoryRequirements field.
    • vkGetImageMemoryRequirements

      public long vkGetImageMemoryRequirements()
      Returns:
      the value of the vkGetImageMemoryRequirements field.
    • vkCreateBuffer

      public long vkCreateBuffer()
      Returns:
      the value of the vkCreateBuffer field.
    • vkDestroyBuffer

      public long vkDestroyBuffer()
      Returns:
      the value of the vkDestroyBuffer field.
    • vkCreateImage

      public long vkCreateImage()
      Returns:
      the value of the vkCreateImage field.
    • vkDestroyImage

      public long vkDestroyImage()
      Returns:
      the value of the vkDestroyImage field.
    • vkCmdCopyBuffer

      public long vkCmdCopyBuffer()
      Returns:
      the value of the vkCmdCopyBuffer field.
    • vkGetBufferMemoryRequirements2KHR

      public long vkGetBufferMemoryRequirements2KHR()
      vkGetBufferMemoryRequirements2 on Vulkan ≥ 1.1, vkGetBufferMemoryRequirements2KHR when using VK_KHR_dedicated_allocation extension.
    • vkGetImageMemoryRequirements2KHR

      public long vkGetImageMemoryRequirements2KHR()
      vkGetImageMemoryRequirements2 on Vulkan ≥ 1.1, vkGetImageMemoryRequirements2KHR when using VK_KHR_dedicated_allocation extension.
    • vkBindBufferMemory2KHR

      public long vkBindBufferMemory2KHR()
      vkBindBufferMemory2 on Vulkan ≥ 1.1, vkBindBufferMemory2KHR when using VK_KHR_bind_memory2 extension.
    • vkBindImageMemory2KHR

      public long vkBindImageMemory2KHR()
      vkBindImageMemory2 on Vulkan ≥ 1.1, vkBindImageMemory2KHR when using VK_KHR_bind_memory2 extension.
    • vkGetPhysicalDeviceMemoryProperties2KHR

      public long vkGetPhysicalDeviceMemoryProperties2KHR()
      Returns:
      the value of the vkGetPhysicalDeviceMemoryProperties2KHR field.
    • vkGetDeviceBufferMemoryRequirements

      public long vkGetDeviceBufferMemoryRequirements()
      Returns:
      the value of the vkGetDeviceBufferMemoryRequirements field.
    • vkGetDeviceImageMemoryRequirements

      public long vkGetDeviceImageMemoryRequirements()
      Returns:
      the value of the vkGetDeviceImageMemoryRequirements field.
    • vkGetInstanceProcAddr

      public VmaVulkanFunctions vkGetInstanceProcAddr(long value)
      Sets the specified value to the vkGetInstanceProcAddr field.
    • vkGetDeviceProcAddr

      public VmaVulkanFunctions vkGetDeviceProcAddr(long value)
      Sets the specified value to the vkGetDeviceProcAddr field.
    • vkGetPhysicalDeviceProperties

      public VmaVulkanFunctions vkGetPhysicalDeviceProperties(long value)
      Sets the specified value to the vkGetPhysicalDeviceProperties field.
    • vkGetPhysicalDeviceMemoryProperties

      public VmaVulkanFunctions vkGetPhysicalDeviceMemoryProperties(long value)
      Sets the specified value to the vkGetPhysicalDeviceMemoryProperties field.
    • vkAllocateMemory

      public VmaVulkanFunctions vkAllocateMemory(long value)
      Sets the specified value to the vkAllocateMemory field.
    • vkFreeMemory

      public VmaVulkanFunctions vkFreeMemory(long value)
      Sets the specified value to the vkFreeMemory field.
    • vkMapMemory

      public VmaVulkanFunctions vkMapMemory(long value)
      Sets the specified value to the vkMapMemory field.
    • vkUnmapMemory

      public VmaVulkanFunctions vkUnmapMemory(long value)
      Sets the specified value to the vkUnmapMemory field.
    • vkFlushMappedMemoryRanges

      public VmaVulkanFunctions vkFlushMappedMemoryRanges(long value)
      Sets the specified value to the vkFlushMappedMemoryRanges field.
    • vkInvalidateMappedMemoryRanges

      public VmaVulkanFunctions vkInvalidateMappedMemoryRanges(long value)
      Sets the specified value to the vkInvalidateMappedMemoryRanges field.
    • vkBindBufferMemory

      public VmaVulkanFunctions vkBindBufferMemory(long value)
      Sets the specified value to the vkBindBufferMemory field.
    • vkBindImageMemory

      public VmaVulkanFunctions vkBindImageMemory(long value)
      Sets the specified value to the vkBindImageMemory field.
    • vkGetBufferMemoryRequirements

      public VmaVulkanFunctions vkGetBufferMemoryRequirements(long value)
      Sets the specified value to the vkGetBufferMemoryRequirements field.
    • vkGetImageMemoryRequirements

      public VmaVulkanFunctions vkGetImageMemoryRequirements(long value)
      Sets the specified value to the vkGetImageMemoryRequirements field.
    • vkCreateBuffer

      public VmaVulkanFunctions vkCreateBuffer(long value)
      Sets the specified value to the vkCreateBuffer field.
    • vkDestroyBuffer

      public VmaVulkanFunctions vkDestroyBuffer(long value)
      Sets the specified value to the vkDestroyBuffer field.
    • vkCreateImage

      public VmaVulkanFunctions vkCreateImage(long value)
      Sets the specified value to the vkCreateImage field.
    • vkDestroyImage

      public VmaVulkanFunctions vkDestroyImage(long value)
      Sets the specified value to the vkDestroyImage field.
    • vkCmdCopyBuffer

      public VmaVulkanFunctions vkCmdCopyBuffer(long value)
      Sets the specified value to the vkCmdCopyBuffer field.
    • vkGetBufferMemoryRequirements2KHR

      public VmaVulkanFunctions vkGetBufferMemoryRequirements2KHR(long value)
      Sets the specified value to the vkGetBufferMemoryRequirements2KHR() field.
    • vkGetImageMemoryRequirements2KHR

      public VmaVulkanFunctions vkGetImageMemoryRequirements2KHR(long value)
      Sets the specified value to the vkGetImageMemoryRequirements2KHR() field.
    • vkBindBufferMemory2KHR

      public VmaVulkanFunctions vkBindBufferMemory2KHR(long value)
      Sets the specified value to the vkBindBufferMemory2KHR() field.
    • vkBindImageMemory2KHR

      public VmaVulkanFunctions vkBindImageMemory2KHR(long value)
      Sets the specified value to the vkBindImageMemory2KHR() field.
    • vkGetPhysicalDeviceMemoryProperties2KHR

      public VmaVulkanFunctions vkGetPhysicalDeviceMemoryProperties2KHR(long value)
      Sets the specified value to the vkGetPhysicalDeviceMemoryProperties2KHR field.
    • vkGetDeviceBufferMemoryRequirements

      public VmaVulkanFunctions vkGetDeviceBufferMemoryRequirements(long value)
      Sets the specified value to the vkGetDeviceBufferMemoryRequirements field.
    • vkGetDeviceImageMemoryRequirements

      public VmaVulkanFunctions vkGetDeviceImageMemoryRequirements(long value)
      Sets the specified value to the vkGetDeviceImageMemoryRequirements field.
    • set

      public VmaVulkanFunctions set(long vkGetInstanceProcAddr, long vkGetDeviceProcAddr, long vkGetPhysicalDeviceProperties, long vkGetPhysicalDeviceMemoryProperties, long vkAllocateMemory, long vkFreeMemory, long vkMapMemory, long vkUnmapMemory, long vkFlushMappedMemoryRanges, long vkInvalidateMappedMemoryRanges, long vkBindBufferMemory, long vkBindImageMemory, long vkGetBufferMemoryRequirements, long vkGetImageMemoryRequirements, long vkCreateBuffer, long vkDestroyBuffer, long vkCreateImage, long vkDestroyImage, long vkCmdCopyBuffer, long vkGetBufferMemoryRequirements2KHR, long vkGetImageMemoryRequirements2KHR, long vkBindBufferMemory2KHR, long vkBindImageMemory2KHR, long vkGetPhysicalDeviceMemoryProperties2KHR, long vkGetDeviceBufferMemoryRequirements, long vkGetDeviceImageMemoryRequirements)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static VmaVulkanFunctions malloc()
      Returns a new VmaVulkanFunctions instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VmaVulkanFunctions calloc()
      Returns a new VmaVulkanFunctions instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VmaVulkanFunctions create()
      Returns a new VmaVulkanFunctions instance allocated with BufferUtils.
    • create

      public static VmaVulkanFunctions create(long address)
      Returns a new VmaVulkanFunctions instance for the specified memory address.
    • createSafe

      @Nullable public static VmaVulkanFunctions createSafe(long address)
      Like create, but returns null if address is NULL.
    • mallocStack

      @Deprecated public static VmaVulkanFunctions mallocStack()
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
    • callocStack

      @Deprecated public static VmaVulkanFunctions callocStack()
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
    • mallocStack

      @Deprecated public static VmaVulkanFunctions mallocStack(MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
    • callocStack

      @Deprecated public static VmaVulkanFunctions callocStack(MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
    • malloc

      public static VmaVulkanFunctions malloc(MemoryStack stack)
      Returns a new VmaVulkanFunctions instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VmaVulkanFunctions calloc(MemoryStack stack)
      Returns a new VmaVulkanFunctions instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • nvkGetInstanceProcAddr

      public static long nvkGetInstanceProcAddr(long struct)
      Unsafe version of vkGetInstanceProcAddr().
    • nvkGetDeviceProcAddr

      public static long nvkGetDeviceProcAddr(long struct)
      Unsafe version of vkGetDeviceProcAddr().
    • nvkGetPhysicalDeviceProperties

      public static long nvkGetPhysicalDeviceProperties(long struct)
    • nvkGetPhysicalDeviceMemoryProperties

      public static long nvkGetPhysicalDeviceMemoryProperties(long struct)
    • nvkAllocateMemory

      public static long nvkAllocateMemory(long struct)
      Unsafe version of vkAllocateMemory().
    • nvkFreeMemory

      public static long nvkFreeMemory(long struct)
      Unsafe version of vkFreeMemory().
    • nvkMapMemory

      public static long nvkMapMemory(long struct)
      Unsafe version of vkMapMemory().
    • nvkUnmapMemory

      public static long nvkUnmapMemory(long struct)
      Unsafe version of vkUnmapMemory().
    • nvkFlushMappedMemoryRanges

      public static long nvkFlushMappedMemoryRanges(long struct)
      Unsafe version of vkFlushMappedMemoryRanges().
    • nvkInvalidateMappedMemoryRanges

      public static long nvkInvalidateMappedMemoryRanges(long struct)
    • nvkBindBufferMemory

      public static long nvkBindBufferMemory(long struct)
      Unsafe version of vkBindBufferMemory().
    • nvkBindImageMemory

      public static long nvkBindImageMemory(long struct)
      Unsafe version of vkBindImageMemory().
    • nvkGetBufferMemoryRequirements

      public static long nvkGetBufferMemoryRequirements(long struct)
    • nvkGetImageMemoryRequirements

      public static long nvkGetImageMemoryRequirements(long struct)
    • nvkCreateBuffer

      public static long nvkCreateBuffer(long struct)
      Unsafe version of vkCreateBuffer().
    • nvkDestroyBuffer

      public static long nvkDestroyBuffer(long struct)
      Unsafe version of vkDestroyBuffer().
    • nvkCreateImage

      public static long nvkCreateImage(long struct)
      Unsafe version of vkCreateImage().
    • nvkDestroyImage

      public static long nvkDestroyImage(long struct)
      Unsafe version of vkDestroyImage().
    • nvkCmdCopyBuffer

      public static long nvkCmdCopyBuffer(long struct)
      Unsafe version of vkCmdCopyBuffer().
    • nvkGetBufferMemoryRequirements2KHR

      public static long nvkGetBufferMemoryRequirements2KHR(long struct)
    • nvkGetImageMemoryRequirements2KHR

      public static long nvkGetImageMemoryRequirements2KHR(long struct)
    • nvkBindBufferMemory2KHR

      public static long nvkBindBufferMemory2KHR(long struct)
      Unsafe version of vkBindBufferMemory2KHR().
    • nvkBindImageMemory2KHR

      public static long nvkBindImageMemory2KHR(long struct)
      Unsafe version of vkBindImageMemory2KHR().
    • nvkGetPhysicalDeviceMemoryProperties2KHR

      public static long nvkGetPhysicalDeviceMemoryProperties2KHR(long struct)
    • nvkGetDeviceBufferMemoryRequirements

      public static long nvkGetDeviceBufferMemoryRequirements(long struct)
    • nvkGetDeviceImageMemoryRequirements

      public static long nvkGetDeviceImageMemoryRequirements(long struct)
    • nvkGetInstanceProcAddr

      public static void nvkGetInstanceProcAddr(long struct, long value)
      Unsafe version of vkGetInstanceProcAddr.
    • nvkGetDeviceProcAddr

      public static void nvkGetDeviceProcAddr(long struct, long value)
      Unsafe version of vkGetDeviceProcAddr.
    • nvkGetPhysicalDeviceProperties

      public static void nvkGetPhysicalDeviceProperties(long struct, long value)
    • nvkGetPhysicalDeviceMemoryProperties

      public static void nvkGetPhysicalDeviceMemoryProperties(long struct, long value)
    • nvkAllocateMemory

      public static void nvkAllocateMemory(long struct, long value)
      Unsafe version of vkAllocateMemory.
    • nvkFreeMemory

      public static void nvkFreeMemory(long struct, long value)
      Unsafe version of vkFreeMemory.
    • nvkMapMemory

      public static void nvkMapMemory(long struct, long value)
      Unsafe version of vkMapMemory.
    • nvkUnmapMemory

      public static void nvkUnmapMemory(long struct, long value)
      Unsafe version of vkUnmapMemory.
    • nvkFlushMappedMemoryRanges

      public static void nvkFlushMappedMemoryRanges(long struct, long value)
      Unsafe version of vkFlushMappedMemoryRanges.
    • nvkInvalidateMappedMemoryRanges

      public static void nvkInvalidateMappedMemoryRanges(long struct, long value)
    • nvkBindBufferMemory

      public static void nvkBindBufferMemory(long struct, long value)
      Unsafe version of vkBindBufferMemory.
    • nvkBindImageMemory

      public static void nvkBindImageMemory(long struct, long value)
      Unsafe version of vkBindImageMemory.
    • nvkGetBufferMemoryRequirements

      public static void nvkGetBufferMemoryRequirements(long struct, long value)
    • nvkGetImageMemoryRequirements

      public static void nvkGetImageMemoryRequirements(long struct, long value)
      Unsafe version of vkGetImageMemoryRequirements.
    • nvkCreateBuffer

      public static void nvkCreateBuffer(long struct, long value)
      Unsafe version of vkCreateBuffer.
    • nvkDestroyBuffer

      public static void nvkDestroyBuffer(long struct, long value)
      Unsafe version of vkDestroyBuffer.
    • nvkCreateImage

      public static void nvkCreateImage(long struct, long value)
      Unsafe version of vkCreateImage.
    • nvkDestroyImage

      public static void nvkDestroyImage(long struct, long value)
      Unsafe version of vkDestroyImage.
    • nvkCmdCopyBuffer

      public static void nvkCmdCopyBuffer(long struct, long value)
      Unsafe version of vkCmdCopyBuffer.
    • nvkGetBufferMemoryRequirements2KHR

      public static void nvkGetBufferMemoryRequirements2KHR(long struct, long value)
    • nvkGetImageMemoryRequirements2KHR

      public static void nvkGetImageMemoryRequirements2KHR(long struct, long value)
    • nvkBindBufferMemory2KHR

      public static void nvkBindBufferMemory2KHR(long struct, long value)
      Unsafe version of vkBindBufferMemory2KHR.
    • nvkBindImageMemory2KHR

      public static void nvkBindImageMemory2KHR(long struct, long value)
      Unsafe version of vkBindImageMemory2KHR.
    • nvkGetPhysicalDeviceMemoryProperties2KHR

      public static void nvkGetPhysicalDeviceMemoryProperties2KHR(long struct, long value)
    • nvkGetDeviceBufferMemoryRequirements

      public static void nvkGetDeviceBufferMemoryRequirements(long struct, long value)
    • nvkGetDeviceImageMemoryRequirements

      public static void nvkGetDeviceImageMemoryRequirements(long struct, long value)
    • validate

      public static void validate(long struct)
      Validates pointer members that should not be NULL.
      Parameters:
      struct - the struct to validate
    • set

      public VmaVulkanFunctions set(VkInstance instance, VkDevice device)
      Helper method that populates this struct with required Vulkan function pointers from the specified Vulkan instance and device.
      Parameters:
      instance - a Vulkan instance
      device - a Vulkan device