public static class VkImageCopy.Buffer extends org.lwjgl.system.StructBuffer<VkImageCopy,VkImageCopy.Buffer> implements org.lwjgl.system.NativeResource
VkImageCopy structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkImageCopy.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkOffset3D |
dstOffset()
Returns a
VkOffset3D view of the dstOffset field. |
VkImageCopy.Buffer |
dstOffset(java.util.function.Consumer<VkOffset3D> consumer)
Passes the
dstOffset field to the specified Consumer. |
VkImageCopy.Buffer |
dstOffset(VkOffset3D value)
Copies the specified
VkOffset3D to the dstOffset field. |
VkImageSubresourceLayers |
dstSubresource()
Returns a
VkImageSubresourceLayers view of the dstSubresource field. |
VkImageCopy.Buffer |
dstSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
Passes the
dstSubresource field to the specified Consumer. |
VkImageCopy.Buffer |
dstSubresource(VkImageSubresourceLayers value)
Copies the specified
VkImageSubresourceLayers to the dstSubresource field. |
VkExtent3D |
extent()
Returns a
VkExtent3D view of the extent field. |
VkImageCopy.Buffer |
extent(java.util.function.Consumer<VkExtent3D> consumer)
Passes the
extent field to the specified Consumer. |
VkImageCopy.Buffer |
extent(VkExtent3D value)
Copies the specified
VkExtent3D to the extent field. |
VkOffset3D |
srcOffset()
Returns a
VkOffset3D view of the srcOffset field. |
VkImageCopy.Buffer |
srcOffset(java.util.function.Consumer<VkOffset3D> consumer)
Passes the
srcOffset field to the specified Consumer. |
VkImageCopy.Buffer |
srcOffset(VkOffset3D value)
Copies the specified
VkOffset3D to the srcOffset field. |
VkImageSubresourceLayers |
srcSubresource()
Returns a
VkImageSubresourceLayers view of the srcSubresource field. |
VkImageCopy.Buffer |
srcSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
Passes the
srcSubresource field to the specified Consumer. |
VkImageCopy.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)
VkImageCopy.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 VkImageCopy.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 srcOffset()
VkOffset3D view of the srcOffset field.public VkImageSubresourceLayers dstSubresource()
VkImageSubresourceLayers view of the dstSubresource field.public VkOffset3D dstOffset()
VkOffset3D view of the dstOffset field.public VkExtent3D extent()
VkExtent3D view of the extent field.public VkImageCopy.Buffer srcSubresource(VkImageSubresourceLayers value)
VkImageSubresourceLayers to the srcSubresource field.public VkImageCopy.Buffer srcSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
srcSubresource field to the specified Consumer.public VkImageCopy.Buffer srcOffset(VkOffset3D value)
VkOffset3D to the srcOffset field.public VkImageCopy.Buffer srcOffset(java.util.function.Consumer<VkOffset3D> consumer)
srcOffset field to the specified Consumer.public VkImageCopy.Buffer dstSubresource(VkImageSubresourceLayers value)
VkImageSubresourceLayers to the dstSubresource field.public VkImageCopy.Buffer dstSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
dstSubresource field to the specified Consumer.public VkImageCopy.Buffer dstOffset(VkOffset3D value)
VkOffset3D to the dstOffset field.public VkImageCopy.Buffer dstOffset(java.util.function.Consumer<VkOffset3D> consumer)
dstOffset field to the specified Consumer.public VkImageCopy.Buffer extent(VkExtent3D value)
VkExtent3D to the extent field.public VkImageCopy.Buffer extent(java.util.function.Consumer<VkExtent3D> consumer)
extent field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.