VK_KHR_sampler_ycbcr_conversion extension is not enabled and VkPhysicalDeviceProperties::apiVersion is less than Vulkan 1.1, the aspectMask member of srcSubresource and dstSubresource must matchVK_KHR_maintenance1 extension is not enabled and VkPhysicalDeviceProperties::apiVersion is less than Vulkan 1.1, the layerCount member of srcSubresource and dstSubresource must matchextent.width must not be 0extent.height must not be 0extent.depth must not be 0srcSubresource must be a valid VkImageSubresourceLayers structuredstSubresource must be a valid VkImageSubresourceLayers structureVkExtent3D, VkImageSubresourceLayers, VkOffset3D, CmdCopyImage
struct VkImageCopy {
VkImageSubresourceLayers srcSubresource;
VkOffset3D srcOffset;
VkImageSubresourceLayers dstSubresource;
VkOffset3D dstOffset;
VkExtent3D extent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageCopy.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DSTOFFSET
The struct member offsets. |
| public static final int | DSTSUBRESOURCE
The struct member offsets. |
| public static final int | EXTENT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SRCOFFSET
The struct member offsets. |
| public static final int | SRCSUBRESOURCE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageCopy(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImageCopy | |
| public static VkImageCopy. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageCopy | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageCopy. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageCopy | |
| public static VkImageCopy | |
| public static VkImageCopy. | |
| public static VkImageCopy. | |
| protected VkImageCopy | 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 VkImageCopy | |
| public static VkImageCopy | |
| public static VkImageCopy. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageCopy. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageCopy | |
| public static VkImageCopy. | |
| public VkOffset3D | |
| public VkImageCopy | |
| public VkImageCopy | |
| public VkImageSubresourceLayers | |
| public VkImageCopy | dstSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageCopy | dstSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public VkExtent3D | |
| public VkImageCopy | |
| public VkImageCopy | |
| public static VkImageCopy | |
| public static VkImageCopy. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageCopy | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageCopy. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageCopy | |
| public static VkImageCopy | |
| public static VkImageCopy. | |
| public static VkImageCopy. | |
| public static VkOffset3D | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public static VkExtent3D | |
| public static void | |
| public static VkOffset3D | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public VkImageCopy | set(VkImageSubresourceLayers srcSubresource, VkOffset3D srcOffset, VkImageSubresourceLayers dstSubresource, VkOffset3D dstOffset, VkExtent3D extent)
Initializes this struct with the specified values. |
| public VkImageCopy | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public VkOffset3D | srcOffset()
|
| public VkImageCopy | |
| public VkImageCopy | |
| public VkImageSubresourceLayers | srcSubresource()
|
| public VkImageCopy | srcSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageCopy | srcSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DSTOFFSET | back to summary |
|---|---|
| public static final int DSTOFFSET The struct member offsets. | |
| DSTSUBRESOURCE | back to summary |
|---|---|
| public static final int DSTSUBRESOURCE The struct member offsets. | |
| EXTENT | back to summary |
|---|---|
| public static final int EXTENT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SRCOFFSET | back to summary |
|---|---|
| public static final int SRCOFFSET The struct member offsets. | |
| SRCSUBRESOURCE | back to summary |
|---|---|
| public static final int SRCSUBRESOURCE The struct member offsets. | |
| VkImageCopy | back to summary |
|---|---|
| protected VkImageCopy(long address, ByteBuffer container) | |
| VkImageCopy | back to summary |
|---|---|
| public VkImageCopy(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkImageCopy calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkImageCopy. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkImageCopy calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkImageCopy. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkImageCopy callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkImageCopy callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkImageCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkImageCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkImageCopy create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkImageCopy create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkImageCopy create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkImageCopy. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkImageCopy. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkImageCopy createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkImageCopy. Like
| |
| dstOffset | back to summary |
|---|---|
| public VkOffset3D dstOffset() see | |
| dstOffset | back to summary |
|---|---|
| public VkImageCopy dstOffset(VkOffset3D value) Copies the specified | |
| dstOffset | back to summary |
|---|---|
| public VkImageCopy dstOffset(Consumer<VkOffset3D> consumer) | |
| dstSubresource | back to summary |
|---|---|
| public VkImageSubresourceLayers dstSubresource() see | |
| dstSubresource | back to summary |
|---|---|
| public VkImageCopy dstSubresource(VkImageSubresourceLayers value) Copies the specified | |
| dstSubresource | back to summary |
|---|---|
| public VkImageCopy dstSubresource(Consumer<VkImageSubresourceLayers> consumer) Passes the | |
| extent | back to summary |
|---|---|
| public VkExtent3D extent() the size in texels of the image to copy in | |
| extent | back to summary |
|---|---|
| public VkImageCopy extent(VkExtent3D value) Copies the specified | |
| extent | back to summary |
|---|---|
| public VkImageCopy extent(Consumer<VkExtent3D> consumer) | |
| malloc | back to summary |
|---|---|
| public static VkImageCopy malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkImageCopy. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkImageCopy malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkImageCopy. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkImageCopy mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkImageCopy mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkImageCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkImageCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndstOffset | back to summary |
|---|---|
| public static VkOffset3D ndstOffset(long struct) Unsafe version of | |
| ndstOffset | back to summary |
|---|---|
| public static void ndstOffset(long struct, VkOffset3D value) Unsafe version of | |
| ndstSubresource | back to summary |
|---|---|
| public static VkImageSubresourceLayers ndstSubresource(long struct) Unsafe version of | |
| ndstSubresource | back to summary |
|---|---|
| public static void ndstSubresource(long struct, VkImageSubresourceLayers value) Unsafe version of | |
| nextent | back to summary |
|---|---|
| public static VkExtent3D nextent(long struct) Unsafe version of | |
| nextent | back to summary |
|---|---|
| public static void nextent(long struct, VkExtent3D value) Unsafe version of | |
| nsrcOffset | back to summary |
|---|---|
| public static VkOffset3D nsrcOffset(long struct) Unsafe version of | |
| nsrcOffset | back to summary |
|---|---|
| public static void nsrcOffset(long struct, VkOffset3D value) Unsafe version of | |
| nsrcSubresource | back to summary |
|---|---|
| public static VkImageSubresourceLayers nsrcSubresource(long struct) Unsafe version of | |
| nsrcSubresource | back to summary |
|---|---|
| public static void nsrcSubresource(long struct, VkImageSubresourceLayers value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkImageCopy set(VkImageSubresourceLayers srcSubresource, VkOffset3D srcOffset, VkImageSubresourceLayers dstSubresource, VkOffset3D dstOffset, VkExtent3D extent) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkImageCopy set(VkImageCopy src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| srcOffset | back to summary |
|---|---|
| public VkOffset3D srcOffset()
| |
| srcOffset | back to summary |
|---|---|
| public VkImageCopy srcOffset(VkOffset3D value) Copies the specified | |
| srcOffset | back to summary |
|---|---|
| public VkImageCopy srcOffset(Consumer<VkOffset3D> consumer) | |
| srcSubresource | back to summary |
|---|---|
| public VkImageSubresourceLayers srcSubresource()
| |
| srcSubresource | back to summary |
|---|---|
| public VkImageCopy srcSubresource(VkImageSubresourceLayers value) Copies the specified | |
| srcSubresource | back to summary |
|---|---|
| public VkImageCopy srcSubresource(Consumer<VkImageSubresourceLayers> consumer) Passes the | |
VkImageCopy structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkImageCopy |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkImageCopy 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) | |
| dstOffset | back to summary |
|---|---|
public VkOffset3D dstOffset()
| |
| dstOffset | back to summary |
|---|---|
| public VkImageCopy. Copies the specified | |
| dstOffset | back to summary |
|---|---|
| public VkImageCopy. Passes the | |
| dstSubresource | back to summary |
|---|---|
public VkImageSubresourceLayers dstSubresource()
| |
| dstSubresource | back to summary |
|---|---|
| public VkImageCopy. Copies the specified | |
| dstSubresource | back to summary |
|---|---|
| public VkImageCopy. Passes the | |
| extent | back to summary |
|---|---|
public VkExtent3D extent()
| |
| extent | back to summary |
|---|---|
| public VkImageCopy. Copies the specified | |
| extent | back to summary |
|---|---|
| public VkImageCopy. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected VkImageCopy getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected VkImageCopy. Implements abstract org.
| |
| srcOffset | back to summary |
|---|---|
public VkOffset3D srcOffset()
| |
| srcOffset | back to summary |
|---|---|
| public VkImageCopy. Copies the specified | |
| srcOffset | back to summary |
|---|---|
| public VkImageCopy. Passes the | |
| srcSubresource | back to summary |
|---|---|
public VkImageSubresourceLayers srcSubresource()
| |
| srcSubresource | back to summary |
|---|---|
| public VkImageCopy. Copies the specified | |
| srcSubresource | back to summary |
|---|---|
| public VkImageCopy. Passes the | |