Texture_VkUpload functions via a ktxVulkanDeviceInfo struct.
vkGetInstanceProcAddr and vkGetDeviceProcAddr should be set, others are optional.
struct ktxVulkanFunctions {
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr;
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr;
PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers;
PFN_vkAllocateMemory vkAllocateMemory;
PFN_vkBeginCommandBuffer vkBeginCommandBuffer;
PFN_vkBindBufferMemory vkBindBufferMemory;
PFN_vkBindImageMemory vkBindImageMemory;
PFN_vkCmdBlitImage vkCmdBlitImage;
PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage;
PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier;
PFN_vkCreateImage vkCreateImage;
PFN_vkDestroyImage vkDestroyImage;
PFN_vkCreateBuffer vkCreateBuffer;
PFN_vkDestroyBuffer vkDestroyBuffer;
PFN_vkCreateFence vkCreateFence;
PFN_vkDestroyFence vkDestroyFence;
PFN_vkEndCommandBuffer vkEndCommandBuffer;
PFN_vkFreeCommandBuffers vkFreeCommandBuffers;
PFN_vkFreeMemory vkFreeMemory;
PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements;
PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements;
PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout;
PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties;
PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties;
PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties;
PFN_vkMapMemory vkMapMemory;
PFN_vkQueueSubmit vkQueueSubmit;
PFN_vkQueueWaitIdle vkQueueWaitIdle;
PFN_vkUnmapMemory vkUnmapMemory;
PFN_vkWaitForFences vkWaitForFences;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ktxVulkanFunctions.
An array of |
| 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 | VKALLOCATECOMMANDBUFFERS
The struct member offsets. |
| public static final int | VKALLOCATEMEMORY
The struct member offsets. |
| public static final int | VKBEGINCOMMANDBUFFER
The struct member offsets. |
| public static final int | VKBINDBUFFERMEMORY
The struct member offsets. |
| public static final int | VKBINDIMAGEMEMORY
The struct member offsets. |
| public static final int | VKCMDBLITIMAGE
The struct member offsets. |
| public static final int | VKCMDCOPYBUFFERTOIMAGE
The struct member offsets. |
| public static final int | VKCMDPIPELINEBARRIER
The struct member offsets. |
| public static final int | VKCREATEBUFFER
The struct member offsets. |
| public static final int | VKCREATEFENCE
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 | VKDESTROYFENCE
The struct member offsets. |
| public static final int | VKDESTROYIMAGE
The struct member offsets. |
| public static final int | VKENDCOMMANDBUFFER
The struct member offsets. |
| public static final int | VKFREECOMMANDBUFFERS
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 | VKGETDEVICEPROCADDR
The struct member offsets. |
| public static final int | VKGETIMAGEMEMORYREQUIREMENTS
The struct member offsets. |
| public static final int | VKGETIMAGESUBRESOURCELAYOUT
The struct member offsets. |
| public static final int | VKGETINSTANCEPROCADDR
The struct member offsets. |
| public static final int | VKGETPHYSICALDEVICEFORMATPROPERTIES
The struct member offsets. |
| public static final int | VKGETPHYSICALDEVICEIMAGEFORMATPROPERTIES
The struct member offsets. |
| public static final int | VKGETPHYSICALDEVICEMEMORYPROPERTIES
The struct member offsets. |
| public static final int | VKMAPMEMORY
The struct member offsets. |
| public static final int | VKQUEUESUBMIT
The struct member offsets. |
| public static final int | VKQUEUEWAITIDLE
The struct member offsets. |
| public static final int | VKUNMAPMEMORY
The struct member offsets. |
| public static final int | VKWAITFORFENCES
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ktxVulkanFunctions(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static ktxVulkanFunctions | |
| public static ktxVulkanFunctions. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ktxVulkanFunctions | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ktxVulkanFunctions. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected ktxVulkanFunctions | 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 ktxVulkanFunctions | |
| public static ktxVulkanFunctions | |
| public static ktxVulkanFunctions. | create(int
the buffer capacity capacity)Returns a new |
| public static ktxVulkanFunctions. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ktxVulkanFunctions | |
| public static ktxVulkanFunctions. | |
| public static ktxVulkanFunctions | |
| public static ktxVulkanFunctions. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ktxVulkanFunctions | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ktxVulkanFunctions. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| 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 | |
| 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 | |
| public static long | |
| public static void | nvkGetImageMemoryRequirements(long struct, long value)
Unsafe version of |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | nvkGetPhysicalDeviceFormatProperties(long struct)
Unsafe version of |
| public static void | nvkGetPhysicalDeviceFormatProperties(long struct, long value)
Unsafe version of |
| public static long | nvkGetPhysicalDeviceImageFormatProperties(long struct)
Unsafe version of |
| public static void | nvkGetPhysicalDeviceImageFormatProperties(long struct, long value)
Unsafe version of |
| public static long | nvkGetPhysicalDeviceMemoryProperties(long struct)
Unsafe version of |
| public static void | nvkGetPhysicalDeviceMemoryProperties(long struct, long value)
Unsafe version of |
| 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 ktxVulkanFunctions | set(long vkGetInstanceProcAddr, long vkGetDeviceProcAddr, long vkAllocateCommandBuffers, long vkAllocateMemory, long vkBeginCommandBuffer, long vkBindBufferMemory, long vkBindImageMemory, long vkCmdBlitImage, long vkCmdCopyBufferToImage, long vkCmdPipelineBarrier, long vkCreateImage, long vkDestroyImage, long vkCreateBuffer, long vkDestroyBuffer, long vkCreateFence, long vkDestroyFence, long vkEndCommandBuffer, long vkFreeCommandBuffers, long vkFreeMemory, long vkGetBufferMemoryRequirements, long vkGetImageMemoryRequirements, long vkGetImageSubresourceLayout, long vkGetPhysicalDeviceImageFormatProperties, long vkGetPhysicalDeviceFormatProperties, long vkGetPhysicalDeviceMemoryProperties, long vkMapMemory, long vkQueueSubmit, long vkQueueWaitIdle, long vkUnmapMemory, long vkWaitForFences)
Initializes this struct with the specified values. |
| public ktxVulkanFunctions | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public ktxVulkanFunctions | 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 ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | vkGetBufferMemoryRequirements(long value)
Sets the specified value to the |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | vkGetImageMemoryRequirements(long value)
Sets the specified value to the |
| public long | |
| public ktxVulkanFunctions | vkGetImageSubresourceLayout(long value)
Sets the specified value to the |
| public long | |
| public ktxVulkanFunctions | |
| public long | Returns: the value of thevkGetPhysicalDeviceFormatProperties field.
|
| public ktxVulkanFunctions | vkGetPhysicalDeviceFormatProperties(long value)
Sets the specified value to the |
| public long | Returns: the value of thevkGetPhysicalDeviceImageFormatProperties field.
|
| public ktxVulkanFunctions | vkGetPhysicalDeviceImageFormatProperties(long value)
Sets the specified value to the |
| public long | Returns: the value of thevkGetPhysicalDeviceMemoryProperties field.
|
| public ktxVulkanFunctions | vkGetPhysicalDeviceMemoryProperties(long value)
Sets the specified value to the |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions | |
| public long | |
| public ktxVulkanFunctions |