bufferRowLength must be 0, or greater than or equal to the width member of imageExtentbufferImageHeight must be 0, or greater than or equal to the height member of imageExtentaspectMask member of imageSubresource must only have a single bit setimageExtent.width must not be 0imageExtent.height must not be 0imageExtent.depth must not be 0imageSubresource must be a valid VkImageSubresourceLayers structureVkExtent3D, VkImageSubresourceLayers, VkOffset3D, CmdCopyBufferToImage, CmdCopyImageToBuffer
struct VkBufferImageCopy {
VkDeviceSize bufferOffset;
uint32_t bufferRowLength;
uint32_t bufferImageHeight;
VkImageSubresourceLayers imageSubresource;
VkOffset3D imageOffset;
VkExtent3D imageExtent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkBufferImageCopy.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUFFERIMAGEHEIGHT
The struct member offsets. |
| public static final int | BUFFEROFFSET
The struct member offsets. |
| public static final int | BUFFERROWLENGTH
The struct member offsets. |
| public static final int | IMAGEEXTENT
The struct member offsets. |
| public static final int | IMAGEOFFSET
The struct member offsets. |
| public static final int | IMAGESUBRESOURCE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkBufferImageCopy(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkBufferImageCopy | |
| public long | bufferOffset()
the offset in bytes from the start of the buffer object where the image data is copied from or to. |
| public VkBufferImageCopy | |
| public int | bufferRowLength()
|
| public VkBufferImageCopy | |
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkBufferImageCopy | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBufferImageCopy. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy. | |
| public static VkBufferImageCopy. | |
| protected VkBufferImageCopy | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy. | create(int
the buffer capacity capacity)Returns a new |
| public static VkBufferImageCopy. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy. | |
| public VkExtent3D | |
| public VkBufferImageCopy | |
| public VkBufferImageCopy | |
| public VkOffset3D | imageOffset()
selects the initial |
| public VkBufferImageCopy | |
| public VkBufferImageCopy | |
| public VkImageSubresourceLayers | imageSubresource()
a |
| public VkBufferImageCopy | imageSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkBufferImageCopy | imageSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkBufferImageCopy | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBufferImageCopy. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy | |
| public static VkBufferImageCopy. | |
| public static VkBufferImageCopy. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static VkExtent3D | |
| public static void | |
| public static VkOffset3D | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public VkBufferImageCopy | set(long bufferOffset, int bufferRowLength, int bufferImageHeight, VkImageSubresourceLayers imageSubresource, VkOffset3D imageOffset, VkExtent3D imageExtent)
Initializes this struct with the specified values. |
| public VkBufferImageCopy | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUFFERIMAGEHEIGHT | back to summary |
|---|---|
| public static final int BUFFERIMAGEHEIGHT The struct member offsets. | |
| BUFFEROFFSET | back to summary |
|---|---|
| public static final int BUFFEROFFSET The struct member offsets. | |
| BUFFERROWLENGTH | back to summary |
|---|---|
| public static final int BUFFERROWLENGTH The struct member offsets. | |
| IMAGEEXTENT | back to summary |
|---|---|
| public static final int IMAGEEXTENT The struct member offsets. | |
| IMAGEOFFSET | back to summary |
|---|---|
| public static final int IMAGEOFFSET The struct member offsets. | |
| IMAGESUBRESOURCE | back to summary |
|---|---|
| public static final int IMAGESUBRESOURCE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkBufferImageCopy | back to summary |
|---|---|
| protected VkBufferImageCopy(long address, ByteBuffer container) | |
| VkBufferImageCopy | back to summary |
|---|---|
| public VkBufferImageCopy(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bufferImageHeight | back to summary |
|---|---|
| public int bufferImageHeight() see
| |
| bufferImageHeight | back to summary |
|---|---|
| public VkBufferImageCopy bufferImageHeight(int value) Sets the specified value to the | |
| bufferOffset | back to summary |
|---|---|
| public long bufferOffset() the offset in bytes from the start of the buffer object where the image data is copied from or to.
| |
| bufferOffset | back to summary |
|---|---|
| public VkBufferImageCopy bufferOffset(long value) Sets the specified value to the | |
| bufferRowLength | back to summary |
|---|---|
| public int bufferRowLength()
| |
| bufferRowLength | back to summary |
|---|---|
| public VkBufferImageCopy bufferRowLength(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkBufferImageCopy calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkBufferImageCopy. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkBufferImageCopy calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkBufferImageCopy. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkBufferImageCopy callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBufferImageCopy callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBufferImageCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBufferImageCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkBufferImageCopy create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkBufferImageCopy create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkBufferImageCopy create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkBufferImageCopy. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkBufferImageCopy. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkBufferImageCopy createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkBufferImageCopy. Like
| |
| imageExtent | back to summary |
|---|---|
| public VkExtent3D imageExtent() the size in texels of the image to copy in | |
| imageExtent | back to summary |
|---|---|
| public VkBufferImageCopy imageExtent(VkExtent3D value) Copies the specified | |
| imageExtent | back to summary |
|---|---|
| public VkBufferImageCopy imageExtent(Consumer<VkExtent3D> consumer) Passes the | |
| imageOffset | back to summary |
|---|---|
| public VkOffset3D imageOffset() selects the initial | |
| imageOffset | back to summary |
|---|---|
| public VkBufferImageCopy imageOffset(VkOffset3D value) Copies the specified | |
| imageOffset | back to summary |
|---|---|
| public VkBufferImageCopy imageOffset(Consumer<VkOffset3D> consumer) Passes the | |
| imageSubresource | back to summary |
|---|---|
| public VkImageSubresourceLayers imageSubresource() a | |
| imageSubresource | back to summary |
|---|---|
| public VkBufferImageCopy imageSubresource(VkImageSubresourceLayers value) Copies the specified | |
| imageSubresource | back to summary |
|---|---|
| public VkBufferImageCopy imageSubresource(Consumer<VkImageSubresourceLayers> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static VkBufferImageCopy malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkBufferImageCopy. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkBufferImageCopy malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkBufferImageCopy. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkBufferImageCopy mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBufferImageCopy mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBufferImageCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBufferImageCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbufferImageHeight | back to summary |
|---|---|
| public static int nbufferImageHeight(long struct) Unsafe version of | |
| nbufferImageHeight | back to summary |
|---|---|
| public static void nbufferImageHeight(long struct, int value) Unsafe version of | |
| nbufferOffset | back to summary |
|---|---|
| public static long nbufferOffset(long struct) Unsafe version of | |
| nbufferOffset | back to summary |
|---|---|
| public static void nbufferOffset(long struct, long value) Unsafe version of | |
| nbufferRowLength | back to summary |
|---|---|
| public static int nbufferRowLength(long struct) Unsafe version of | |
| nbufferRowLength | back to summary |
|---|---|
| public static void nbufferRowLength(long struct, int value) Unsafe version of | |
| nimageExtent | back to summary |
|---|---|
| public static VkExtent3D nimageExtent(long struct) Unsafe version of | |
| nimageExtent | back to summary |
|---|---|
| public static void nimageExtent(long struct, VkExtent3D value) Unsafe version of | |
| nimageOffset | back to summary |
|---|---|
| public static VkOffset3D nimageOffset(long struct) Unsafe version of | |
| nimageOffset | back to summary |
|---|---|
| public static void nimageOffset(long struct, VkOffset3D value) Unsafe version of | |
| nimageSubresource | back to summary |
|---|---|
| public static VkImageSubresourceLayers nimageSubresource(long struct) Unsafe version of | |
| nimageSubresource | back to summary |
|---|---|
| public static void nimageSubresource(long struct, VkImageSubresourceLayers value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkBufferImageCopy set(long bufferOffset, int bufferRowLength, int bufferImageHeight, VkImageSubresourceLayers imageSubresource, VkOffset3D imageOffset, VkExtent3D imageExtent) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkBufferImageCopy set(VkBufferImageCopy src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkBufferImageCopy structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkBufferImageCopy |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkBufferImageCopy ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| bufferImageHeight | back to summary |
|---|---|
public int bufferImageHeight()
| |
| bufferImageHeight | back to summary |
|---|---|
| public VkBufferImageCopy. Sets the specified value to the | |
| bufferOffset | back to summary |
|---|---|
public long bufferOffset()
| |
| bufferOffset | back to summary |
|---|---|
| public VkBufferImageCopy. Sets the specified value to the | |
| bufferRowLength | back to summary |
|---|---|
public int bufferRowLength()
| |
| bufferRowLength | back to summary |
|---|---|
| public VkBufferImageCopy. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkBufferImageCopy getElementFactory() Implements abstract org.
| |
| imageExtent | back to summary |
|---|---|
public VkExtent3D imageExtent()
| |
| imageExtent | back to summary |
|---|---|
| public VkBufferImageCopy. Copies the specified | |
| imageExtent | back to summary |
|---|---|
| public VkBufferImageCopy. Passes the | |
| imageOffset | back to summary |
|---|---|
public VkOffset3D imageOffset()
| |
| imageOffset | back to summary |
|---|---|
| public VkBufferImageCopy. Copies the specified | |
| imageOffset | back to summary |
|---|---|
| public VkBufferImageCopy. Passes the | |
| imageSubresource | back to summary |
|---|---|
public VkImageSubresourceLayers imageSubresource()
| |
| imageSubresource | back to summary |
|---|---|
| public VkBufferImageCopy. Copies the specified | |
| imageSubresource | back to summary |
|---|---|
| public VkBufferImageCopy. Passes the | |
| self | back to summary |
|---|---|
| protected VkBufferImageCopy. Implements abstract org.
| |