Package org.lwjgl.util.vma
Class VmaVulkanFunctions
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
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_vkGetDeviceBufferMemoryRequirementsKHR vkGetDeviceBufferMemoryRequirements;
PFN_vkGetDeviceImageMemoryRequirementsKHR vkGetDeviceImageMemoryRequirements;
PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR;
}-
Nested Class Summary
Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVmaVulkanFunctions(ByteBuffer container) Creates aVmaVulkanFunctionsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VmaVulkanFunctionscalloc()Returns a newVmaVulkanFunctionsinstance allocated withmemCalloc.static VmaVulkanFunctionscalloc(MemoryStack stack) Returns a newVmaVulkanFunctionsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VmaVulkanFunctionscreate()Returns a newVmaVulkanFunctionsinstance allocated withBufferUtils.static VmaVulkanFunctionscreate(long address) Returns a newVmaVulkanFunctionsinstance for the specified memory address.static @Nullable VmaVulkanFunctionscreateSafe(long address) static VmaVulkanFunctionsmalloc()Returns a newVmaVulkanFunctionsinstance allocated withmemAlloc.static VmaVulkanFunctionsmalloc(MemoryStack stack) Returns a newVmaVulkanFunctionsinstance allocated on the specifiedMemoryStack.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 longnvkGetMemoryWin32HandleKHR(long struct) Unsafe version ofvkGetMemoryWin32HandleKHR().static voidnvkGetMemoryWin32HandleKHR(long struct, long value) Unsafe version ofvkGetMemoryWin32HandleKHR.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.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, long vkGetMemoryWin32HandleKHR) Initializes this struct with the specified values.set(VmaVulkanFunctions src) Copies the specified struct data to this struct.set(VkInstance instance, VkDevice device) Helper method that populates this struct with required Vulkan function pointers from the specified Vulkan instance and device.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.longvkAllocateMemory(long value) Sets the specified value to thevkAllocateMemoryfield.longvkBindBufferMemory(long value) Sets the specified value to thevkBindBufferMemoryfield.longvkBindBufferMemory2KHR(long value) Sets the specified value to thevkBindBufferMemory2KHRfield.longvkBindImageMemory(long value) Sets the specified value to thevkBindImageMemoryfield.longvkBindImageMemory2KHR(long value) Sets the specified value to thevkBindImageMemory2KHRfield.longvkCmdCopyBuffer(long value) Sets the specified value to thevkCmdCopyBufferfield.longvkCreateBuffer(long value) Sets the specified value to thevkCreateBufferfield.longvkCreateImage(long value) Sets the specified value to thevkCreateImagefield.longvkDestroyBuffer(long value) Sets the specified value to thevkDestroyBufferfield.longvkDestroyImage(long value) Sets the specified value to thevkDestroyImagefield.longvkFlushMappedMemoryRanges(long value) Sets the specified value to thevkFlushMappedMemoryRangesfield.longvkFreeMemory(long value) Sets the specified value to thevkFreeMemoryfield.longvkGetBufferMemoryRequirements(long value) Sets the specified value to thevkGetBufferMemoryRequirementsfield.longvkGetBufferMemoryRequirements2KHR(long value) Sets the specified value to thevkGetBufferMemoryRequirements2KHRfield.longvkGetDeviceBufferMemoryRequirements(long value) Sets the specified value to thevkGetDeviceBufferMemoryRequirementsfield.longvkGetDeviceImageMemoryRequirements(long value) Sets the specified value to thevkGetDeviceImageMemoryRequirementsfield.longvkGetDeviceProcAddr(long value) Sets the specified value to thevkGetDeviceProcAddrfield.longvkGetImageMemoryRequirements(long value) Sets the specified value to thevkGetImageMemoryRequirementsfield.longvkGetImageMemoryRequirements2KHR(long value) Sets the specified value to thevkGetImageMemoryRequirements2KHRfield.longvkGetInstanceProcAddr(long value) Sets the specified value to thevkGetInstanceProcAddrfield.longvkGetMemoryWin32HandleKHR(long value) Sets the specified value to thevkGetMemoryWin32HandleKHRfield.longvkGetPhysicalDeviceMemoryProperties(long value) Sets the specified value to thevkGetPhysicalDeviceMemoryPropertiesfield.longvkGetPhysicalDeviceMemoryProperties2KHR(long value) Sets the specified value to thevkGetPhysicalDeviceMemoryProperties2KHRfield.longvkGetPhysicalDeviceProperties(long value) Sets the specified value to thevkGetPhysicalDevicePropertiesfield.longvkInvalidateMappedMemoryRanges(long value) Sets the specified value to thevkInvalidateMappedMemoryRangesfield.longvkMapMemory(long value) Sets the specified value to thevkMapMemoryfield.longvkUnmapMemory(long value) Sets the specified value to thevkUnmapMemoryfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
VKGETINSTANCEPROCADDR
public static final int VKGETINSTANCEPROCADDRThe struct member offsets. -
VKGETDEVICEPROCADDR
public static final int VKGETDEVICEPROCADDRThe struct member offsets. -
VKGETPHYSICALDEVICEPROPERTIES
public static final int VKGETPHYSICALDEVICEPROPERTIESThe struct member offsets. -
VKGETPHYSICALDEVICEMEMORYPROPERTIES
public static final int VKGETPHYSICALDEVICEMEMORYPROPERTIESThe struct member offsets. -
VKALLOCATEMEMORY
public static final int VKALLOCATEMEMORYThe struct member offsets. -
VKFREEMEMORY
public static final int VKFREEMEMORYThe struct member offsets. -
VKMAPMEMORY
public static final int VKMAPMEMORYThe struct member offsets. -
VKUNMAPMEMORY
public static final int VKUNMAPMEMORYThe struct member offsets. -
VKFLUSHMAPPEDMEMORYRANGES
public static final int VKFLUSHMAPPEDMEMORYRANGESThe struct member offsets. -
VKINVALIDATEMAPPEDMEMORYRANGES
public static final int VKINVALIDATEMAPPEDMEMORYRANGESThe struct member offsets. -
VKBINDBUFFERMEMORY
public static final int VKBINDBUFFERMEMORYThe struct member offsets. -
VKBINDIMAGEMEMORY
public static final int VKBINDIMAGEMEMORYThe struct member offsets. -
VKGETBUFFERMEMORYREQUIREMENTS
public static final int VKGETBUFFERMEMORYREQUIREMENTSThe struct member offsets. -
VKGETIMAGEMEMORYREQUIREMENTS
public static final int VKGETIMAGEMEMORYREQUIREMENTSThe struct member offsets. -
VKCREATEBUFFER
public static final int VKCREATEBUFFERThe struct member offsets. -
VKDESTROYBUFFER
public static final int VKDESTROYBUFFERThe struct member offsets. -
VKCREATEIMAGE
public static final int VKCREATEIMAGEThe struct member offsets. -
VKDESTROYIMAGE
public static final int VKDESTROYIMAGEThe struct member offsets. -
VKCMDCOPYBUFFER
public static final int VKCMDCOPYBUFFERThe struct member offsets. -
VKGETBUFFERMEMORYREQUIREMENTS2KHR
public static final int VKGETBUFFERMEMORYREQUIREMENTS2KHRThe struct member offsets. -
VKGETIMAGEMEMORYREQUIREMENTS2KHR
public static final int VKGETIMAGEMEMORYREQUIREMENTS2KHRThe struct member offsets. -
VKBINDBUFFERMEMORY2KHR
public static final int VKBINDBUFFERMEMORY2KHRThe struct member offsets. -
VKBINDIMAGEMEMORY2KHR
public static final int VKBINDIMAGEMEMORY2KHRThe struct member offsets. -
VKGETPHYSICALDEVICEMEMORYPROPERTIES2KHR
public static final int VKGETPHYSICALDEVICEMEMORYPROPERTIES2KHRThe struct member offsets. -
VKGETDEVICEBUFFERMEMORYREQUIREMENTS
public static final int VKGETDEVICEBUFFERMEMORYREQUIREMENTSThe struct member offsets. -
VKGETDEVICEIMAGEMEMORYREQUIREMENTS
public static final int VKGETDEVICEIMAGEMEMORYREQUIREMENTSThe struct member offsets. -
VKGETMEMORYWIN32HANDLEKHR
public static final int VKGETMEMORYWIN32HANDLEKHRThe struct member offsets.
-
-
Constructor Details
-
VmaVulkanFunctions
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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VmaVulkanFunctions>
-
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()- Returns:
- the value of the
vkGetBufferMemoryRequirements2KHRfield.
-
vkGetImageMemoryRequirements2KHR
public long vkGetImageMemoryRequirements2KHR()- Returns:
- the value of the
vkGetImageMemoryRequirements2KHRfield.
-
vkBindBufferMemory2KHR
public long vkBindBufferMemory2KHR()- Returns:
- the value of the
vkBindBufferMemory2KHRfield.
-
vkBindImageMemory2KHR
public long vkBindImageMemory2KHR()- Returns:
- the value of the
vkBindImageMemory2KHRfield.
-
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.
-
vkGetMemoryWin32HandleKHR
public long vkGetMemoryWin32HandleKHR()- Returns:
- the value of the
vkGetMemoryWin32HandleKHRfield.
-
vkGetInstanceProcAddr
Sets the specified value to thevkGetInstanceProcAddrfield. -
vkGetDeviceProcAddr
Sets the specified value to thevkGetDeviceProcAddrfield. -
vkGetPhysicalDeviceProperties
Sets the specified value to thevkGetPhysicalDevicePropertiesfield. -
vkGetPhysicalDeviceMemoryProperties
Sets the specified value to thevkGetPhysicalDeviceMemoryPropertiesfield. -
vkAllocateMemory
Sets the specified value to thevkAllocateMemoryfield. -
vkFreeMemory
Sets the specified value to thevkFreeMemoryfield. -
vkMapMemory
Sets the specified value to thevkMapMemoryfield. -
vkUnmapMemory
Sets the specified value to thevkUnmapMemoryfield. -
vkFlushMappedMemoryRanges
Sets the specified value to thevkFlushMappedMemoryRangesfield. -
vkInvalidateMappedMemoryRanges
Sets the specified value to thevkInvalidateMappedMemoryRangesfield. -
vkBindBufferMemory
Sets the specified value to thevkBindBufferMemoryfield. -
vkBindImageMemory
Sets the specified value to thevkBindImageMemoryfield. -
vkGetBufferMemoryRequirements
Sets the specified value to thevkGetBufferMemoryRequirementsfield. -
vkGetImageMemoryRequirements
Sets the specified value to thevkGetImageMemoryRequirementsfield. -
vkCreateBuffer
Sets the specified value to thevkCreateBufferfield. -
vkDestroyBuffer
Sets the specified value to thevkDestroyBufferfield. -
vkCreateImage
Sets the specified value to thevkCreateImagefield. -
vkDestroyImage
Sets the specified value to thevkDestroyImagefield. -
vkCmdCopyBuffer
Sets the specified value to thevkCmdCopyBufferfield. -
vkGetBufferMemoryRequirements2KHR
Sets the specified value to thevkGetBufferMemoryRequirements2KHRfield. -
vkGetImageMemoryRequirements2KHR
Sets the specified value to thevkGetImageMemoryRequirements2KHRfield. -
vkBindBufferMemory2KHR
Sets the specified value to thevkBindBufferMemory2KHRfield. -
vkBindImageMemory2KHR
Sets the specified value to thevkBindImageMemory2KHRfield. -
vkGetPhysicalDeviceMemoryProperties2KHR
Sets the specified value to thevkGetPhysicalDeviceMemoryProperties2KHRfield. -
vkGetDeviceBufferMemoryRequirements
Sets the specified value to thevkGetDeviceBufferMemoryRequirementsfield. -
vkGetDeviceImageMemoryRequirements
Sets the specified value to thevkGetDeviceImageMemoryRequirementsfield. -
vkGetMemoryWin32HandleKHR
Sets the specified value to thevkGetMemoryWin32HandleKHRfield. -
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, long vkGetMemoryWin32HandleKHR) 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
Returns a newVmaVulkanFunctionsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVmaVulkanFunctionsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVmaVulkanFunctionsinstance allocated withBufferUtils. -
create
Returns a newVmaVulkanFunctionsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVmaVulkanFunctionsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
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(). -
nvkGetMemoryWin32HandleKHR
public static long nvkGetMemoryWin32HandleKHR(long struct) Unsafe version ofvkGetMemoryWin32HandleKHR(). -
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. -
nvkGetMemoryWin32HandleKHR
public static void nvkGetMemoryWin32HandleKHR(long struct, long value) Unsafe version ofvkGetMemoryWin32HandleKHR. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
set
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
-