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.NativeResource
Pointers to some Vulkan functions - a subset used by the library.Used in
VmaAllocatorCreateInfo
::pVulkanFunctions
.Layout
struct VmaVulkanFunctions { 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; }
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
SIZEOF
The struct size in bytes.static int
VKALLOCATEMEMORY
VKBINDBUFFERMEMORY
VKBINDBUFFERMEMORY2KHR
VKBINDIMAGEMEMORY
VKBINDIMAGEMEMORY2KHR
VKCMDCOPYBUFFER
VKCREATEBUFFER
VKCREATEIMAGE
VKDESTROYBUFFER
VKDESTROYIMAGE
VKFLUSHMAPPEDMEMORYRANGES
VKFREEMEMORY
VKGETBUFFERMEMORYREQUIREMENTS
VKGETBUFFERMEMORYREQUIREMENTS2KHR
VKGETIMAGEMEMORYREQUIREMENTS
VKGETIMAGEMEMORYREQUIREMENTS2KHR
VKGETPHYSICALDEVICEMEMORYPROPERTIES
VKGETPHYSICALDEVICEPROPERTIES
VKINVALIDATEMAPPEDMEMORYRANGES
VKMAPMEMORY
VKUNMAPMEMORYThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VmaVulkanFunctions(java.nio.ByteBuffer container)
Creates aVmaVulkanFunctions
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VmaVulkanFunctions
calloc()
Returns a newVmaVulkanFunctions
instance allocated withmemCalloc
.static VmaVulkanFunctions
callocStack()
Returns a newVmaVulkanFunctions
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VmaVulkanFunctions
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVmaVulkanFunctions
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VmaVulkanFunctions
create()
Returns a newVmaVulkanFunctions
instance allocated withBufferUtils
.static VmaVulkanFunctions
create(long address)
Returns a newVmaVulkanFunctions
instance for the specified memory address.static VmaVulkanFunctions
createSafe(long address)
static VmaVulkanFunctions
malloc()
Returns a newVmaVulkanFunctions
instance allocated withmemAlloc
.static VmaVulkanFunctions
mallocStack()
Returns a newVmaVulkanFunctions
instance allocated on the thread-localMemoryStack
.static VmaVulkanFunctions
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVmaVulkanFunctions
instance allocated on the specifiedMemoryStack
.static long
nvkAllocateMemory(long struct)
Unsafe version ofvkAllocateMemory()
.static void
nvkAllocateMemory(long struct, long value)
Unsafe version ofvkAllocateMemory
.static long
nvkBindBufferMemory(long struct)
Unsafe version ofvkBindBufferMemory()
.static void
nvkBindBufferMemory(long struct, long value)
Unsafe version ofvkBindBufferMemory
.static long
nvkBindBufferMemory2KHR(long struct)
Unsafe version ofvkBindBufferMemory2KHR()
.static void
nvkBindBufferMemory2KHR(long struct, long value)
Unsafe version ofvkBindBufferMemory2KHR
.static long
nvkBindImageMemory(long struct)
Unsafe version ofvkBindImageMemory()
.static void
nvkBindImageMemory(long struct, long value)
Unsafe version ofvkBindImageMemory
.static long
nvkBindImageMemory2KHR(long struct)
Unsafe version ofvkBindImageMemory2KHR()
.static void
nvkBindImageMemory2KHR(long struct, long value)
Unsafe version ofvkBindImageMemory2KHR
.static long
nvkCmdCopyBuffer(long struct)
Unsafe version ofvkCmdCopyBuffer()
.static void
nvkCmdCopyBuffer(long struct, long value)
Unsafe version ofvkCmdCopyBuffer
.static long
nvkCreateBuffer(long struct)
Unsafe version ofvkCreateBuffer()
.static void
nvkCreateBuffer(long struct, long value)
Unsafe version ofvkCreateBuffer
.static long
nvkCreateImage(long struct)
Unsafe version ofvkCreateImage()
.static void
nvkCreateImage(long struct, long value)
Unsafe version ofvkCreateImage
.static long
nvkDestroyBuffer(long struct)
Unsafe version ofvkDestroyBuffer()
.static void
nvkDestroyBuffer(long struct, long value)
Unsafe version ofvkDestroyBuffer
.static long
nvkDestroyImage(long struct)
Unsafe version ofvkDestroyImage()
.static void
nvkDestroyImage(long struct, long value)
Unsafe version ofvkDestroyImage
.static long
nvkFlushMappedMemoryRanges(long struct)
Unsafe version ofvkFlushMappedMemoryRanges()
.static void
nvkFlushMappedMemoryRanges(long struct, long value)
Unsafe version ofvkFlushMappedMemoryRanges
.static long
nvkFreeMemory(long struct)
Unsafe version ofvkFreeMemory()
.static void
nvkFreeMemory(long struct, long value)
Unsafe version ofvkFreeMemory
.static long
nvkGetBufferMemoryRequirements(long struct)
Unsafe version ofvkGetBufferMemoryRequirements()
.static void
nvkGetBufferMemoryRequirements(long struct, long value)
Unsafe version ofvkGetBufferMemoryRequirements
.static long
nvkGetBufferMemoryRequirements2KHR(long struct)
Unsafe version ofvkGetBufferMemoryRequirements2KHR()
.static void
nvkGetBufferMemoryRequirements2KHR(long struct, long value)
Unsafe version ofvkGetBufferMemoryRequirements2KHR
.static long
nvkGetImageMemoryRequirements(long struct)
Unsafe version ofvkGetImageMemoryRequirements()
.static void
nvkGetImageMemoryRequirements(long struct, long value)
Unsafe version ofvkGetImageMemoryRequirements
.static long
nvkGetImageMemoryRequirements2KHR(long struct)
Unsafe version ofvkGetImageMemoryRequirements2KHR()
.static void
nvkGetImageMemoryRequirements2KHR(long struct, long value)
Unsafe version ofvkGetImageMemoryRequirements2KHR
.static long
nvkGetPhysicalDeviceMemoryProperties(long struct)
Unsafe version ofvkGetPhysicalDeviceMemoryProperties()
.static void
nvkGetPhysicalDeviceMemoryProperties(long struct, long value)
Unsafe version ofvkGetPhysicalDeviceMemoryProperties
.static long
nvkGetPhysicalDeviceProperties(long struct)
Unsafe version ofvkGetPhysicalDeviceProperties()
.static void
nvkGetPhysicalDeviceProperties(long struct, long value)
Unsafe version ofvkGetPhysicalDeviceProperties
.static long
nvkInvalidateMappedMemoryRanges(long struct)
Unsafe version ofvkInvalidateMappedMemoryRanges()
.static void
nvkInvalidateMappedMemoryRanges(long struct, long value)
Unsafe version ofvkInvalidateMappedMemoryRanges
.static long
nvkMapMemory(long struct)
Unsafe version ofvkMapMemory()
.static void
nvkMapMemory(long struct, long value)
Unsafe version ofvkMapMemory
.static long
nvkUnmapMemory(long struct)
Unsafe version ofvkUnmapMemory()
.static void
nvkUnmapMemory(long struct, long value)
Unsafe version ofvkUnmapMemory
.VmaVulkanFunctions
set(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)
Initializes this struct with the specified values.VmaVulkanFunctions
set(VmaVulkanFunctions src)
Copies the specified struct data to this struct.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.int
sizeof()
static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.long
vkAllocateMemory()
Returns the value of thevkAllocateMemory
field.VmaVulkanFunctions
vkAllocateMemory(long value)
Sets the specified value to thevkAllocateMemory
field.long
vkBindBufferMemory()
Returns the value of thevkBindBufferMemory
field.VmaVulkanFunctions
vkBindBufferMemory(long value)
Sets the specified value to thevkBindBufferMemory
field.long
vkBindBufferMemory2KHR()
Returns the value of thevkBindBufferMemory2KHR
field.VmaVulkanFunctions
vkBindBufferMemory2KHR(long value)
Sets the specified value to thevkBindBufferMemory2KHR
field.long
vkBindImageMemory()
Returns the value of thevkBindImageMemory
field.VmaVulkanFunctions
vkBindImageMemory(long value)
Sets the specified value to thevkBindImageMemory
field.long
vkBindImageMemory2KHR()
Returns the value of thevkBindImageMemory2KHR
field.VmaVulkanFunctions
vkBindImageMemory2KHR(long value)
Sets the specified value to thevkBindImageMemory2KHR
field.long
vkCmdCopyBuffer()
Returns the value of thevkCmdCopyBuffer
field.VmaVulkanFunctions
vkCmdCopyBuffer(long value)
Sets the specified value to thevkCmdCopyBuffer
field.long
vkCreateBuffer()
Returns the value of thevkCreateBuffer
field.VmaVulkanFunctions
vkCreateBuffer(long value)
Sets the specified value to thevkCreateBuffer
field.long
vkCreateImage()
Returns the value of thevkCreateImage
field.VmaVulkanFunctions
vkCreateImage(long value)
Sets the specified value to thevkCreateImage
field.long
vkDestroyBuffer()
Returns the value of thevkDestroyBuffer
field.VmaVulkanFunctions
vkDestroyBuffer(long value)
Sets the specified value to thevkDestroyBuffer
field.long
vkDestroyImage()
Returns the value of thevkDestroyImage
field.VmaVulkanFunctions
vkDestroyImage(long value)
Sets the specified value to thevkDestroyImage
field.long
vkFlushMappedMemoryRanges()
Returns the value of thevkFlushMappedMemoryRanges
field.VmaVulkanFunctions
vkFlushMappedMemoryRanges(long value)
Sets the specified value to thevkFlushMappedMemoryRanges
field.long
vkFreeMemory()
Returns the value of thevkFreeMemory
field.VmaVulkanFunctions
vkFreeMemory(long value)
Sets the specified value to thevkFreeMemory
field.long
vkGetBufferMemoryRequirements()
Returns the value of thevkGetBufferMemoryRequirements
field.VmaVulkanFunctions
vkGetBufferMemoryRequirements(long value)
Sets the specified value to thevkGetBufferMemoryRequirements
field.long
vkGetBufferMemoryRequirements2KHR()
Returns the value of thevkGetBufferMemoryRequirements2KHR
field.VmaVulkanFunctions
vkGetBufferMemoryRequirements2KHR(long value)
Sets the specified value to thevkGetBufferMemoryRequirements2KHR
field.long
vkGetImageMemoryRequirements()
Returns the value of thevkGetImageMemoryRequirements
field.VmaVulkanFunctions
vkGetImageMemoryRequirements(long value)
Sets the specified value to thevkGetImageMemoryRequirements
field.long
vkGetImageMemoryRequirements2KHR()
Returns the value of thevkGetImageMemoryRequirements2KHR
field.VmaVulkanFunctions
vkGetImageMemoryRequirements2KHR(long value)
Sets the specified value to thevkGetImageMemoryRequirements2KHR
field.long
vkGetPhysicalDeviceMemoryProperties()
Returns the value of thevkGetPhysicalDeviceMemoryProperties
field.VmaVulkanFunctions
vkGetPhysicalDeviceMemoryProperties(long value)
Sets the specified value to thevkGetPhysicalDeviceMemoryProperties
field.long
vkGetPhysicalDeviceProperties()
Returns the value of thevkGetPhysicalDeviceProperties
field.VmaVulkanFunctions
vkGetPhysicalDeviceProperties(long value)
Sets the specified value to thevkGetPhysicalDeviceProperties
field.long
vkInvalidateMappedMemoryRanges()
Returns the value of thevkInvalidateMappedMemoryRanges
field.VmaVulkanFunctions
vkInvalidateMappedMemoryRanges(long value)
Sets the specified value to thevkInvalidateMappedMemoryRanges
field.long
vkMapMemory()
Returns the value of thevkMapMemory
field.VmaVulkanFunctions
vkMapMemory(long value)
Sets the specified value to thevkMapMemory
field.long
vkUnmapMemory()
Returns the value of thevkUnmapMemory
field.VmaVulkanFunctions
vkUnmapMemory(long value)
Sets the specified value to thevkUnmapMemory
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
VKGETPHYSICALDEVICEPROPERTIES, VKGETPHYSICALDEVICEMEMORYPROPERTIES, VKALLOCATEMEMORY, VKFREEMEMORY, VKMAPMEMORY, VKUNMAPMEMORY, VKFLUSHMAPPEDMEMORYRANGES, VKINVALIDATEMAPPEDMEMORYRANGES, VKBINDBUFFERMEMORY, VKBINDIMAGEMEMORY, VKGETBUFFERMEMORYREQUIREMENTS, VKGETIMAGEMEMORYREQUIREMENTS, VKCREATEBUFFER, VKDESTROYBUFFER, VKCREATEIMAGE, VKDESTROYIMAGE, VKCMDCOPYBUFFER, VKGETBUFFERMEMORYREQUIREMENTS2KHR, VKGETIMAGEMEMORYREQUIREMENTS2KHR, VKBINDBUFFERMEMORY2KHR, VKBINDIMAGEMEMORY2KHR
The struct member offsets.
-
-
Constructor Detail
-
VmaVulkanFunctions
public VmaVulkanFunctions(java.nio.ByteBuffer container)
Creates aVmaVulkanFunctions
instance at the current position of the specifiedByteBuffer
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
vkGetPhysicalDeviceProperties
public long vkGetPhysicalDeviceProperties()
Returns the value of thevkGetPhysicalDeviceProperties
field.
-
vkGetPhysicalDeviceMemoryProperties
public long vkGetPhysicalDeviceMemoryProperties()
Returns the value of thevkGetPhysicalDeviceMemoryProperties
field.
-
vkAllocateMemory
public long vkAllocateMemory()
Returns the value of thevkAllocateMemory
field.
-
vkFreeMemory
public long vkFreeMemory()
Returns the value of thevkFreeMemory
field.
-
vkMapMemory
public long vkMapMemory()
Returns the value of thevkMapMemory
field.
-
vkUnmapMemory
public long vkUnmapMemory()
Returns the value of thevkUnmapMemory
field.
-
vkFlushMappedMemoryRanges
public long vkFlushMappedMemoryRanges()
Returns the value of thevkFlushMappedMemoryRanges
field.
-
vkInvalidateMappedMemoryRanges
public long vkInvalidateMappedMemoryRanges()
Returns the value of thevkInvalidateMappedMemoryRanges
field.
-
vkBindBufferMemory
public long vkBindBufferMemory()
Returns the value of thevkBindBufferMemory
field.
-
vkBindImageMemory
public long vkBindImageMemory()
Returns the value of thevkBindImageMemory
field.
-
vkGetBufferMemoryRequirements
public long vkGetBufferMemoryRequirements()
Returns the value of thevkGetBufferMemoryRequirements
field.
-
vkGetImageMemoryRequirements
public long vkGetImageMemoryRequirements()
Returns the value of thevkGetImageMemoryRequirements
field.
-
vkCreateBuffer
public long vkCreateBuffer()
Returns the value of thevkCreateBuffer
field.
-
vkDestroyBuffer
public long vkDestroyBuffer()
Returns the value of thevkDestroyBuffer
field.
-
vkCreateImage
public long vkCreateImage()
Returns the value of thevkCreateImage
field.
-
vkDestroyImage
public long vkDestroyImage()
Returns the value of thevkDestroyImage
field.
-
vkCmdCopyBuffer
public long vkCmdCopyBuffer()
Returns the value of thevkCmdCopyBuffer
field.
-
vkGetBufferMemoryRequirements2KHR
public long vkGetBufferMemoryRequirements2KHR()
Returns the value of thevkGetBufferMemoryRequirements2KHR
field.
-
vkGetImageMemoryRequirements2KHR
public long vkGetImageMemoryRequirements2KHR()
Returns the value of thevkGetImageMemoryRequirements2KHR
field.
-
vkBindBufferMemory2KHR
public long vkBindBufferMemory2KHR()
Returns the value of thevkBindBufferMemory2KHR
field.
-
vkBindImageMemory2KHR
public long vkBindImageMemory2KHR()
Returns the value of thevkBindImageMemory2KHR
field.
-
vkGetPhysicalDeviceProperties
public VmaVulkanFunctions vkGetPhysicalDeviceProperties(long value)
Sets the specified value to thevkGetPhysicalDeviceProperties
field.
-
vkGetPhysicalDeviceMemoryProperties
public VmaVulkanFunctions vkGetPhysicalDeviceMemoryProperties(long value)
Sets the specified value to thevkGetPhysicalDeviceMemoryProperties
field.
-
vkAllocateMemory
public VmaVulkanFunctions vkAllocateMemory(long value)
Sets the specified value to thevkAllocateMemory
field.
-
vkFreeMemory
public VmaVulkanFunctions vkFreeMemory(long value)
Sets the specified value to thevkFreeMemory
field.
-
vkMapMemory
public VmaVulkanFunctions vkMapMemory(long value)
Sets the specified value to thevkMapMemory
field.
-
vkUnmapMemory
public VmaVulkanFunctions vkUnmapMemory(long value)
Sets the specified value to thevkUnmapMemory
field.
-
vkFlushMappedMemoryRanges
public VmaVulkanFunctions vkFlushMappedMemoryRanges(long value)
Sets the specified value to thevkFlushMappedMemoryRanges
field.
-
vkInvalidateMappedMemoryRanges
public VmaVulkanFunctions vkInvalidateMappedMemoryRanges(long value)
Sets the specified value to thevkInvalidateMappedMemoryRanges
field.
-
vkBindBufferMemory
public VmaVulkanFunctions vkBindBufferMemory(long value)
Sets the specified value to thevkBindBufferMemory
field.
-
vkBindImageMemory
public VmaVulkanFunctions vkBindImageMemory(long value)
Sets the specified value to thevkBindImageMemory
field.
-
vkGetBufferMemoryRequirements
public VmaVulkanFunctions vkGetBufferMemoryRequirements(long value)
Sets the specified value to thevkGetBufferMemoryRequirements
field.
-
vkGetImageMemoryRequirements
public VmaVulkanFunctions vkGetImageMemoryRequirements(long value)
Sets the specified value to thevkGetImageMemoryRequirements
field.
-
vkCreateBuffer
public VmaVulkanFunctions vkCreateBuffer(long value)
Sets the specified value to thevkCreateBuffer
field.
-
vkDestroyBuffer
public VmaVulkanFunctions vkDestroyBuffer(long value)
Sets the specified value to thevkDestroyBuffer
field.
-
vkCreateImage
public VmaVulkanFunctions vkCreateImage(long value)
Sets the specified value to thevkCreateImage
field.
-
vkDestroyImage
public VmaVulkanFunctions vkDestroyImage(long value)
Sets the specified value to thevkDestroyImage
field.
-
vkCmdCopyBuffer
public VmaVulkanFunctions vkCmdCopyBuffer(long value)
Sets the specified value to thevkCmdCopyBuffer
field.
-
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.
-
set
public VmaVulkanFunctions set(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)
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 newVmaVulkanFunctions
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VmaVulkanFunctions calloc()
Returns a newVmaVulkanFunctions
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VmaVulkanFunctions create()
Returns a newVmaVulkanFunctions
instance allocated withBufferUtils
.
-
create
public static VmaVulkanFunctions create(long address)
Returns a newVmaVulkanFunctions
instance for the specified memory address.
-
createSafe
@Nullable public static VmaVulkanFunctions createSafe(long address)
-
mallocStack
public static VmaVulkanFunctions mallocStack()
Returns a newVmaVulkanFunctions
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VmaVulkanFunctions callocStack()
Returns a newVmaVulkanFunctions
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VmaVulkanFunctions mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVmaVulkanFunctions
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VmaVulkanFunctions callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVmaVulkanFunctions
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
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()
.
-
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
.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-
validate
public static void validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.- Parameters:
array
- the struct array to validatecount
- the number of structs inarray
-
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
-
-