Package org.lwjgl.util.vma
Class VmaVulkanFunctions
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.util.vma.VmaVulkanFunctions
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VmaVulkanFunctions extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourcePointers 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_vkGetBufferMemoryRequirements2KHRvkGetBufferMemoryRequirements2KHR(); PFN_vkGetImageMemoryRequirements2KHRvkGetImageMemoryRequirements2KHR(); PFN_vkBindBufferMemory2KHRvkBindBufferMemory2KHR(); PFN_vkBindImageMemory2KHRvkBindImageMemory2KHR(); PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR; PFN_vkGetDeviceBufferMemoryRequirements vkGetDeviceBufferMemoryRequirements; PFN_vkGetDeviceImageMemoryRequirements vkGetDeviceImageMemoryRequirements; }
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intSIZEOFThe struct size in bytes.static intVKALLOCATEMEMORY
VKBINDBUFFERMEMORY
VKBINDBUFFERMEMORY2KHR
VKBINDIMAGEMEMORY
VKBINDIMAGEMEMORY2KHR
VKCMDCOPYBUFFER
VKCREATEBUFFER
VKCREATEIMAGE
VKDESTROYBUFFER
VKDESTROYIMAGE
VKFLUSHMAPPEDMEMORYRANGES
VKFREEMEMORY
VKGETBUFFERMEMORYREQUIREMENTS
VKGETBUFFERMEMORYREQUIREMENTS2KHR
VKGETDEVICEBUFFERMEMORYREQUIREMENTS
VKGETDEVICEIMAGEMEMORYREQUIREMENTS
VKGETDEVICEPROCADDR
VKGETIMAGEMEMORYREQUIREMENTS
VKGETIMAGEMEMORYREQUIREMENTS2KHR
VKGETINSTANCEPROCADDR
VKGETPHYSICALDEVICEMEMORYPROPERTIES
VKGETPHYSICALDEVICEMEMORYPROPERTIES2KHR
VKGETPHYSICALDEVICEPROPERTIES
VKINVALIDATEMAPPEDMEMORYRANGES
VKMAPMEMORY
VKUNMAPMEMORYThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VmaVulkanFunctions(java.nio.ByteBuffer container)Creates aVmaVulkanFunctionsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VmaVulkanFunctionscalloc()Returns a newVmaVulkanFunctionsinstance allocated withmemCalloc.static VmaVulkanFunctionscalloc(org.lwjgl.system.MemoryStack stack)Returns a newVmaVulkanFunctionsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VmaVulkanFunctionscallocStack()Deprecated.static VmaVulkanFunctionscallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VmaVulkanFunctionscreate()Returns a newVmaVulkanFunctionsinstance allocated withBufferUtils.static VmaVulkanFunctionscreate(long address)Returns a newVmaVulkanFunctionsinstance for the specified memory address.static VmaVulkanFunctionscreateSafe(long address)static VmaVulkanFunctionsmalloc()Returns a newVmaVulkanFunctionsinstance allocated withmemAlloc.static VmaVulkanFunctionsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVmaVulkanFunctionsinstance allocated on the specifiedMemoryStack.static VmaVulkanFunctionsmallocStack()Deprecated.static VmaVulkanFunctionsmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnvkAllocateMemory(long struct)Unsafe version ofvkAllocateMemory().static voidnvkAllocateMemory(long struct, long value)Unsafe version ofvkAllocateMemory.static longnvkBindBufferMemory(long struct)Unsafe version ofvkBindBufferMemory().static voidnvkBindBufferMemory(long struct, long value)Unsafe version ofvkBindBufferMemory.static longnvkBindBufferMemory2KHR(long struct)Unsafe version ofvkBindBufferMemory2KHR().static voidnvkBindBufferMemory2KHR(long struct, long value)Unsafe version ofvkBindBufferMemory2KHR.static longnvkBindImageMemory(long struct)Unsafe version ofvkBindImageMemory().static voidnvkBindImageMemory(long struct, long value)Unsafe version ofvkBindImageMemory.static longnvkBindImageMemory2KHR(long struct)Unsafe version ofvkBindImageMemory2KHR().static voidnvkBindImageMemory2KHR(long struct, long value)Unsafe version ofvkBindImageMemory2KHR.static longnvkCmdCopyBuffer(long struct)Unsafe version ofvkCmdCopyBuffer().static voidnvkCmdCopyBuffer(long struct, long value)Unsafe version ofvkCmdCopyBuffer.static longnvkCreateBuffer(long struct)Unsafe version ofvkCreateBuffer().static voidnvkCreateBuffer(long struct, long value)Unsafe version ofvkCreateBuffer.static longnvkCreateImage(long struct)Unsafe version ofvkCreateImage().static voidnvkCreateImage(long struct, long value)Unsafe version ofvkCreateImage.static longnvkDestroyBuffer(long struct)Unsafe version ofvkDestroyBuffer().static voidnvkDestroyBuffer(long struct, long value)Unsafe version ofvkDestroyBuffer.static longnvkDestroyImage(long struct)Unsafe version ofvkDestroyImage().static voidnvkDestroyImage(long struct, long value)Unsafe version ofvkDestroyImage.static longnvkFlushMappedMemoryRanges(long struct)Unsafe version ofvkFlushMappedMemoryRanges().static voidnvkFlushMappedMemoryRanges(long struct, long value)Unsafe version ofvkFlushMappedMemoryRanges.static longnvkFreeMemory(long struct)Unsafe version ofvkFreeMemory().static voidnvkFreeMemory(long struct, long value)Unsafe version ofvkFreeMemory.static longnvkGetBufferMemoryRequirements(long struct)Unsafe version ofvkGetBufferMemoryRequirements().static voidnvkGetBufferMemoryRequirements(long struct, long value)Unsafe version ofvkGetBufferMemoryRequirements.static longnvkGetBufferMemoryRequirements2KHR(long struct)Unsafe version ofvkGetBufferMemoryRequirements2KHR().static voidnvkGetBufferMemoryRequirements2KHR(long struct, long value)Unsafe version ofvkGetBufferMemoryRequirements2KHR.static longnvkGetDeviceBufferMemoryRequirements(long struct)Unsafe version ofvkGetDeviceBufferMemoryRequirements().static voidnvkGetDeviceBufferMemoryRequirements(long struct, long value)Unsafe version ofvkGetDeviceBufferMemoryRequirements.static longnvkGetDeviceImageMemoryRequirements(long struct)Unsafe version ofvkGetDeviceImageMemoryRequirements().static voidnvkGetDeviceImageMemoryRequirements(long struct, long value)Unsafe version ofvkGetDeviceImageMemoryRequirements.static longnvkGetDeviceProcAddr(long struct)Unsafe version ofvkGetDeviceProcAddr().static voidnvkGetDeviceProcAddr(long struct, long value)Unsafe version ofvkGetDeviceProcAddr.static longnvkGetImageMemoryRequirements(long struct)Unsafe version ofvkGetImageMemoryRequirements().static voidnvkGetImageMemoryRequirements(long struct, long value)Unsafe version ofvkGetImageMemoryRequirements.static longnvkGetImageMemoryRequirements2KHR(long struct)Unsafe version ofvkGetImageMemoryRequirements2KHR().static voidnvkGetImageMemoryRequirements2KHR(long struct, long value)Unsafe version ofvkGetImageMemoryRequirements2KHR.static longnvkGetInstanceProcAddr(long struct)Unsafe version ofvkGetInstanceProcAddr().static voidnvkGetInstanceProcAddr(long struct, long value)Unsafe version ofvkGetInstanceProcAddr.static longnvkGetPhysicalDeviceMemoryProperties(long struct)Unsafe version ofvkGetPhysicalDeviceMemoryProperties().static voidnvkGetPhysicalDeviceMemoryProperties(long struct, long value)Unsafe version ofvkGetPhysicalDeviceMemoryProperties.static longnvkGetPhysicalDeviceMemoryProperties2KHR(long struct)Unsafe version ofvkGetPhysicalDeviceMemoryProperties2KHR().static voidnvkGetPhysicalDeviceMemoryProperties2KHR(long struct, long value)Unsafe version ofvkGetPhysicalDeviceMemoryProperties2KHR.static longnvkGetPhysicalDeviceProperties(long struct)Unsafe version ofvkGetPhysicalDeviceProperties().static voidnvkGetPhysicalDeviceProperties(long struct, long value)Unsafe version ofvkGetPhysicalDeviceProperties.static longnvkInvalidateMappedMemoryRanges(long struct)Unsafe version ofvkInvalidateMappedMemoryRanges().static voidnvkInvalidateMappedMemoryRanges(long struct, long value)Unsafe version ofvkInvalidateMappedMemoryRanges.static longnvkMapMemory(long struct)Unsafe version ofvkMapMemory().static voidnvkMapMemory(long struct, long value)Unsafe version ofvkMapMemory.static longnvkUnmapMemory(long struct)Unsafe version ofvkUnmapMemory().static voidnvkUnmapMemory(long struct, long value)Unsafe version ofvkUnmapMemory.VmaVulkanFunctionsset(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.VmaVulkanFunctionsset(VmaVulkanFunctions src)Copies the specified struct data to this struct.VmaVulkanFunctionsset(org.lwjgl.vulkan.VkInstance instance, org.lwjgl.vulkan.VkDevice device)Helper method that populates this struct with required Vulkan function pointers from the specified Vulkan instance and device.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.longvkAllocateMemory()VmaVulkanFunctionsvkAllocateMemory(long value)Sets the specified value to thevkAllocateMemoryfield.longvkBindBufferMemory()VmaVulkanFunctionsvkBindBufferMemory(long value)Sets the specified value to thevkBindBufferMemoryfield.longvkBindBufferMemory2KHR()vkBindBufferMemory2on Vulkan ≥ 1.1,vkBindBufferMemory2KHRwhen usingVK_KHR_bind_memory2extension.VmaVulkanFunctionsvkBindBufferMemory2KHR(long value)Sets the specified value to thevkBindBufferMemory2KHR()field.longvkBindImageMemory()VmaVulkanFunctionsvkBindImageMemory(long value)Sets the specified value to thevkBindImageMemoryfield.longvkBindImageMemory2KHR()vkBindImageMemory2on Vulkan ≥ 1.1,vkBindImageMemory2KHRwhen usingVK_KHR_bind_memory2extension.VmaVulkanFunctionsvkBindImageMemory2KHR(long value)Sets the specified value to thevkBindImageMemory2KHR()field.longvkCmdCopyBuffer()VmaVulkanFunctionsvkCmdCopyBuffer(long value)Sets the specified value to thevkCmdCopyBufferfield.longvkCreateBuffer()VmaVulkanFunctionsvkCreateBuffer(long value)Sets the specified value to thevkCreateBufferfield.longvkCreateImage()VmaVulkanFunctionsvkCreateImage(long value)Sets the specified value to thevkCreateImagefield.longvkDestroyBuffer()VmaVulkanFunctionsvkDestroyBuffer(long value)Sets the specified value to thevkDestroyBufferfield.longvkDestroyImage()VmaVulkanFunctionsvkDestroyImage(long value)Sets the specified value to thevkDestroyImagefield.longvkFlushMappedMemoryRanges()VmaVulkanFunctionsvkFlushMappedMemoryRanges(long value)Sets the specified value to thevkFlushMappedMemoryRangesfield.longvkFreeMemory()VmaVulkanFunctionsvkFreeMemory(long value)Sets the specified value to thevkFreeMemoryfield.longvkGetBufferMemoryRequirements()VmaVulkanFunctionsvkGetBufferMemoryRequirements(long value)Sets the specified value to thevkGetBufferMemoryRequirementsfield.longvkGetBufferMemoryRequirements2KHR()vkGetBufferMemoryRequirements2on Vulkan ≥ 1.1,vkGetBufferMemoryRequirements2KHRwhen usingVK_KHR_dedicated_allocationextension.VmaVulkanFunctionsvkGetBufferMemoryRequirements2KHR(long value)Sets the specified value to thevkGetBufferMemoryRequirements2KHR()field.longvkGetDeviceBufferMemoryRequirements()VmaVulkanFunctionsvkGetDeviceBufferMemoryRequirements(long value)Sets the specified value to thevkGetDeviceBufferMemoryRequirementsfield.longvkGetDeviceImageMemoryRequirements()VmaVulkanFunctionsvkGetDeviceImageMemoryRequirements(long value)Sets the specified value to thevkGetDeviceImageMemoryRequirementsfield.longvkGetDeviceProcAddr()VmaVulkanFunctionsvkGetDeviceProcAddr(long value)Sets the specified value to thevkGetDeviceProcAddrfield.longvkGetImageMemoryRequirements()VmaVulkanFunctionsvkGetImageMemoryRequirements(long value)Sets the specified value to thevkGetImageMemoryRequirementsfield.longvkGetImageMemoryRequirements2KHR()vkGetImageMemoryRequirements2on Vulkan ≥ 1.1,vkGetImageMemoryRequirements2KHRwhen usingVK_KHR_dedicated_allocationextension.VmaVulkanFunctionsvkGetImageMemoryRequirements2KHR(long value)Sets the specified value to thevkGetImageMemoryRequirements2KHR()field.longvkGetInstanceProcAddr()VmaVulkanFunctionsvkGetInstanceProcAddr(long value)Sets the specified value to thevkGetInstanceProcAddrfield.longvkGetPhysicalDeviceMemoryProperties()VmaVulkanFunctionsvkGetPhysicalDeviceMemoryProperties(long value)Sets the specified value to thevkGetPhysicalDeviceMemoryPropertiesfield.longvkGetPhysicalDeviceMemoryProperties2KHR()VmaVulkanFunctionsvkGetPhysicalDeviceMemoryProperties2KHR(long value)Sets the specified value to thevkGetPhysicalDeviceMemoryProperties2KHRfield.longvkGetPhysicalDeviceProperties()VmaVulkanFunctionsvkGetPhysicalDeviceProperties(long value)Sets the specified value to thevkGetPhysicalDevicePropertiesfield.longvkInvalidateMappedMemoryRanges()VmaVulkanFunctionsvkInvalidateMappedMemoryRanges(long value)Sets the specified value to thevkInvalidateMappedMemoryRangesfield.longvkMapMemory()VmaVulkanFunctionsvkMapMemory(long value)Sets the specified value to thevkMapMemoryfield.longvkUnmapMemory()VmaVulkanFunctionsvkUnmapMemory(long value)Sets the specified value to thevkUnmapMemoryfield.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
VKGETINSTANCEPROCADDR, VKGETDEVICEPROCADDR, VKGETPHYSICALDEVICEPROPERTIES, VKGETPHYSICALDEVICEMEMORYPROPERTIES, VKALLOCATEMEMORY, VKFREEMEMORY, VKMAPMEMORY, VKUNMAPMEMORY, VKFLUSHMAPPEDMEMORYRANGES, VKINVALIDATEMAPPEDMEMORYRANGES, VKBINDBUFFERMEMORY, VKBINDIMAGEMEMORY, VKGETBUFFERMEMORYREQUIREMENTS, VKGETIMAGEMEMORYREQUIREMENTS, VKCREATEBUFFER, VKDESTROYBUFFER, VKCREATEIMAGE, VKDESTROYIMAGE, VKCMDCOPYBUFFER, VKGETBUFFERMEMORYREQUIREMENTS2KHR, VKGETIMAGEMEMORYREQUIREMENTS2KHR, VKBINDBUFFERMEMORY2KHR, VKBINDIMAGEMEMORY2KHR, VKGETPHYSICALDEVICEMEMORYPROPERTIES2KHR, VKGETDEVICEBUFFERMEMORYREQUIREMENTS, VKGETDEVICEIMAGEMEMORYREQUIREMENTS
The struct member offsets.
-
-
Constructor Detail
-
VmaVulkanFunctions
public VmaVulkanFunctions(java.nio.ByteBuffer container)
Creates aVmaVulkanFunctionsinstance at the current position of the specifiedByteBuffercontainer. 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
vkGetInstanceProcAddr
public long vkGetInstanceProcAddr()
- Returns:
- the value of the
vkGetInstanceProcAddrfield.
-
vkGetDeviceProcAddr
public long vkGetDeviceProcAddr()
- Returns:
- the value of the
vkGetDeviceProcAddrfield.
-
vkGetPhysicalDeviceProperties
public long vkGetPhysicalDeviceProperties()
- Returns:
- the value of the
vkGetPhysicalDevicePropertiesfield.
-
vkGetPhysicalDeviceMemoryProperties
public long vkGetPhysicalDeviceMemoryProperties()
- Returns:
- the value of the
vkGetPhysicalDeviceMemoryPropertiesfield.
-
vkAllocateMemory
public long vkAllocateMemory()
- Returns:
- the value of the
vkAllocateMemoryfield.
-
vkFreeMemory
public long vkFreeMemory()
- Returns:
- the value of the
vkFreeMemoryfield.
-
vkMapMemory
public long vkMapMemory()
- Returns:
- the value of the
vkMapMemoryfield.
-
vkUnmapMemory
public long vkUnmapMemory()
- Returns:
- the value of the
vkUnmapMemoryfield.
-
vkFlushMappedMemoryRanges
public long vkFlushMappedMemoryRanges()
- Returns:
- the value of the
vkFlushMappedMemoryRangesfield.
-
vkInvalidateMappedMemoryRanges
public long vkInvalidateMappedMemoryRanges()
- Returns:
- the value of the
vkInvalidateMappedMemoryRangesfield.
-
vkBindBufferMemory
public long vkBindBufferMemory()
- Returns:
- the value of the
vkBindBufferMemoryfield.
-
vkBindImageMemory
public long vkBindImageMemory()
- Returns:
- the value of the
vkBindImageMemoryfield.
-
vkGetBufferMemoryRequirements
public long vkGetBufferMemoryRequirements()
- Returns:
- the value of the
vkGetBufferMemoryRequirementsfield.
-
vkGetImageMemoryRequirements
public long vkGetImageMemoryRequirements()
- Returns:
- the value of the
vkGetImageMemoryRequirementsfield.
-
vkCreateBuffer
public long vkCreateBuffer()
- Returns:
- the value of the
vkCreateBufferfield.
-
vkDestroyBuffer
public long vkDestroyBuffer()
- Returns:
- the value of the
vkDestroyBufferfield.
-
vkCreateImage
public long vkCreateImage()
- Returns:
- the value of the
vkCreateImagefield.
-
vkDestroyImage
public long vkDestroyImage()
- Returns:
- the value of the
vkDestroyImagefield.
-
vkCmdCopyBuffer
public long vkCmdCopyBuffer()
- Returns:
- the value of the
vkCmdCopyBufferfield.
-
vkGetBufferMemoryRequirements2KHR
public long vkGetBufferMemoryRequirements2KHR()
vkGetBufferMemoryRequirements2on Vulkan ≥ 1.1,vkGetBufferMemoryRequirements2KHRwhen usingVK_KHR_dedicated_allocationextension.
-
vkGetImageMemoryRequirements2KHR
public long vkGetImageMemoryRequirements2KHR()
vkGetImageMemoryRequirements2on Vulkan ≥ 1.1,vkGetImageMemoryRequirements2KHRwhen usingVK_KHR_dedicated_allocationextension.
-
vkBindBufferMemory2KHR
public long vkBindBufferMemory2KHR()
vkBindBufferMemory2on Vulkan ≥ 1.1,vkBindBufferMemory2KHRwhen usingVK_KHR_bind_memory2extension.
-
vkBindImageMemory2KHR
public long vkBindImageMemory2KHR()
vkBindImageMemory2on Vulkan ≥ 1.1,vkBindImageMemory2KHRwhen usingVK_KHR_bind_memory2extension.
-
vkGetPhysicalDeviceMemoryProperties2KHR
public long vkGetPhysicalDeviceMemoryProperties2KHR()
- Returns:
- the value of the
vkGetPhysicalDeviceMemoryProperties2KHRfield.
-
vkGetDeviceBufferMemoryRequirements
public long vkGetDeviceBufferMemoryRequirements()
- Returns:
- the value of the
vkGetDeviceBufferMemoryRequirementsfield.
-
vkGetDeviceImageMemoryRequirements
public long vkGetDeviceImageMemoryRequirements()
- Returns:
- the value of the
vkGetDeviceImageMemoryRequirementsfield.
-
vkGetInstanceProcAddr
public VmaVulkanFunctions vkGetInstanceProcAddr(long value)
Sets the specified value to thevkGetInstanceProcAddrfield.
-
vkGetDeviceProcAddr
public VmaVulkanFunctions vkGetDeviceProcAddr(long value)
Sets the specified value to thevkGetDeviceProcAddrfield.
-
vkGetPhysicalDeviceProperties
public VmaVulkanFunctions vkGetPhysicalDeviceProperties(long value)
Sets the specified value to thevkGetPhysicalDevicePropertiesfield.
-
vkGetPhysicalDeviceMemoryProperties
public VmaVulkanFunctions vkGetPhysicalDeviceMemoryProperties(long value)
Sets the specified value to thevkGetPhysicalDeviceMemoryPropertiesfield.
-
vkAllocateMemory
public VmaVulkanFunctions vkAllocateMemory(long value)
Sets the specified value to thevkAllocateMemoryfield.
-
vkFreeMemory
public VmaVulkanFunctions vkFreeMemory(long value)
Sets the specified value to thevkFreeMemoryfield.
-
vkMapMemory
public VmaVulkanFunctions vkMapMemory(long value)
Sets the specified value to thevkMapMemoryfield.
-
vkUnmapMemory
public VmaVulkanFunctions vkUnmapMemory(long value)
Sets the specified value to thevkUnmapMemoryfield.
-
vkFlushMappedMemoryRanges
public VmaVulkanFunctions vkFlushMappedMemoryRanges(long value)
Sets the specified value to thevkFlushMappedMemoryRangesfield.
-
vkInvalidateMappedMemoryRanges
public VmaVulkanFunctions vkInvalidateMappedMemoryRanges(long value)
Sets the specified value to thevkInvalidateMappedMemoryRangesfield.
-
vkBindBufferMemory
public VmaVulkanFunctions vkBindBufferMemory(long value)
Sets the specified value to thevkBindBufferMemoryfield.
-
vkBindImageMemory
public VmaVulkanFunctions vkBindImageMemory(long value)
Sets the specified value to thevkBindImageMemoryfield.
-
vkGetBufferMemoryRequirements
public VmaVulkanFunctions vkGetBufferMemoryRequirements(long value)
Sets the specified value to thevkGetBufferMemoryRequirementsfield.
-
vkGetImageMemoryRequirements
public VmaVulkanFunctions vkGetImageMemoryRequirements(long value)
Sets the specified value to thevkGetImageMemoryRequirementsfield.
-
vkCreateBuffer
public VmaVulkanFunctions vkCreateBuffer(long value)
Sets the specified value to thevkCreateBufferfield.
-
vkDestroyBuffer
public VmaVulkanFunctions vkDestroyBuffer(long value)
Sets the specified value to thevkDestroyBufferfield.
-
vkCreateImage
public VmaVulkanFunctions vkCreateImage(long value)
Sets the specified value to thevkCreateImagefield.
-
vkDestroyImage
public VmaVulkanFunctions vkDestroyImage(long value)
Sets the specified value to thevkDestroyImagefield.
-
vkCmdCopyBuffer
public VmaVulkanFunctions vkCmdCopyBuffer(long value)
Sets the specified value to thevkCmdCopyBufferfield.
-
vkGetBufferMemoryRequirements2KHR
public VmaVulkanFunctions vkGetBufferMemoryRequirements2KHR(long value)
Sets the specified value to thevkGetBufferMemoryRequirements2KHR()field.
-
vkGetImageMemoryRequirements2KHR
public VmaVulkanFunctions vkGetImageMemoryRequirements2KHR(long value)
Sets the specified value to thevkGetImageMemoryRequirements2KHR()field.
-
vkBindBufferMemory2KHR
public VmaVulkanFunctions vkBindBufferMemory2KHR(long value)
Sets the specified value to thevkBindBufferMemory2KHR()field.
-
vkBindImageMemory2KHR
public VmaVulkanFunctions vkBindImageMemory2KHR(long value)
Sets the specified value to thevkBindImageMemory2KHR()field.
-
vkGetPhysicalDeviceMemoryProperties2KHR
public VmaVulkanFunctions vkGetPhysicalDeviceMemoryProperties2KHR(long value)
Sets the specified value to thevkGetPhysicalDeviceMemoryProperties2KHRfield.
-
vkGetDeviceBufferMemoryRequirements
public VmaVulkanFunctions vkGetDeviceBufferMemoryRequirements(long value)
Sets the specified value to thevkGetDeviceBufferMemoryRequirementsfield.
-
vkGetDeviceImageMemoryRequirements
public VmaVulkanFunctions vkGetDeviceImageMemoryRequirements(long value)
Sets the specified value to thevkGetDeviceImageMemoryRequirementsfield.
-
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
public VmaVulkanFunctions set(VmaVulkanFunctions src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VmaVulkanFunctions malloc()
Returns a newVmaVulkanFunctionsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VmaVulkanFunctions calloc()
Returns a newVmaVulkanFunctionsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VmaVulkanFunctions create()
Returns a newVmaVulkanFunctionsinstance allocated withBufferUtils.
-
create
public static VmaVulkanFunctions create(long address)
Returns a newVmaVulkanFunctionsinstance for the specified memory address.
-
createSafe
@Nullable public static VmaVulkanFunctions createSafe(long address)
-
mallocStack
@Deprecated public static VmaVulkanFunctions mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VmaVulkanFunctions callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VmaVulkanFunctions mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VmaVulkanFunctions callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
malloc
public static VmaVulkanFunctions malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVmaVulkanFunctionsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VmaVulkanFunctions calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVmaVulkanFunctionsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
nvkGetInstanceProcAddr
public static long nvkGetInstanceProcAddr(long struct)
Unsafe version ofvkGetInstanceProcAddr().
-
nvkGetDeviceProcAddr
public static long nvkGetDeviceProcAddr(long struct)
Unsafe version ofvkGetDeviceProcAddr().
-
nvkGetPhysicalDeviceProperties
public static long nvkGetPhysicalDeviceProperties(long struct)
Unsafe version ofvkGetPhysicalDeviceProperties().
-
nvkGetPhysicalDeviceMemoryProperties
public static long nvkGetPhysicalDeviceMemoryProperties(long struct)
Unsafe version ofvkGetPhysicalDeviceMemoryProperties().
-
nvkAllocateMemory
public static long nvkAllocateMemory(long struct)
Unsafe version ofvkAllocateMemory().
-
nvkFreeMemory
public static long nvkFreeMemory(long struct)
Unsafe version ofvkFreeMemory().
-
nvkMapMemory
public static long nvkMapMemory(long struct)
Unsafe version ofvkMapMemory().
-
nvkUnmapMemory
public static long nvkUnmapMemory(long struct)
Unsafe version ofvkUnmapMemory().
-
nvkFlushMappedMemoryRanges
public static long nvkFlushMappedMemoryRanges(long struct)
Unsafe version ofvkFlushMappedMemoryRanges().
-
nvkInvalidateMappedMemoryRanges
public static long nvkInvalidateMappedMemoryRanges(long struct)
Unsafe version ofvkInvalidateMappedMemoryRanges().
-
nvkBindBufferMemory
public static long nvkBindBufferMemory(long struct)
Unsafe version ofvkBindBufferMemory().
-
nvkBindImageMemory
public static long nvkBindImageMemory(long struct)
Unsafe version ofvkBindImageMemory().
-
nvkGetBufferMemoryRequirements
public static long nvkGetBufferMemoryRequirements(long struct)
Unsafe version ofvkGetBufferMemoryRequirements().
-
nvkGetImageMemoryRequirements
public static long nvkGetImageMemoryRequirements(long struct)
Unsafe version ofvkGetImageMemoryRequirements().
-
nvkCreateBuffer
public static long nvkCreateBuffer(long struct)
Unsafe version ofvkCreateBuffer().
-
nvkDestroyBuffer
public static long nvkDestroyBuffer(long struct)
Unsafe version ofvkDestroyBuffer().
-
nvkCreateImage
public static long nvkCreateImage(long struct)
Unsafe version ofvkCreateImage().
-
nvkDestroyImage
public static long nvkDestroyImage(long struct)
Unsafe version ofvkDestroyImage().
-
nvkCmdCopyBuffer
public static long nvkCmdCopyBuffer(long struct)
Unsafe version ofvkCmdCopyBuffer().
-
nvkGetBufferMemoryRequirements2KHR
public static long nvkGetBufferMemoryRequirements2KHR(long struct)
Unsafe version ofvkGetBufferMemoryRequirements2KHR().
-
nvkGetImageMemoryRequirements2KHR
public static long nvkGetImageMemoryRequirements2KHR(long struct)
Unsafe version ofvkGetImageMemoryRequirements2KHR().
-
nvkBindBufferMemory2KHR
public static long nvkBindBufferMemory2KHR(long struct)
Unsafe version ofvkBindBufferMemory2KHR().
-
nvkBindImageMemory2KHR
public static long nvkBindImageMemory2KHR(long struct)
Unsafe version ofvkBindImageMemory2KHR().
-
nvkGetPhysicalDeviceMemoryProperties2KHR
public static long nvkGetPhysicalDeviceMemoryProperties2KHR(long struct)
Unsafe version ofvkGetPhysicalDeviceMemoryProperties2KHR().
-
nvkGetDeviceBufferMemoryRequirements
public static long nvkGetDeviceBufferMemoryRequirements(long struct)
Unsafe version ofvkGetDeviceBufferMemoryRequirements().
-
nvkGetDeviceImageMemoryRequirements
public static long nvkGetDeviceImageMemoryRequirements(long struct)
Unsafe version ofvkGetDeviceImageMemoryRequirements().
-
nvkGetInstanceProcAddr
public static void nvkGetInstanceProcAddr(long struct, long value)Unsafe version ofvkGetInstanceProcAddr.
-
nvkGetDeviceProcAddr
public static void nvkGetDeviceProcAddr(long struct, long value)Unsafe version ofvkGetDeviceProcAddr.
-
nvkGetPhysicalDeviceProperties
public static void nvkGetPhysicalDeviceProperties(long struct, long value)Unsafe version ofvkGetPhysicalDeviceProperties.
-
nvkGetPhysicalDeviceMemoryProperties
public static void nvkGetPhysicalDeviceMemoryProperties(long struct, long value)Unsafe version ofvkGetPhysicalDeviceMemoryProperties.
-
nvkAllocateMemory
public static void nvkAllocateMemory(long struct, long value)Unsafe version ofvkAllocateMemory.
-
nvkFreeMemory
public static void nvkFreeMemory(long struct, long value)Unsafe version ofvkFreeMemory.
-
nvkMapMemory
public static void nvkMapMemory(long struct, long value)Unsafe version ofvkMapMemory.
-
nvkUnmapMemory
public static void nvkUnmapMemory(long struct, long value)Unsafe version ofvkUnmapMemory.
-
nvkFlushMappedMemoryRanges
public static void nvkFlushMappedMemoryRanges(long struct, long value)Unsafe version ofvkFlushMappedMemoryRanges.
-
nvkInvalidateMappedMemoryRanges
public static void nvkInvalidateMappedMemoryRanges(long struct, long value)Unsafe version ofvkInvalidateMappedMemoryRanges.
-
nvkBindBufferMemory
public static void nvkBindBufferMemory(long struct, long value)Unsafe version ofvkBindBufferMemory.
-
nvkBindImageMemory
public static void nvkBindImageMemory(long struct, long value)Unsafe version ofvkBindImageMemory.
-
nvkGetBufferMemoryRequirements
public static void nvkGetBufferMemoryRequirements(long struct, long value)Unsafe version ofvkGetBufferMemoryRequirements.
-
nvkGetImageMemoryRequirements
public static void nvkGetImageMemoryRequirements(long struct, long value)Unsafe version ofvkGetImageMemoryRequirements.
-
nvkCreateBuffer
public static void nvkCreateBuffer(long struct, long value)Unsafe version ofvkCreateBuffer.
-
nvkDestroyBuffer
public static void nvkDestroyBuffer(long struct, long value)Unsafe version ofvkDestroyBuffer.
-
nvkCreateImage
public static void nvkCreateImage(long struct, long value)Unsafe version ofvkCreateImage.
-
nvkDestroyImage
public static void nvkDestroyImage(long struct, long value)Unsafe version ofvkDestroyImage.
-
nvkCmdCopyBuffer
public static void nvkCmdCopyBuffer(long struct, long value)Unsafe version ofvkCmdCopyBuffer.
-
nvkGetBufferMemoryRequirements2KHR
public static void nvkGetBufferMemoryRequirements2KHR(long struct, long value)Unsafe version ofvkGetBufferMemoryRequirements2KHR.
-
nvkGetImageMemoryRequirements2KHR
public static void nvkGetImageMemoryRequirements2KHR(long struct, long value)Unsafe version ofvkGetImageMemoryRequirements2KHR.
-
nvkBindBufferMemory2KHR
public static void nvkBindBufferMemory2KHR(long struct, long value)Unsafe version ofvkBindBufferMemory2KHR.
-
nvkBindImageMemory2KHR
public static void nvkBindImageMemory2KHR(long struct, long value)Unsafe version ofvkBindImageMemory2KHR.
-
nvkGetPhysicalDeviceMemoryProperties2KHR
public static void nvkGetPhysicalDeviceMemoryProperties2KHR(long struct, long value)Unsafe version ofvkGetPhysicalDeviceMemoryProperties2KHR.
-
nvkGetDeviceBufferMemoryRequirements
public static void nvkGetDeviceBufferMemoryRequirements(long struct, long value)Unsafe version ofvkGetDeviceBufferMemoryRequirements.
-
nvkGetDeviceImageMemoryRequirements
public static void nvkGetDeviceImageMemoryRequirements(long struct, long value)Unsafe version ofvkGetDeviceImageMemoryRequirements.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
set
public VmaVulkanFunctions set(org.lwjgl.vulkan.VkInstance instance, org.lwjgl.vulkan.VkDevice device)
Helper method that populates this struct with required Vulkan function pointers from the specified Vulkan instance and device.- Parameters:
instance- a Vulkan instancedevice- a Vulkan device
-
-