Package org.lwjgl.vulkan
Class VkImageBlit2.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkImageBlit2,VkImageBlit2.Buffer>
-
- org.lwjgl.vulkan.VkImageBlit2.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkImageBlit2>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkImageBlit2KHR.Buffer
- Enclosing class:
- VkImageBlit2
public static class VkImageBlit2.Buffer extends org.lwjgl.system.StructBuffer<VkImageBlit2,VkImageBlit2.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkImageBlit2structs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkImageBlit2.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 byVkImageBlit2.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 Detail
-
sType
public int sType()
- Returns:
- the value of the
VkImageBlit2.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkImageBlit2.pNext()field.
-
srcSubresource
public VkImageSubresourceLayers srcSubresource()
- Returns:
- a
VkImageSubresourceLayersview of theVkImageBlit2.srcSubresource()field.
-
srcOffsets
public VkOffset3D.Buffer srcOffsets()
- Returns:
- a
VkOffset3D.Buffer view of theVkImageBlit2.srcOffsets()field.
-
srcOffsets
public VkOffset3D srcOffsets(int index)
- Returns:
- a
VkOffset3Dview of the struct at the specified index of theVkImageBlit2.srcOffsets()field.
-
dstSubresource
public VkImageSubresourceLayers dstSubresource()
- Returns:
- a
VkImageSubresourceLayersview of theVkImageBlit2.dstSubresource()field.
-
dstOffsets
public VkOffset3D.Buffer dstOffsets()
- Returns:
- a
VkOffset3D.Buffer view of theVkImageBlit2.dstOffsets()field.
-
dstOffsets
public VkOffset3D dstOffsets(int index)
- Returns:
- a
VkOffset3Dview of the struct at the specified index of theVkImageBlit2.dstOffsets()field.
-
sType
public VkImageBlit2.Buffer sType(int value)
Sets the specified value to theVkImageBlit2.sType()field.
-
sType$Default
public VkImageBlit2.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_IMAGE_BLIT_2value to theVkImageBlit2.sType()field.
-
pNext
public VkImageBlit2.Buffer pNext(long value)
Sets the specified value to theVkImageBlit2.pNext()field.
-
pNext
public VkImageBlit2.Buffer pNext(VkCopyCommandTransformInfoQCOM value)
Prepends the specifiedVkCopyCommandTransformInfoQCOMvalue to thepNextchain.
-
srcSubresource
public VkImageBlit2.Buffer srcSubresource(VkImageSubresourceLayers value)
Copies the specifiedVkImageSubresourceLayersto theVkImageBlit2.srcSubresource()field.
-
srcSubresource
public VkImageBlit2.Buffer srcSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
Passes theVkImageBlit2.srcSubresource()field to the specifiedConsumer.
-
srcOffsets
public VkImageBlit2.Buffer srcOffsets(VkOffset3D.Buffer value)
Copies the specifiedVkOffset3D.Bufferto theVkImageBlit2.srcOffsets()field.
-
srcOffsets
public VkImageBlit2.Buffer srcOffsets(int index, VkOffset3D value)
Copies the specifiedVkOffset3Dat the specified index of theVkImageBlit2.srcOffsets()field.
-
srcOffsets
public VkImageBlit2.Buffer srcOffsets(java.util.function.Consumer<VkOffset3D.Buffer> consumer)
Passes theVkImageBlit2.srcOffsets()field to the specifiedConsumer.
-
srcOffsets
public VkImageBlit2.Buffer srcOffsets(int index, java.util.function.Consumer<VkOffset3D> consumer)
-
dstSubresource
public VkImageBlit2.Buffer dstSubresource(VkImageSubresourceLayers value)
Copies the specifiedVkImageSubresourceLayersto theVkImageBlit2.dstSubresource()field.
-
dstSubresource
public VkImageBlit2.Buffer dstSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
Passes theVkImageBlit2.dstSubresource()field to the specifiedConsumer.
-
dstOffsets
public VkImageBlit2.Buffer dstOffsets(VkOffset3D.Buffer value)
Copies the specifiedVkOffset3D.Bufferto theVkImageBlit2.dstOffsets()field.
-
dstOffsets
public VkImageBlit2.Buffer dstOffsets(int index, VkOffset3D value)
Copies the specifiedVkOffset3Dat the specified index of theVkImageBlit2.dstOffsets()field.
-
dstOffsets
public VkImageBlit2.Buffer dstOffsets(java.util.function.Consumer<VkOffset3D.Buffer> consumer)
Passes theVkImageBlit2.dstOffsets()field to the specifiedConsumer.
-
dstOffsets
public VkImageBlit2.Buffer dstOffsets(int index, java.util.function.Consumer<VkOffset3D> consumer)
-
-