public static class VkImageBlit.Buffer extends org.lwjgl.system.StructBuffer<VkImageBlit,VkImageBlit.Buffer> implements org.lwjgl.system.NativeResource
VkImageBlit structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkImageBlit.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkOffset3D.Buffer |
dstOffsets()
Returns a
VkOffset3D.Buffer view of the dstOffsets field. |
VkImageBlit.Buffer |
dstOffsets(java.util.function.Consumer<VkOffset3D.Buffer> consumer)
Passes the
dstOffsets field to the specified Consumer. |
VkOffset3D |
dstOffsets(int index)
Returns a
VkOffset3D view of the struct at the specified index of the dstOffsets field. |
VkImageBlit.Buffer |
dstOffsets(int index,
java.util.function.Consumer<VkOffset3D> consumer)
Passes the element at
index of the dstOffsets field to the specified Consumer. |
VkImageBlit.Buffer |
dstOffsets(int index,
VkOffset3D value)
Copies the specified
VkOffset3D at the specified index of the dstOffsets field. |
VkImageBlit.Buffer |
dstOffsets(VkOffset3D.Buffer value)
Copies the specified
VkOffset3D.Buffer to the dstOffsets field. |
VkImageSubresourceLayers |
dstSubresource()
Returns a
VkImageSubresourceLayers view of the dstSubresource field. |
VkImageBlit.Buffer |
dstSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
Passes the
dstSubresource field to the specified Consumer. |
VkImageBlit.Buffer |
dstSubresource(VkImageSubresourceLayers value)
Copies the specified
VkImageSubresourceLayers to the dstSubresource field. |
VkOffset3D.Buffer |
srcOffsets()
Returns a
VkOffset3D.Buffer view of the srcOffsets field. |
VkImageBlit.Buffer |
srcOffsets(java.util.function.Consumer<VkOffset3D.Buffer> consumer)
Passes the
srcOffsets field to the specified Consumer. |
VkOffset3D |
srcOffsets(int index)
Returns a
VkOffset3D view of the struct at the specified index of the srcOffsets field. |
VkImageBlit.Buffer |
srcOffsets(int index,
java.util.function.Consumer<VkOffset3D> consumer)
Passes the element at
index of the srcOffsets field to the specified Consumer. |
VkImageBlit.Buffer |
srcOffsets(int index,
VkOffset3D value)
Copies the specified
VkOffset3D at the specified index of the srcOffsets field. |
VkImageBlit.Buffer |
srcOffsets(VkOffset3D.Buffer value)
Copies the specified
VkOffset3D.Buffer to the srcOffsets field. |
VkImageSubresourceLayers |
srcSubresource()
Returns a
VkImageSubresourceLayers view of the srcSubresource field. |
VkImageBlit.Buffer |
srcSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
Passes the
srcSubresource field to the specified Consumer. |
VkImageBlit.Buffer |
srcSubresource(VkImageSubresourceLayers value)
Copies the specified
VkImageSubresourceLayers to the srcSubresource field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkImageBlit.Buffer instance 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 VkImageBlit.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public VkImageSubresourceLayers srcSubresource()
VkImageSubresourceLayers view of the srcSubresource field.public VkOffset3D.Buffer srcOffsets()
VkOffset3D.Buffer view of the srcOffsets field.public VkOffset3D srcOffsets(int index)
VkOffset3D view of the struct at the specified index of the srcOffsets field.public VkImageSubresourceLayers dstSubresource()
VkImageSubresourceLayers view of the dstSubresource field.public VkOffset3D.Buffer dstOffsets()
VkOffset3D.Buffer view of the dstOffsets field.public VkOffset3D dstOffsets(int index)
VkOffset3D view of the struct at the specified index of the dstOffsets field.public VkImageBlit.Buffer srcSubresource(VkImageSubresourceLayers value)
VkImageSubresourceLayers to the srcSubresource field.public VkImageBlit.Buffer srcSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
srcSubresource field to the specified Consumer.public VkImageBlit.Buffer srcOffsets(VkOffset3D.Buffer value)
VkOffset3D.Buffer to the srcOffsets field.public VkImageBlit.Buffer srcOffsets(int index, VkOffset3D value)
VkOffset3D at the specified index of the srcOffsets field.public VkImageBlit.Buffer srcOffsets(java.util.function.Consumer<VkOffset3D.Buffer> consumer)
srcOffsets field to the specified Consumer.public VkImageBlit.Buffer srcOffsets(int index, java.util.function.Consumer<VkOffset3D> consumer)
index of the srcOffsets field to the specified Consumer.public VkImageBlit.Buffer dstSubresource(VkImageSubresourceLayers value)
VkImageSubresourceLayers to the dstSubresource field.public VkImageBlit.Buffer dstSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
dstSubresource field to the specified Consumer.public VkImageBlit.Buffer dstOffsets(VkOffset3D.Buffer value)
VkOffset3D.Buffer to the dstOffsets field.public VkImageBlit.Buffer dstOffsets(int index, VkOffset3D value)
VkOffset3D at the specified index of the dstOffsets field.public VkImageBlit.Buffer dstOffsets(java.util.function.Consumer<VkOffset3D.Buffer> consumer)
dstOffsets field to the specified Consumer.public VkImageBlit.Buffer dstOffsets(int index, java.util.function.Consumer<VkOffset3D> consumer)
index of the dstOffsets field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.