Used in VmaAllocatorCreateInfo::pVulkanFunctions.
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;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VKALLOCATEMEMORY
The struct member offsets. |
| public static final int | VKBINDBUFFERMEMORY
The struct member offsets. |
| public static final int | VKBINDBUFFERMEMORY2KHR
The struct member offsets. |
| public static final int | VKBINDIMAGEMEMORY
The struct member offsets. |
| public static final int | VKBINDIMAGEMEMORY2KHR
The struct member offsets. |
| public static final int | VKCMDCOPYBUFFER
The struct member offsets. |
| public static final int | VKCREATEBUFFER
The struct member offsets. |
| public static final int | VKCREATEIMAGE
The struct member offsets. |
| public static final int | VKDESTROYBUFFER
The struct member offsets. |
| public static final int | VKDESTROYIMAGE
The struct member offsets. |
| public static final int | VKFLUSHMAPPEDMEMORYRANGES
The struct member offsets. |
| public static final int | VKFREEMEMORY
The struct member offsets. |
| public static final int | VKGETBUFFERMEMORYREQUIREMENTS
The struct member offsets. |
| public static final int | VKGETBUFFERMEMORYREQUIREMENTS2KHR
The struct member offsets. |
| public static final int | VKGETDEVICEBUFFERMEMORYREQUIREMENTS
The struct member offsets. |
| public static final int | VKGETDEVICEIMAGEMEMORYREQUIREMENTS
The struct member offsets. |
| public static final int | VKGETDEVICEPROCADDR
The struct member offsets. |
| public static final int | VKGETIMAGEMEMORYREQUIREMENTS
The struct member offsets. |
| public static final int | VKGETIMAGEMEMORYREQUIREMENTS2KHR
The struct member offsets. |
| public static final int | VKGETINSTANCEPROCADDR
The struct member offsets. |
| public static final int | VKGETPHYSICALDEVICEMEMORYPROPERTIES
The struct member offsets. |
| public static final int | VKGETPHYSICALDEVICEMEMORYPROPERTIES2KHR
The struct member offsets. |
| public static final int | VKGETPHYSICALDEVICEPROPERTIES
The struct member offsets. |
| public static final int | VKINVALIDATEMAPPEDMEMORYRANGES
The struct member offsets. |
| public static final int | VKMAPMEMORY
The struct member offsets. |
| public static final int | VKUNMAPMEMORY
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VmaVulkanFunctions(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VmaVulkanFunctions | |
| public static VmaVulkanFunctions | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VmaVulkanFunctions | |
| public static VmaVulkanFunctions | |
| protected VmaVulkanFunctions | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VmaVulkanFunctions | |
| public static VmaVulkanFunctions | |
| public static VmaVulkanFunctions | |
| public static VmaVulkanFunctions | |
| public static VmaVulkanFunctions | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VmaVulkanFunctions | |
| public static VmaVulkanFunctions | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | nvkGetBufferMemoryRequirements(long struct, long value)
Unsafe version of |
| public static long | |
| public static void | nvkGetBufferMemoryRequirements2KHR(long struct, long value)
Unsafe version of |
| public static long | nvkGetDeviceBufferMemoryRequirements(long struct)
Unsafe version of |
| public static void | nvkGetDeviceBufferMemoryRequirements(long struct, long value)
Unsafe version of |
| public static long | nvkGetDeviceImageMemoryRequirements(long struct)
Unsafe version of |
| public static void | nvkGetDeviceImageMemoryRequirements(long struct, long value)
Unsafe version of |
| public static long | |
| public static void | |
| public static long | |
| public static void | nvkGetImageMemoryRequirements(long struct, long value)
Unsafe version of |
| public static long | |
| public static void | nvkGetImageMemoryRequirements2KHR(long struct, long value)
Unsafe version of |
| public static long | |
| public static void | |
| public static long | nvkGetPhysicalDeviceMemoryProperties(long struct)
Unsafe version of |
| public static void | nvkGetPhysicalDeviceMemoryProperties(long struct, long value)
Unsafe version of |
| public static long | nvkGetPhysicalDeviceMemoryProperties2KHR(long struct)
Unsafe version of |
| public static void | nvkGetPhysicalDeviceMemoryProperties2KHR(long struct, long value)
Unsafe version of |
| public static long | |
| public static void | nvkGetPhysicalDeviceProperties(long struct, long value)
Unsafe version of |
| public static long | |
| public static void | nvkInvalidateMappedMemoryRanges(long struct, long value)
Unsafe version of |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| 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. |
| public VmaVulkanFunctions | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public VmaVulkanFunctions | set(VkInstance
a Vulkan instance instance, VkDevice a Vulkan device device)Helper method that populates this struct with required Vulkan function pointers from the specified Vulkan instance and device. |
| public int | |
| public static void | |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | |
| public long | vkBindBufferMemory2KHR()
|
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | |
| public long | vkBindImageMemory2KHR()
|
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | vkFlushMappedMemoryRanges(long value)
Sets the specified value to the |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | vkGetBufferMemoryRequirements(long value)
Sets the specified value to the |
| public long | vkGetBufferMemoryRequirements2KHR()
|
| public VmaVulkanFunctions | vkGetBufferMemoryRequirements2KHR(long value)
Sets the specified value to the |
| public long | Returns: the value of thevkGetDeviceBufferMemoryRequirements field.
|
| public VmaVulkanFunctions | vkGetDeviceBufferMemoryRequirements(long value)
Sets the specified value to the |
| public long | Returns: the value of thevkGetDeviceImageMemoryRequirements field.
|
| public VmaVulkanFunctions | vkGetDeviceImageMemoryRequirements(long value)
Sets the specified value to the |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions | vkGetImageMemoryRequirements(long value)
Sets the specified value to the |
| public long | vkGetImageMemoryRequirements2KHR()
|
| public VmaVulkanFunctions | vkGetImageMemoryRequirements2KHR(long value)
Sets the specified value to the |
| public long | |
| public VmaVulkanFunctions | |
| public long | Returns: the value of thevkGetPhysicalDeviceMemoryProperties field.
|
| public VmaVulkanFunctions | vkGetPhysicalDeviceMemoryProperties(long value)
Sets the specified value to the |
| public long | Returns: the value of thevkGetPhysicalDeviceMemoryProperties2KHR field.
|
| public VmaVulkanFunctions | vkGetPhysicalDeviceMemoryProperties2KHR(long value)
Sets the specified value to the |
| public long | |
| public VmaVulkanFunctions | vkGetPhysicalDeviceProperties(long value)
Sets the specified value to the |
| public long | |
| public VmaVulkanFunctions | vkInvalidateMappedMemoryRanges(long value)
Sets the specified value to the |
| public long | |
| public VmaVulkanFunctions | |
| public long | |
| public VmaVulkanFunctions |