public static class VkBufferImageCopy.Buffer extends org.lwjgl.system.StructBuffer<VkBufferImageCopy,VkBufferImageCopy.Buffer> implements org.lwjgl.system.NativeResource
VkBufferImageCopy structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkBufferImageCopy.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
bufferImageHeight()
Returns the value of the
bufferImageHeight field. |
VkBufferImageCopy.Buffer |
bufferImageHeight(int value)
Sets the specified value to the
bufferImageHeight field. |
long |
bufferOffset()
Returns the value of the
bufferOffset field. |
VkBufferImageCopy.Buffer |
bufferOffset(long value)
Sets the specified value to the
bufferOffset field. |
int |
bufferRowLength()
Returns the value of the
bufferRowLength field. |
VkBufferImageCopy.Buffer |
bufferRowLength(int value)
Sets the specified value to the
bufferRowLength field. |
VkExtent3D |
imageExtent()
Returns a
VkExtent3D view of the imageExtent field. |
VkBufferImageCopy.Buffer |
imageExtent(java.util.function.Consumer<VkExtent3D> consumer)
Passes the
imageExtent field to the specified Consumer. |
VkBufferImageCopy.Buffer |
imageExtent(VkExtent3D value)
Copies the specified
VkExtent3D to the imageExtent field. |
VkOffset3D |
imageOffset()
Returns a
VkOffset3D view of the imageOffset field. |
VkBufferImageCopy.Buffer |
imageOffset(java.util.function.Consumer<VkOffset3D> consumer)
Passes the
imageOffset field to the specified Consumer. |
VkBufferImageCopy.Buffer |
imageOffset(VkOffset3D value)
Copies the specified
VkOffset3D to the imageOffset field. |
VkImageSubresourceLayers |
imageSubresource()
Returns a
VkImageSubresourceLayers view of the imageSubresource field. |
VkBufferImageCopy.Buffer |
imageSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
Passes the
imageSubresource field to the specified Consumer. |
VkBufferImageCopy.Buffer |
imageSubresource(VkImageSubresourceLayers value)
Copies the specified
VkImageSubresourceLayers to the imageSubresource field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkBufferImageCopy.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 VkBufferImageCopy.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 long bufferOffset()
bufferOffset field.public int bufferRowLength()
bufferRowLength field.public int bufferImageHeight()
bufferImageHeight field.public VkImageSubresourceLayers imageSubresource()
VkImageSubresourceLayers view of the imageSubresource field.public VkOffset3D imageOffset()
VkOffset3D view of the imageOffset field.public VkExtent3D imageExtent()
VkExtent3D view of the imageExtent field.public VkBufferImageCopy.Buffer bufferOffset(long value)
bufferOffset field.public VkBufferImageCopy.Buffer bufferRowLength(int value)
bufferRowLength field.public VkBufferImageCopy.Buffer bufferImageHeight(int value)
bufferImageHeight field.public VkBufferImageCopy.Buffer imageSubresource(VkImageSubresourceLayers value)
VkImageSubresourceLayers to the imageSubresource field.public VkBufferImageCopy.Buffer imageSubresource(java.util.function.Consumer<VkImageSubresourceLayers> consumer)
imageSubresource field to the specified Consumer.public VkBufferImageCopy.Buffer imageOffset(VkOffset3D value)
VkOffset3D to the imageOffset field.public VkBufferImageCopy.Buffer imageOffset(java.util.function.Consumer<VkOffset3D> consumer)
imageOffset field to the specified Consumer.public VkBufferImageCopy.Buffer imageExtent(VkExtent3D value)
VkExtent3D to the imageExtent field.public VkBufferImageCopy.Buffer imageExtent(java.util.function.Consumer<VkExtent3D> consumer)
imageExtent field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.