Package org.lwjgl.util.ktx
Class ktxVulkanFunctions
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
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;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionktxVulkanFunctions
(ByteBuffer container) Creates aktxVulkanFunctions
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic ktxVulkanFunctions
calloc()
Returns a newktxVulkanFunctions
instance allocated withmemCalloc
.static ktxVulkanFunctions.Buffer
calloc
(int capacity) Returns a newktxVulkanFunctions.Buffer
instance allocated withmemCalloc
.static ktxVulkanFunctions.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newktxVulkanFunctions.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static ktxVulkanFunctions
calloc
(MemoryStack stack) Returns a newktxVulkanFunctions
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static ktxVulkanFunctions
create()
Returns a newktxVulkanFunctions
instance allocated withBufferUtils
.static ktxVulkanFunctions.Buffer
create
(int capacity) Returns a newktxVulkanFunctions.Buffer
instance allocated withBufferUtils
.static ktxVulkanFunctions
create
(long address) Returns a newktxVulkanFunctions
instance for the specified memory address.static ktxVulkanFunctions.Buffer
create
(long address, int capacity) Create aktxVulkanFunctions.Buffer
instance at the specified memory.static @Nullable ktxVulkanFunctions
createSafe
(long address) static @Nullable ktxVulkanFunctions.Buffer
createSafe
(long address, int capacity) static ktxVulkanFunctions
malloc()
Returns a newktxVulkanFunctions
instance allocated withmemAlloc
.static ktxVulkanFunctions.Buffer
malloc
(int capacity) Returns a newktxVulkanFunctions.Buffer
instance allocated withmemAlloc
.static ktxVulkanFunctions.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newktxVulkanFunctions.Buffer
instance allocated on the specifiedMemoryStack
.static ktxVulkanFunctions
malloc
(MemoryStack stack) Returns a newktxVulkanFunctions
instance allocated on the specifiedMemoryStack
.static long
nvkAllocateCommandBuffers
(long struct) Unsafe version ofvkAllocateCommandBuffers()
.static void
nvkAllocateCommandBuffers
(long struct, long value) Unsafe version ofvkAllocateCommandBuffers
.static long
nvkAllocateMemory
(long struct) Unsafe version ofvkAllocateMemory()
.static void
nvkAllocateMemory
(long struct, long value) Unsafe version ofvkAllocateMemory
.static long
nvkBeginCommandBuffer
(long struct) Unsafe version ofvkBeginCommandBuffer()
.static void
nvkBeginCommandBuffer
(long struct, long value) Unsafe version ofvkBeginCommandBuffer
.static long
nvkBindBufferMemory
(long struct) Unsafe version ofvkBindBufferMemory()
.static void
nvkBindBufferMemory
(long struct, long value) Unsafe version ofvkBindBufferMemory
.static long
nvkBindImageMemory
(long struct) Unsafe version ofvkBindImageMemory()
.static void
nvkBindImageMemory
(long struct, long value) Unsafe version ofvkBindImageMemory
.static long
nvkCmdBlitImage
(long struct) Unsafe version ofvkCmdBlitImage()
.static void
nvkCmdBlitImage
(long struct, long value) Unsafe version ofvkCmdBlitImage
.static long
nvkCmdCopyBufferToImage
(long struct) Unsafe version ofvkCmdCopyBufferToImage()
.static void
nvkCmdCopyBufferToImage
(long struct, long value) Unsafe version ofvkCmdCopyBufferToImage
.static long
nvkCmdPipelineBarrier
(long struct) Unsafe version ofvkCmdPipelineBarrier()
.static void
nvkCmdPipelineBarrier
(long struct, long value) Unsafe version ofvkCmdPipelineBarrier
.static long
nvkCreateBuffer
(long struct) Unsafe version ofvkCreateBuffer()
.static void
nvkCreateBuffer
(long struct, long value) Unsafe version ofvkCreateBuffer
.static long
nvkCreateFence
(long struct) Unsafe version ofvkCreateFence()
.static void
nvkCreateFence
(long struct, long value) Unsafe version ofvkCreateFence
.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
nvkDestroyFence
(long struct) Unsafe version ofvkDestroyFence()
.static void
nvkDestroyFence
(long struct, long value) Unsafe version ofvkDestroyFence
.static long
nvkDestroyImage
(long struct) Unsafe version ofvkDestroyImage()
.static void
nvkDestroyImage
(long struct, long value) Unsafe version ofvkDestroyImage
.static long
nvkEndCommandBuffer
(long struct) Unsafe version ofvkEndCommandBuffer()
.static void
nvkEndCommandBuffer
(long struct, long value) Unsafe version ofvkEndCommandBuffer
.static long
nvkFreeCommandBuffers
(long struct) Unsafe version ofvkFreeCommandBuffers()
.static void
nvkFreeCommandBuffers
(long struct, long value) Unsafe version ofvkFreeCommandBuffers
.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
nvkGetDeviceProcAddr
(long struct) Unsafe version ofvkGetDeviceProcAddr()
.static void
nvkGetDeviceProcAddr
(long struct, long value) Unsafe version ofvkGetDeviceProcAddr
.static long
nvkGetImageMemoryRequirements
(long struct) Unsafe version ofvkGetImageMemoryRequirements()
.static void
nvkGetImageMemoryRequirements
(long struct, long value) Unsafe version ofvkGetImageMemoryRequirements
.static long
nvkGetImageSubresourceLayout
(long struct) Unsafe version ofvkGetImageSubresourceLayout()
.static void
nvkGetImageSubresourceLayout
(long struct, long value) Unsafe version ofvkGetImageSubresourceLayout
.static long
nvkGetInstanceProcAddr
(long struct) Unsafe version ofvkGetInstanceProcAddr()
.static void
nvkGetInstanceProcAddr
(long struct, long value) Unsafe version ofvkGetInstanceProcAddr
.static long
nvkGetPhysicalDeviceFormatProperties
(long struct) Unsafe version ofvkGetPhysicalDeviceFormatProperties()
.static void
nvkGetPhysicalDeviceFormatProperties
(long struct, long value) Unsafe version ofvkGetPhysicalDeviceFormatProperties
.static long
nvkGetPhysicalDeviceImageFormatProperties
(long struct) Unsafe version ofvkGetPhysicalDeviceImageFormatProperties()
.static void
nvkGetPhysicalDeviceImageFormatProperties
(long struct, long value) Unsafe version ofvkGetPhysicalDeviceImageFormatProperties
.static long
nvkGetPhysicalDeviceMemoryProperties
(long struct) Unsafe version ofvkGetPhysicalDeviceMemoryProperties()
.static void
nvkGetPhysicalDeviceMemoryProperties
(long struct, long value) Unsafe version ofvkGetPhysicalDeviceMemoryProperties
.static long
nvkMapMemory
(long struct) Unsafe version ofvkMapMemory()
.static void
nvkMapMemory
(long struct, long value) Unsafe version ofvkMapMemory
.static long
nvkQueueSubmit
(long struct) Unsafe version ofvkQueueSubmit()
.static void
nvkQueueSubmit
(long struct, long value) Unsafe version ofvkQueueSubmit
.static long
nvkQueueWaitIdle
(long struct) Unsafe version ofvkQueueWaitIdle()
.static void
nvkQueueWaitIdle
(long struct, long value) Unsafe version ofvkQueueWaitIdle
.static long
nvkUnmapMemory
(long struct) Unsafe version ofvkUnmapMemory()
.static void
nvkUnmapMemory
(long struct, long value) Unsafe version ofvkUnmapMemory
.static long
nvkWaitForFences
(long struct) Unsafe version ofvkWaitForFences()
.static void
nvkWaitForFences
(long struct, long value) Unsafe version ofvkWaitForFences
.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.set
(ktxVulkanFunctions 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.int
sizeof()
Returnssizeof(struct)
.static void
validate
(long struct) Validates pointer members that should not beNULL
.long
vkAllocateCommandBuffers
(long value) Sets the specified value to thevkAllocateCommandBuffers
field.long
vkAllocateMemory
(long value) Sets the specified value to thevkAllocateMemory
field.long
vkBeginCommandBuffer
(long value) Sets the specified value to thevkBeginCommandBuffer
field.long
vkBindBufferMemory
(long value) Sets the specified value to thevkBindBufferMemory
field.long
vkBindImageMemory
(long value) Sets the specified value to thevkBindImageMemory
field.long
vkCmdBlitImage
(long value) Sets the specified value to thevkCmdBlitImage
field.long
vkCmdCopyBufferToImage
(long value) Sets the specified value to thevkCmdCopyBufferToImage
field.long
vkCmdPipelineBarrier
(long value) Sets the specified value to thevkCmdPipelineBarrier
field.long
vkCreateBuffer
(long value) Sets the specified value to thevkCreateBuffer
field.long
vkCreateFence
(long value) Sets the specified value to thevkCreateFence
field.long
vkCreateImage
(long value) Sets the specified value to thevkCreateImage
field.long
vkDestroyBuffer
(long value) Sets the specified value to thevkDestroyBuffer
field.long
vkDestroyFence
(long value) Sets the specified value to thevkDestroyFence
field.long
vkDestroyImage
(long value) Sets the specified value to thevkDestroyImage
field.long
vkEndCommandBuffer
(long value) Sets the specified value to thevkEndCommandBuffer
field.long
vkFreeCommandBuffers
(long value) Sets the specified value to thevkFreeCommandBuffers
field.long
vkFreeMemory
(long value) Sets the specified value to thevkFreeMemory
field.long
vkGetBufferMemoryRequirements
(long value) Sets the specified value to thevkGetBufferMemoryRequirements
field.long
vkGetDeviceProcAddr
(long value) Sets the specified value to thevkGetDeviceProcAddr
field.long
vkGetImageMemoryRequirements
(long value) Sets the specified value to thevkGetImageMemoryRequirements
field.long
vkGetImageSubresourceLayout
(long value) Sets the specified value to thevkGetImageSubresourceLayout
field.long
vkGetInstanceProcAddr
(long value) Sets the specified value to thevkGetInstanceProcAddr
field.long
vkGetPhysicalDeviceFormatProperties
(long value) Sets the specified value to thevkGetPhysicalDeviceFormatProperties
field.long
vkGetPhysicalDeviceImageFormatProperties
(long value) Sets the specified value to thevkGetPhysicalDeviceImageFormatProperties
field.long
vkGetPhysicalDeviceMemoryProperties
(long value) Sets the specified value to thevkGetPhysicalDeviceMemoryProperties
field.long
vkMapMemory
(long value) Sets the specified value to thevkMapMemory
field.long
vkQueueSubmit
(long value) Sets the specified value to thevkQueueSubmit
field.long
vkQueueWaitIdle
(long value) Sets the specified value to thevkQueueWaitIdle
field.long
vkUnmapMemory
(long value) Sets the specified value to thevkUnmapMemory
field.long
vkWaitForFences
(long value) Sets the specified value to thevkWaitForFences
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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. -
VKALLOCATECOMMANDBUFFERS
public static final int VKALLOCATECOMMANDBUFFERSThe struct member offsets. -
VKALLOCATEMEMORY
public static final int VKALLOCATEMEMORYThe struct member offsets. -
VKBEGINCOMMANDBUFFER
public static final int VKBEGINCOMMANDBUFFERThe struct member offsets. -
VKBINDBUFFERMEMORY
public static final int VKBINDBUFFERMEMORYThe struct member offsets. -
VKBINDIMAGEMEMORY
public static final int VKBINDIMAGEMEMORYThe struct member offsets. -
VKCMDBLITIMAGE
public static final int VKCMDBLITIMAGEThe struct member offsets. -
VKCMDCOPYBUFFERTOIMAGE
public static final int VKCMDCOPYBUFFERTOIMAGEThe struct member offsets. -
VKCMDPIPELINEBARRIER
public static final int VKCMDPIPELINEBARRIERThe struct member offsets. -
VKCREATEIMAGE
public static final int VKCREATEIMAGEThe struct member offsets. -
VKDESTROYIMAGE
public static final int VKDESTROYIMAGEThe struct member offsets. -
VKCREATEBUFFER
public static final int VKCREATEBUFFERThe struct member offsets. -
VKDESTROYBUFFER
public static final int VKDESTROYBUFFERThe struct member offsets. -
VKCREATEFENCE
public static final int VKCREATEFENCEThe struct member offsets. -
VKDESTROYFENCE
public static final int VKDESTROYFENCEThe struct member offsets. -
VKENDCOMMANDBUFFER
public static final int VKENDCOMMANDBUFFERThe struct member offsets. -
VKFREECOMMANDBUFFERS
public static final int VKFREECOMMANDBUFFERSThe struct member offsets. -
VKFREEMEMORY
public static final int VKFREEMEMORYThe struct member offsets. -
VKGETBUFFERMEMORYREQUIREMENTS
public static final int VKGETBUFFERMEMORYREQUIREMENTSThe struct member offsets. -
VKGETIMAGEMEMORYREQUIREMENTS
public static final int VKGETIMAGEMEMORYREQUIREMENTSThe struct member offsets. -
VKGETIMAGESUBRESOURCELAYOUT
public static final int VKGETIMAGESUBRESOURCELAYOUTThe struct member offsets. -
VKGETPHYSICALDEVICEIMAGEFORMATPROPERTIES
public static final int VKGETPHYSICALDEVICEIMAGEFORMATPROPERTIESThe struct member offsets. -
VKGETPHYSICALDEVICEFORMATPROPERTIES
public static final int VKGETPHYSICALDEVICEFORMATPROPERTIESThe struct member offsets. -
VKGETPHYSICALDEVICEMEMORYPROPERTIES
public static final int VKGETPHYSICALDEVICEMEMORYPROPERTIESThe struct member offsets. -
VKMAPMEMORY
public static final int VKMAPMEMORYThe struct member offsets. -
VKQUEUESUBMIT
public static final int VKQUEUESUBMITThe struct member offsets. -
VKQUEUEWAITIDLE
public static final int VKQUEUEWAITIDLEThe struct member offsets. -
VKUNMAPMEMORY
public static final int VKUNMAPMEMORYThe struct member offsets. -
VKWAITFORFENCES
public static final int VKWAITFORFENCESThe struct member offsets.
-
-
Constructor Details
-
ktxVulkanFunctions
Creates aktxVulkanFunctions
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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<ktxVulkanFunctions>
-
vkGetInstanceProcAddr
public long vkGetInstanceProcAddr()- Returns:
- the value of the
vkGetInstanceProcAddr
field.
-
vkGetDeviceProcAddr
public long vkGetDeviceProcAddr()- Returns:
- the value of the
vkGetDeviceProcAddr
field.
-
vkAllocateCommandBuffers
public long vkAllocateCommandBuffers()- Returns:
- the value of the
vkAllocateCommandBuffers
field.
-
vkAllocateMemory
public long vkAllocateMemory()- Returns:
- the value of the
vkAllocateMemory
field.
-
vkBeginCommandBuffer
public long vkBeginCommandBuffer()- Returns:
- the value of the
vkBeginCommandBuffer
field.
-
vkBindBufferMemory
public long vkBindBufferMemory()- Returns:
- the value of the
vkBindBufferMemory
field.
-
vkBindImageMemory
public long vkBindImageMemory()- Returns:
- the value of the
vkBindImageMemory
field.
-
vkCmdBlitImage
public long vkCmdBlitImage()- Returns:
- the value of the
vkCmdBlitImage
field.
-
vkCmdCopyBufferToImage
public long vkCmdCopyBufferToImage()- Returns:
- the value of the
vkCmdCopyBufferToImage
field.
-
vkCmdPipelineBarrier
public long vkCmdPipelineBarrier()- Returns:
- the value of the
vkCmdPipelineBarrier
field.
-
vkCreateImage
public long vkCreateImage()- Returns:
- the value of the
vkCreateImage
field.
-
vkDestroyImage
public long vkDestroyImage()- Returns:
- the value of the
vkDestroyImage
field.
-
vkCreateBuffer
public long vkCreateBuffer()- Returns:
- the value of the
vkCreateBuffer
field.
-
vkDestroyBuffer
public long vkDestroyBuffer()- Returns:
- the value of the
vkDestroyBuffer
field.
-
vkCreateFence
public long vkCreateFence()- Returns:
- the value of the
vkCreateFence
field.
-
vkDestroyFence
public long vkDestroyFence()- Returns:
- the value of the
vkDestroyFence
field.
-
vkEndCommandBuffer
public long vkEndCommandBuffer()- Returns:
- the value of the
vkEndCommandBuffer
field.
-
vkFreeCommandBuffers
public long vkFreeCommandBuffers()- Returns:
- the value of the
vkFreeCommandBuffers
field.
-
vkFreeMemory
public long vkFreeMemory()- Returns:
- the value of the
vkFreeMemory
field.
-
vkGetBufferMemoryRequirements
public long vkGetBufferMemoryRequirements()- Returns:
- the value of the
vkGetBufferMemoryRequirements
field.
-
vkGetImageMemoryRequirements
public long vkGetImageMemoryRequirements()- Returns:
- the value of the
vkGetImageMemoryRequirements
field.
-
vkGetImageSubresourceLayout
public long vkGetImageSubresourceLayout()- Returns:
- the value of the
vkGetImageSubresourceLayout
field.
-
vkGetPhysicalDeviceImageFormatProperties
public long vkGetPhysicalDeviceImageFormatProperties()- Returns:
- the value of the
vkGetPhysicalDeviceImageFormatProperties
field.
-
vkGetPhysicalDeviceFormatProperties
public long vkGetPhysicalDeviceFormatProperties()- Returns:
- the value of the
vkGetPhysicalDeviceFormatProperties
field.
-
vkGetPhysicalDeviceMemoryProperties
public long vkGetPhysicalDeviceMemoryProperties()- Returns:
- the value of the
vkGetPhysicalDeviceMemoryProperties
field.
-
vkMapMemory
public long vkMapMemory()- Returns:
- the value of the
vkMapMemory
field.
-
vkQueueSubmit
public long vkQueueSubmit()- Returns:
- the value of the
vkQueueSubmit
field.
-
vkQueueWaitIdle
public long vkQueueWaitIdle()- Returns:
- the value of the
vkQueueWaitIdle
field.
-
vkUnmapMemory
public long vkUnmapMemory()- Returns:
- the value of the
vkUnmapMemory
field.
-
vkWaitForFences
public long vkWaitForFences()- Returns:
- the value of the
vkWaitForFences
field.
-
vkGetInstanceProcAddr
Sets the specified value to thevkGetInstanceProcAddr
field. -
vkGetDeviceProcAddr
Sets the specified value to thevkGetDeviceProcAddr
field. -
vkAllocateCommandBuffers
Sets the specified value to thevkAllocateCommandBuffers
field. -
vkAllocateMemory
Sets the specified value to thevkAllocateMemory
field. -
vkBeginCommandBuffer
Sets the specified value to thevkBeginCommandBuffer
field. -
vkBindBufferMemory
Sets the specified value to thevkBindBufferMemory
field. -
vkBindImageMemory
Sets the specified value to thevkBindImageMemory
field. -
vkCmdBlitImage
Sets the specified value to thevkCmdBlitImage
field. -
vkCmdCopyBufferToImage
Sets the specified value to thevkCmdCopyBufferToImage
field. -
vkCmdPipelineBarrier
Sets the specified value to thevkCmdPipelineBarrier
field. -
vkCreateImage
Sets the specified value to thevkCreateImage
field. -
vkDestroyImage
Sets the specified value to thevkDestroyImage
field. -
vkCreateBuffer
Sets the specified value to thevkCreateBuffer
field. -
vkDestroyBuffer
Sets the specified value to thevkDestroyBuffer
field. -
vkCreateFence
Sets the specified value to thevkCreateFence
field. -
vkDestroyFence
Sets the specified value to thevkDestroyFence
field. -
vkEndCommandBuffer
Sets the specified value to thevkEndCommandBuffer
field. -
vkFreeCommandBuffers
Sets the specified value to thevkFreeCommandBuffers
field. -
vkFreeMemory
Sets the specified value to thevkFreeMemory
field. -
vkGetBufferMemoryRequirements
Sets the specified value to thevkGetBufferMemoryRequirements
field. -
vkGetImageMemoryRequirements
Sets the specified value to thevkGetImageMemoryRequirements
field. -
vkGetImageSubresourceLayout
Sets the specified value to thevkGetImageSubresourceLayout
field. -
vkGetPhysicalDeviceImageFormatProperties
Sets the specified value to thevkGetPhysicalDeviceImageFormatProperties
field. -
vkGetPhysicalDeviceFormatProperties
Sets the specified value to thevkGetPhysicalDeviceFormatProperties
field. -
vkGetPhysicalDeviceMemoryProperties
Sets the specified value to thevkGetPhysicalDeviceMemoryProperties
field. -
vkMapMemory
Sets the specified value to thevkMapMemory
field. -
vkQueueSubmit
Sets the specified value to thevkQueueSubmit
field. -
vkQueueWaitIdle
Sets the specified value to thevkQueueWaitIdle
field. -
vkUnmapMemory
Sets the specified value to thevkUnmapMemory
field. -
vkWaitForFences
Sets the specified value to thevkWaitForFences
field. -
set
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. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newktxVulkanFunctions
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newktxVulkanFunctions
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newktxVulkanFunctions
instance allocated withBufferUtils
. -
create
Returns a newktxVulkanFunctions
instance for the specified memory address. -
createSafe
-
malloc
Returns a newktxVulkanFunctions.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newktxVulkanFunctions.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newktxVulkanFunctions.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aktxVulkanFunctions.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newktxVulkanFunctions
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newktxVulkanFunctions
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newktxVulkanFunctions.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newktxVulkanFunctions.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- 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()
. -
nvkAllocateCommandBuffers
public static long nvkAllocateCommandBuffers(long struct) Unsafe version ofvkAllocateCommandBuffers()
. -
nvkAllocateMemory
public static long nvkAllocateMemory(long struct) Unsafe version ofvkAllocateMemory()
. -
nvkBeginCommandBuffer
public static long nvkBeginCommandBuffer(long struct) Unsafe version ofvkBeginCommandBuffer()
. -
nvkBindBufferMemory
public static long nvkBindBufferMemory(long struct) Unsafe version ofvkBindBufferMemory()
. -
nvkBindImageMemory
public static long nvkBindImageMemory(long struct) Unsafe version ofvkBindImageMemory()
. -
nvkCmdBlitImage
public static long nvkCmdBlitImage(long struct) Unsafe version ofvkCmdBlitImage()
. -
nvkCmdCopyBufferToImage
public static long nvkCmdCopyBufferToImage(long struct) Unsafe version ofvkCmdCopyBufferToImage()
. -
nvkCmdPipelineBarrier
public static long nvkCmdPipelineBarrier(long struct) Unsafe version ofvkCmdPipelineBarrier()
. -
nvkCreateImage
public static long nvkCreateImage(long struct) Unsafe version ofvkCreateImage()
. -
nvkDestroyImage
public static long nvkDestroyImage(long struct) Unsafe version ofvkDestroyImage()
. -
nvkCreateBuffer
public static long nvkCreateBuffer(long struct) Unsafe version ofvkCreateBuffer()
. -
nvkDestroyBuffer
public static long nvkDestroyBuffer(long struct) Unsafe version ofvkDestroyBuffer()
. -
nvkCreateFence
public static long nvkCreateFence(long struct) Unsafe version ofvkCreateFence()
. -
nvkDestroyFence
public static long nvkDestroyFence(long struct) Unsafe version ofvkDestroyFence()
. -
nvkEndCommandBuffer
public static long nvkEndCommandBuffer(long struct) Unsafe version ofvkEndCommandBuffer()
. -
nvkFreeCommandBuffers
public static long nvkFreeCommandBuffers(long struct) Unsafe version ofvkFreeCommandBuffers()
. -
nvkFreeMemory
public static long nvkFreeMemory(long struct) Unsafe version ofvkFreeMemory()
. -
nvkGetBufferMemoryRequirements
public static long nvkGetBufferMemoryRequirements(long struct) Unsafe version ofvkGetBufferMemoryRequirements()
. -
nvkGetImageMemoryRequirements
public static long nvkGetImageMemoryRequirements(long struct) Unsafe version ofvkGetImageMemoryRequirements()
. -
nvkGetImageSubresourceLayout
public static long nvkGetImageSubresourceLayout(long struct) Unsafe version ofvkGetImageSubresourceLayout()
. -
nvkGetPhysicalDeviceImageFormatProperties
public static long nvkGetPhysicalDeviceImageFormatProperties(long struct) Unsafe version ofvkGetPhysicalDeviceImageFormatProperties()
. -
nvkGetPhysicalDeviceFormatProperties
public static long nvkGetPhysicalDeviceFormatProperties(long struct) Unsafe version ofvkGetPhysicalDeviceFormatProperties()
. -
nvkGetPhysicalDeviceMemoryProperties
public static long nvkGetPhysicalDeviceMemoryProperties(long struct) Unsafe version ofvkGetPhysicalDeviceMemoryProperties()
. -
nvkMapMemory
public static long nvkMapMemory(long struct) Unsafe version ofvkMapMemory()
. -
nvkQueueSubmit
public static long nvkQueueSubmit(long struct) Unsafe version ofvkQueueSubmit()
. -
nvkQueueWaitIdle
public static long nvkQueueWaitIdle(long struct) Unsafe version ofvkQueueWaitIdle()
. -
nvkUnmapMemory
public static long nvkUnmapMemory(long struct) Unsafe version ofvkUnmapMemory()
. -
nvkWaitForFences
public static long nvkWaitForFences(long struct) Unsafe version ofvkWaitForFences()
. -
nvkGetInstanceProcAddr
public static void nvkGetInstanceProcAddr(long struct, long value) Unsafe version ofvkGetInstanceProcAddr
. -
nvkGetDeviceProcAddr
public static void nvkGetDeviceProcAddr(long struct, long value) Unsafe version ofvkGetDeviceProcAddr
. -
nvkAllocateCommandBuffers
public static void nvkAllocateCommandBuffers(long struct, long value) Unsafe version ofvkAllocateCommandBuffers
. -
nvkAllocateMemory
public static void nvkAllocateMemory(long struct, long value) Unsafe version ofvkAllocateMemory
. -
nvkBeginCommandBuffer
public static void nvkBeginCommandBuffer(long struct, long value) Unsafe version ofvkBeginCommandBuffer
. -
nvkBindBufferMemory
public static void nvkBindBufferMemory(long struct, long value) Unsafe version ofvkBindBufferMemory
. -
nvkBindImageMemory
public static void nvkBindImageMemory(long struct, long value) Unsafe version ofvkBindImageMemory
. -
nvkCmdBlitImage
public static void nvkCmdBlitImage(long struct, long value) Unsafe version ofvkCmdBlitImage
. -
nvkCmdCopyBufferToImage
public static void nvkCmdCopyBufferToImage(long struct, long value) Unsafe version ofvkCmdCopyBufferToImage
. -
nvkCmdPipelineBarrier
public static void nvkCmdPipelineBarrier(long struct, long value) Unsafe version ofvkCmdPipelineBarrier
. -
nvkCreateImage
public static void nvkCreateImage(long struct, long value) Unsafe version ofvkCreateImage
. -
nvkDestroyImage
public static void nvkDestroyImage(long struct, long value) Unsafe version ofvkDestroyImage
. -
nvkCreateBuffer
public static void nvkCreateBuffer(long struct, long value) Unsafe version ofvkCreateBuffer
. -
nvkDestroyBuffer
public static void nvkDestroyBuffer(long struct, long value) Unsafe version ofvkDestroyBuffer
. -
nvkCreateFence
public static void nvkCreateFence(long struct, long value) Unsafe version ofvkCreateFence
. -
nvkDestroyFence
public static void nvkDestroyFence(long struct, long value) Unsafe version ofvkDestroyFence
. -
nvkEndCommandBuffer
public static void nvkEndCommandBuffer(long struct, long value) Unsafe version ofvkEndCommandBuffer
. -
nvkFreeCommandBuffers
public static void nvkFreeCommandBuffers(long struct, long value) Unsafe version ofvkFreeCommandBuffers
. -
nvkFreeMemory
public static void nvkFreeMemory(long struct, long value) Unsafe version ofvkFreeMemory
. -
nvkGetBufferMemoryRequirements
public static void nvkGetBufferMemoryRequirements(long struct, long value) Unsafe version ofvkGetBufferMemoryRequirements
. -
nvkGetImageMemoryRequirements
public static void nvkGetImageMemoryRequirements(long struct, long value) Unsafe version ofvkGetImageMemoryRequirements
. -
nvkGetImageSubresourceLayout
public static void nvkGetImageSubresourceLayout(long struct, long value) Unsafe version ofvkGetImageSubresourceLayout
. -
nvkGetPhysicalDeviceImageFormatProperties
public static void nvkGetPhysicalDeviceImageFormatProperties(long struct, long value) Unsafe version ofvkGetPhysicalDeviceImageFormatProperties
. -
nvkGetPhysicalDeviceFormatProperties
public static void nvkGetPhysicalDeviceFormatProperties(long struct, long value) Unsafe version ofvkGetPhysicalDeviceFormatProperties
. -
nvkGetPhysicalDeviceMemoryProperties
public static void nvkGetPhysicalDeviceMemoryProperties(long struct, long value) Unsafe version ofvkGetPhysicalDeviceMemoryProperties
. -
nvkMapMemory
public static void nvkMapMemory(long struct, long value) Unsafe version ofvkMapMemory
. -
nvkQueueSubmit
public static void nvkQueueSubmit(long struct, long value) Unsafe version ofvkQueueSubmit
. -
nvkQueueWaitIdle
public static void nvkQueueWaitIdle(long struct, long value) Unsafe version ofvkQueueWaitIdle
. -
nvkUnmapMemory
public static void nvkUnmapMemory(long struct, long value) Unsafe version ofvkUnmapMemory
. -
nvkWaitForFences
public static void nvkWaitForFences(long struct, long value) Unsafe version ofvkWaitForFences
. -
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
-