Package org.lwjgl.util.ktx
Class ktxVulkanFunctions.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<ktxVulkanFunctions.Buffer>
org.lwjgl.system.StructBuffer<ktxVulkanFunctions,ktxVulkanFunctions.Buffer>
org.lwjgl.util.ktx.ktxVulkanFunctions.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<ktxVulkanFunctions>,NativeResource,Pointer
- Enclosing class:
ktxVulkanFunctions
public static class ktxVulkanFunctions.Buffer
extends StructBuffer<ktxVulkanFunctions,ktxVulkanFunctions.Buffer>
implements NativeResource
An array of
ktxVulkanFunctions structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newktxVulkanFunctions.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlongvkAllocateCommandBuffers(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.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newktxVulkanFunctions.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
ktxVulkanFunctions.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
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.
-