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.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.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
ConstructorsConstructorDescriptionktxVulkanFunctions(ByteBuffer container) Creates aktxVulkanFunctionsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic ktxVulkanFunctionscalloc()Returns a newktxVulkanFunctionsinstance allocated withmemCalloc.static ktxVulkanFunctions.Buffercalloc(int capacity) Returns a newktxVulkanFunctions.Bufferinstance allocated withmemCalloc.static ktxVulkanFunctions.Buffercalloc(int capacity, MemoryStack stack) Returns a newktxVulkanFunctions.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static ktxVulkanFunctionscalloc(MemoryStack stack) Returns a newktxVulkanFunctionsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static ktxVulkanFunctionscreate()Returns a newktxVulkanFunctionsinstance allocated withBufferUtils.static ktxVulkanFunctions.Buffercreate(int capacity) Returns a newktxVulkanFunctions.Bufferinstance allocated withBufferUtils.static ktxVulkanFunctionscreate(long address) Returns a newktxVulkanFunctionsinstance for the specified memory address.static ktxVulkanFunctions.Buffercreate(long address, int capacity) Create aktxVulkanFunctions.Bufferinstance at the specified memory.static @Nullable ktxVulkanFunctionscreateSafe(long address) static @Nullable ktxVulkanFunctions.BuffercreateSafe(long address, int capacity) static ktxVulkanFunctionsmalloc()Returns a newktxVulkanFunctionsinstance allocated withmemAlloc.static ktxVulkanFunctions.Buffermalloc(int capacity) Returns a newktxVulkanFunctions.Bufferinstance allocated withmemAlloc.static ktxVulkanFunctions.Buffermalloc(int capacity, MemoryStack stack) Returns a newktxVulkanFunctions.Bufferinstance allocated on the specifiedMemoryStack.static ktxVulkanFunctionsmalloc(MemoryStack stack) Returns a newktxVulkanFunctionsinstance allocated on the specifiedMemoryStack.static longnvkAllocateCommandBuffers(long struct) Unsafe version ofvkAllocateCommandBuffers().static voidnvkAllocateCommandBuffers(long struct, long value) Unsafe version ofvkAllocateCommandBuffers.static longnvkAllocateMemory(long struct) Unsafe version ofvkAllocateMemory().static voidnvkAllocateMemory(long struct, long value) Unsafe version ofvkAllocateMemory.static longnvkBeginCommandBuffer(long struct) Unsafe version ofvkBeginCommandBuffer().static voidnvkBeginCommandBuffer(long struct, long value) Unsafe version ofvkBeginCommandBuffer.static longnvkBindBufferMemory(long struct) Unsafe version ofvkBindBufferMemory().static voidnvkBindBufferMemory(long struct, long value) Unsafe version ofvkBindBufferMemory.static longnvkBindImageMemory(long struct) Unsafe version ofvkBindImageMemory().static voidnvkBindImageMemory(long struct, long value) Unsafe version ofvkBindImageMemory.static longnvkCmdBlitImage(long struct) Unsafe version ofvkCmdBlitImage().static voidnvkCmdBlitImage(long struct, long value) Unsafe version ofvkCmdBlitImage.static longnvkCmdCopyBufferToImage(long struct) Unsafe version ofvkCmdCopyBufferToImage().static voidnvkCmdCopyBufferToImage(long struct, long value) Unsafe version ofvkCmdCopyBufferToImage.static longnvkCmdPipelineBarrier(long struct) Unsafe version ofvkCmdPipelineBarrier().static voidnvkCmdPipelineBarrier(long struct, long value) Unsafe version ofvkCmdPipelineBarrier.static longnvkCreateBuffer(long struct) Unsafe version ofvkCreateBuffer().static voidnvkCreateBuffer(long struct, long value) Unsafe version ofvkCreateBuffer.static longnvkCreateFence(long struct) Unsafe version ofvkCreateFence().static voidnvkCreateFence(long struct, long value) Unsafe version ofvkCreateFence.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 longnvkDestroyFence(long struct) Unsafe version ofvkDestroyFence().static voidnvkDestroyFence(long struct, long value) Unsafe version ofvkDestroyFence.static longnvkDestroyImage(long struct) Unsafe version ofvkDestroyImage().static voidnvkDestroyImage(long struct, long value) Unsafe version ofvkDestroyImage.static longnvkEndCommandBuffer(long struct) Unsafe version ofvkEndCommandBuffer().static voidnvkEndCommandBuffer(long struct, long value) Unsafe version ofvkEndCommandBuffer.static longnvkFreeCommandBuffers(long struct) Unsafe version ofvkFreeCommandBuffers().static voidnvkFreeCommandBuffers(long struct, long value) Unsafe version ofvkFreeCommandBuffers.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 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 longnvkGetImageSubresourceLayout(long struct) Unsafe version ofvkGetImageSubresourceLayout().static voidnvkGetImageSubresourceLayout(long struct, long value) Unsafe version ofvkGetImageSubresourceLayout.static longnvkGetInstanceProcAddr(long struct) Unsafe version ofvkGetInstanceProcAddr().static voidnvkGetInstanceProcAddr(long struct, long value) Unsafe version ofvkGetInstanceProcAddr.static longnvkGetPhysicalDeviceFormatProperties(long struct) Unsafe version ofvkGetPhysicalDeviceFormatProperties().static voidnvkGetPhysicalDeviceFormatProperties(long struct, long value) Unsafe version ofvkGetPhysicalDeviceFormatProperties.static longnvkGetPhysicalDeviceImageFormatProperties(long struct) Unsafe version ofvkGetPhysicalDeviceImageFormatProperties().static voidnvkGetPhysicalDeviceImageFormatProperties(long struct, long value) Unsafe version ofvkGetPhysicalDeviceImageFormatProperties.static longnvkGetPhysicalDeviceMemoryProperties(long struct) Unsafe version ofvkGetPhysicalDeviceMemoryProperties().static voidnvkGetPhysicalDeviceMemoryProperties(long struct, long value) Unsafe version ofvkGetPhysicalDeviceMemoryProperties.static longnvkMapMemory(long struct) Unsafe version ofvkMapMemory().static voidnvkMapMemory(long struct, long value) Unsafe version ofvkMapMemory.static longnvkQueueSubmit(long struct) Unsafe version ofvkQueueSubmit().static voidnvkQueueSubmit(long struct, long value) Unsafe version ofvkQueueSubmit.static longnvkQueueWaitIdle(long struct) Unsafe version ofvkQueueWaitIdle().static voidnvkQueueWaitIdle(long struct, long value) Unsafe version ofvkQueueWaitIdle.static longnvkUnmapMemory(long struct) Unsafe version ofvkUnmapMemory().static voidnvkUnmapMemory(long struct, long value) Unsafe version ofvkUnmapMemory.static longnvkWaitForFences(long struct) Unsafe version ofvkWaitForFences().static voidnvkWaitForFences(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.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.longvkAllocateCommandBuffers(long value) Sets the specified value to thevkAllocateCommandBuffersfield.longvkAllocateMemory(long value) Sets the specified value to thevkAllocateMemoryfield.longvkBeginCommandBuffer(long value) Sets the specified value to thevkBeginCommandBufferfield.longvkBindBufferMemory(long value) Sets the specified value to thevkBindBufferMemoryfield.longvkBindImageMemory(long value) Sets the specified value to thevkBindImageMemoryfield.longvkCmdBlitImage(long value) Sets the specified value to thevkCmdBlitImagefield.longvkCmdCopyBufferToImage(long value) Sets the specified value to thevkCmdCopyBufferToImagefield.longvkCmdPipelineBarrier(long value) Sets the specified value to thevkCmdPipelineBarrierfield.longvkCreateBuffer(long value) Sets the specified value to thevkCreateBufferfield.longvkCreateFence(long value) Sets the specified value to thevkCreateFencefield.longvkCreateImage(long value) Sets the specified value to thevkCreateImagefield.longvkDestroyBuffer(long value) Sets the specified value to thevkDestroyBufferfield.longvkDestroyFence(long value) Sets the specified value to thevkDestroyFencefield.longvkDestroyImage(long value) Sets the specified value to thevkDestroyImagefield.longvkEndCommandBuffer(long value) Sets the specified value to thevkEndCommandBufferfield.longvkFreeCommandBuffers(long value) Sets the specified value to thevkFreeCommandBuffersfield.longvkFreeMemory(long value) Sets the specified value to thevkFreeMemoryfield.longvkGetBufferMemoryRequirements(long value) Sets the specified value to thevkGetBufferMemoryRequirementsfield.longvkGetDeviceProcAddr(long value) Sets the specified value to thevkGetDeviceProcAddrfield.longvkGetImageMemoryRequirements(long value) Sets the specified value to thevkGetImageMemoryRequirementsfield.longvkGetImageSubresourceLayout(long value) Sets the specified value to thevkGetImageSubresourceLayoutfield.longvkGetInstanceProcAddr(long value) Sets the specified value to thevkGetInstanceProcAddrfield.longvkGetPhysicalDeviceFormatProperties(long value) Sets the specified value to thevkGetPhysicalDeviceFormatPropertiesfield.longvkGetPhysicalDeviceImageFormatProperties(long value) Sets the specified value to thevkGetPhysicalDeviceImageFormatPropertiesfield.longvkGetPhysicalDeviceMemoryProperties(long value) Sets the specified value to thevkGetPhysicalDeviceMemoryPropertiesfield.longvkMapMemory(long value) Sets the specified value to thevkMapMemoryfield.longvkQueueSubmit(long value) Sets the specified value to thevkQueueSubmitfield.longvkQueueWaitIdle(long value) Sets the specified value to thevkQueueWaitIdlefield.longvkUnmapMemory(long value) Sets the specified value to thevkUnmapMemoryfield.longvkWaitForFences(long value) Sets the specified value to thevkWaitForFencesfield.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. -
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 aktxVulkanFunctionsinstance 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<ktxVulkanFunctions>
-
vkGetInstanceProcAddr
public long vkGetInstanceProcAddr()- Returns:
- the value of the
vkGetInstanceProcAddrfield.
-
vkGetDeviceProcAddr
public long vkGetDeviceProcAddr()- Returns:
- the value of the
vkGetDeviceProcAddrfield.
-
vkAllocateCommandBuffers
public long vkAllocateCommandBuffers()- Returns:
- the value of the
vkAllocateCommandBuffersfield.
-
vkAllocateMemory
public long vkAllocateMemory()- Returns:
- the value of the
vkAllocateMemoryfield.
-
vkBeginCommandBuffer
public long vkBeginCommandBuffer()- Returns:
- the value of the
vkBeginCommandBufferfield.
-
vkBindBufferMemory
public long vkBindBufferMemory()- Returns:
- the value of the
vkBindBufferMemoryfield.
-
vkBindImageMemory
public long vkBindImageMemory()- Returns:
- the value of the
vkBindImageMemoryfield.
-
vkCmdBlitImage
public long vkCmdBlitImage()- Returns:
- the value of the
vkCmdBlitImagefield.
-
vkCmdCopyBufferToImage
public long vkCmdCopyBufferToImage()- Returns:
- the value of the
vkCmdCopyBufferToImagefield.
-
vkCmdPipelineBarrier
public long vkCmdPipelineBarrier()- Returns:
- the value of the
vkCmdPipelineBarrierfield.
-
vkCreateImage
public long vkCreateImage()- Returns:
- the value of the
vkCreateImagefield.
-
vkDestroyImage
public long vkDestroyImage()- Returns:
- the value of the
vkDestroyImagefield.
-
vkCreateBuffer
public long vkCreateBuffer()- Returns:
- the value of the
vkCreateBufferfield.
-
vkDestroyBuffer
public long vkDestroyBuffer()- Returns:
- the value of the
vkDestroyBufferfield.
-
vkCreateFence
public long vkCreateFence()- Returns:
- the value of the
vkCreateFencefield.
-
vkDestroyFence
public long vkDestroyFence()- Returns:
- the value of the
vkDestroyFencefield.
-
vkEndCommandBuffer
public long vkEndCommandBuffer()- Returns:
- the value of the
vkEndCommandBufferfield.
-
vkFreeCommandBuffers
public long vkFreeCommandBuffers()- Returns:
- the value of the
vkFreeCommandBuffersfield.
-
vkFreeMemory
public long vkFreeMemory()- Returns:
- the value of the
vkFreeMemoryfield.
-
vkGetBufferMemoryRequirements
public long vkGetBufferMemoryRequirements()- Returns:
- the value of the
vkGetBufferMemoryRequirementsfield.
-
vkGetImageMemoryRequirements
public long vkGetImageMemoryRequirements()- Returns:
- the value of the
vkGetImageMemoryRequirementsfield.
-
vkGetImageSubresourceLayout
public long vkGetImageSubresourceLayout()- Returns:
- the value of the
vkGetImageSubresourceLayoutfield.
-
vkGetPhysicalDeviceImageFormatProperties
public long vkGetPhysicalDeviceImageFormatProperties()- Returns:
- the value of the
vkGetPhysicalDeviceImageFormatPropertiesfield.
-
vkGetPhysicalDeviceFormatProperties
public long vkGetPhysicalDeviceFormatProperties()- Returns:
- the value of the
vkGetPhysicalDeviceFormatPropertiesfield.
-
vkGetPhysicalDeviceMemoryProperties
public long vkGetPhysicalDeviceMemoryProperties()- Returns:
- the value of the
vkGetPhysicalDeviceMemoryPropertiesfield.
-
vkMapMemory
public long vkMapMemory()- Returns:
- the value of the
vkMapMemoryfield.
-
vkQueueSubmit
public long vkQueueSubmit()- Returns:
- the value of the
vkQueueSubmitfield.
-
vkQueueWaitIdle
public long vkQueueWaitIdle()- Returns:
- the value of the
vkQueueWaitIdlefield.
-
vkUnmapMemory
public long vkUnmapMemory()- Returns:
- the value of the
vkUnmapMemoryfield.
-
vkWaitForFences
public long vkWaitForFences()- Returns:
- the value of the
vkWaitForFencesfield.
-
vkGetInstanceProcAddr
Sets the specified value to thevkGetInstanceProcAddrfield. -
vkGetDeviceProcAddr
Sets the specified value to thevkGetDeviceProcAddrfield. -
vkAllocateCommandBuffers
Sets the specified value to thevkAllocateCommandBuffersfield. -
vkAllocateMemory
Sets the specified value to thevkAllocateMemoryfield. -
vkBeginCommandBuffer
Sets the specified value to thevkBeginCommandBufferfield. -
vkBindBufferMemory
Sets the specified value to thevkBindBufferMemoryfield. -
vkBindImageMemory
Sets the specified value to thevkBindImageMemoryfield. -
vkCmdBlitImage
Sets the specified value to thevkCmdBlitImagefield. -
vkCmdCopyBufferToImage
Sets the specified value to thevkCmdCopyBufferToImagefield. -
vkCmdPipelineBarrier
Sets the specified value to thevkCmdPipelineBarrierfield. -
vkCreateImage
Sets the specified value to thevkCreateImagefield. -
vkDestroyImage
Sets the specified value to thevkDestroyImagefield. -
vkCreateBuffer
Sets the specified value to thevkCreateBufferfield. -
vkDestroyBuffer
Sets the specified value to thevkDestroyBufferfield. -
vkCreateFence
Sets the specified value to thevkCreateFencefield. -
vkDestroyFence
Sets the specified value to thevkDestroyFencefield. -
vkEndCommandBuffer
Sets the specified value to thevkEndCommandBufferfield. -
vkFreeCommandBuffers
Sets the specified value to thevkFreeCommandBuffersfield. -
vkFreeMemory
Sets the specified value to thevkFreeMemoryfield. -
vkGetBufferMemoryRequirements
Sets the specified value to thevkGetBufferMemoryRequirementsfield. -
vkGetImageMemoryRequirements
Sets the specified value to thevkGetImageMemoryRequirementsfield. -
vkGetImageSubresourceLayout
Sets the specified value to thevkGetImageSubresourceLayoutfield. -
vkGetPhysicalDeviceImageFormatProperties
Sets the specified value to thevkGetPhysicalDeviceImageFormatPropertiesfield. -
vkGetPhysicalDeviceFormatProperties
Sets the specified value to thevkGetPhysicalDeviceFormatPropertiesfield. -
vkGetPhysicalDeviceMemoryProperties
Sets the specified value to thevkGetPhysicalDeviceMemoryPropertiesfield. -
vkMapMemory
Sets the specified value to thevkMapMemoryfield. -
vkQueueSubmit
Sets the specified value to thevkQueueSubmitfield. -
vkQueueWaitIdle
Sets the specified value to thevkQueueWaitIdlefield. -
vkUnmapMemory
Sets the specified value to thevkUnmapMemoryfield. -
vkWaitForFences
Sets the specified value to thevkWaitForFencesfield. -
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 newktxVulkanFunctionsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newktxVulkanFunctionsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newktxVulkanFunctionsinstance allocated withBufferUtils. -
create
Returns a newktxVulkanFunctionsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newktxVulkanFunctions.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newktxVulkanFunctions.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newktxVulkanFunctions.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aktxVulkanFunctions.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newktxVulkanFunctionsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newktxVulkanFunctionsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newktxVulkanFunctions.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newktxVulkanFunctions.Bufferinstance allocated on the specifiedMemoryStackand 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
-