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 Pointer
Pointer.Default -
Field Summary
Fields inherited from interface 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 StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 Pointer.Default
equals, hashCodeMethods inherited from interface 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
- Returns:
- the value of the
vkGetInstanceProcAddrfield.
-
vkGetDeviceProcAddr
- Returns:
- the value of the
vkGetDeviceProcAddrfield.
-
vkAllocateCommandBuffers
- Returns:
- the value of the
vkAllocateCommandBuffersfield.
-
vkAllocateMemory
- Returns:
- the value of the
vkAllocateMemoryfield.
-
vkBeginCommandBuffer
- Returns:
- the value of the
vkBeginCommandBufferfield.
-
vkBindBufferMemory
- Returns:
- the value of the
vkBindBufferMemoryfield.
-
vkBindImageMemory
- Returns:
- the value of the
vkBindImageMemoryfield.
-
vkCmdBlitImage
- Returns:
- the value of the
vkCmdBlitImagefield.
-
vkCmdCopyBufferToImage
- Returns:
- the value of the
vkCmdCopyBufferToImagefield.
-
vkCmdPipelineBarrier
- Returns:
- the value of the
vkCmdPipelineBarrierfield.
-
vkCreateImage
- Returns:
- the value of the
vkCreateImagefield.
-
vkDestroyImage
- Returns:
- the value of the
vkDestroyImagefield.
-
vkCreateBuffer
- Returns:
- the value of the
vkCreateBufferfield.
-
vkDestroyBuffer
- Returns:
- the value of the
vkDestroyBufferfield.
-
vkCreateFence
- Returns:
- the value of the
vkCreateFencefield.
-
vkDestroyFence
- Returns:
- the value of the
vkDestroyFencefield.
-
vkEndCommandBuffer
- Returns:
- the value of the
vkEndCommandBufferfield.
-
vkFreeCommandBuffers
- Returns:
- the value of the
vkFreeCommandBuffersfield.
-
vkFreeMemory
- Returns:
- the value of the
vkFreeMemoryfield.
-
vkGetBufferMemoryRequirements
- Returns:
- the value of the
vkGetBufferMemoryRequirementsfield.
-
vkGetImageMemoryRequirements
- Returns:
- the value of the
vkGetImageMemoryRequirementsfield.
-
vkGetImageSubresourceLayout
- Returns:
- the value of the
vkGetImageSubresourceLayoutfield.
-
vkGetPhysicalDeviceImageFormatProperties
@NativeType("PFN_vkGetPhysicalDeviceImageFormatProperties") public long vkGetPhysicalDeviceImageFormatProperties()- Returns:
- the value of the
vkGetPhysicalDeviceImageFormatPropertiesfield.
-
vkGetPhysicalDeviceFormatProperties
@NativeType("PFN_vkGetPhysicalDeviceFormatProperties") public long vkGetPhysicalDeviceFormatProperties()- Returns:
- the value of the
vkGetPhysicalDeviceFormatPropertiesfield.
-
vkGetPhysicalDeviceMemoryProperties
@NativeType("PFN_vkGetPhysicalDeviceMemoryProperties") public long vkGetPhysicalDeviceMemoryProperties()- Returns:
- the value of the
vkGetPhysicalDeviceMemoryPropertiesfield.
-
vkMapMemory
- Returns:
- the value of the
vkMapMemoryfield.
-
vkQueueSubmit
- Returns:
- the value of the
vkQueueSubmitfield.
-
vkQueueWaitIdle
- Returns:
- the value of the
vkQueueWaitIdlefield.
-
vkUnmapMemory
- Returns:
- the value of the
vkUnmapMemoryfield.
-
vkWaitForFences
- Returns:
- the value of the
vkWaitForFencesfield.
-
vkGetInstanceProcAddr
public ktxVulkanFunctions.Buffer vkGetInstanceProcAddr(@NativeType("PFN_vkGetInstanceProcAddr") long value) Sets the specified value to thevkGetInstanceProcAddrfield. -
vkGetDeviceProcAddr
public ktxVulkanFunctions.Buffer vkGetDeviceProcAddr(@NativeType("PFN_vkGetDeviceProcAddr") long value) Sets the specified value to thevkGetDeviceProcAddrfield. -
vkAllocateCommandBuffers
public ktxVulkanFunctions.Buffer vkAllocateCommandBuffers(@NativeType("PFN_vkAllocateCommandBuffers") long value) Sets the specified value to thevkAllocateCommandBuffersfield. -
vkAllocateMemory
Sets the specified value to thevkAllocateMemoryfield. -
vkBeginCommandBuffer
public ktxVulkanFunctions.Buffer vkBeginCommandBuffer(@NativeType("PFN_vkBeginCommandBuffer") long value) Sets the specified value to thevkBeginCommandBufferfield. -
vkBindBufferMemory
public ktxVulkanFunctions.Buffer vkBindBufferMemory(@NativeType("PFN_vkBindBufferMemory") long value) Sets the specified value to thevkBindBufferMemoryfield. -
vkBindImageMemory
Sets the specified value to thevkBindImageMemoryfield. -
vkCmdBlitImage
Sets the specified value to thevkCmdBlitImagefield. -
vkCmdCopyBufferToImage
public ktxVulkanFunctions.Buffer vkCmdCopyBufferToImage(@NativeType("PFN_vkCmdCopyBufferToImage") long value) Sets the specified value to thevkCmdCopyBufferToImagefield. -
vkCmdPipelineBarrier
public ktxVulkanFunctions.Buffer vkCmdPipelineBarrier(@NativeType("PFN_vkCmdPipelineBarrier") long value) 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
public ktxVulkanFunctions.Buffer vkEndCommandBuffer(@NativeType("PFN_vkEndCommandBuffer") long value) Sets the specified value to thevkEndCommandBufferfield. -
vkFreeCommandBuffers
public ktxVulkanFunctions.Buffer vkFreeCommandBuffers(@NativeType("PFN_vkFreeCommandBuffers") long value) Sets the specified value to thevkFreeCommandBuffersfield. -
vkFreeMemory
Sets the specified value to thevkFreeMemoryfield. -
vkGetBufferMemoryRequirements
public ktxVulkanFunctions.Buffer vkGetBufferMemoryRequirements(@NativeType("PFN_vkGetBufferMemoryRequirements") long value) Sets the specified value to thevkGetBufferMemoryRequirementsfield. -
vkGetImageMemoryRequirements
public ktxVulkanFunctions.Buffer vkGetImageMemoryRequirements(@NativeType("PFN_vkGetImageMemoryRequirements") long value) Sets the specified value to thevkGetImageMemoryRequirementsfield. -
vkGetImageSubresourceLayout
public ktxVulkanFunctions.Buffer vkGetImageSubresourceLayout(@NativeType("PFN_vkGetImageSubresourceLayout") long value) Sets the specified value to thevkGetImageSubresourceLayoutfield. -
vkGetPhysicalDeviceImageFormatProperties
public ktxVulkanFunctions.Buffer vkGetPhysicalDeviceImageFormatProperties(@NativeType("PFN_vkGetPhysicalDeviceImageFormatProperties") long value) Sets the specified value to thevkGetPhysicalDeviceImageFormatPropertiesfield. -
vkGetPhysicalDeviceFormatProperties
public ktxVulkanFunctions.Buffer vkGetPhysicalDeviceFormatProperties(@NativeType("PFN_vkGetPhysicalDeviceFormatProperties") long value) Sets the specified value to thevkGetPhysicalDeviceFormatPropertiesfield. -
vkGetPhysicalDeviceMemoryProperties
public ktxVulkanFunctions.Buffer vkGetPhysicalDeviceMemoryProperties(@NativeType("PFN_vkGetPhysicalDeviceMemoryProperties") long value) 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.
-