aspectMask member of srcSubresource and dstSubresource must only contain IMAGE_ASPECT_COLOR_BITmaintenance5 feature is not enabled, the layerCount member of srcSubresource or dstSubresource must not be REMAINING_ARRAY_LAYERSlayerCount members of srcSubresource or dstSubresource are REMAINING_ARRAY_LAYERS, the layerCount members must matchlayerCount members of srcSubresource or dstSubresource is REMAINING_ARRAY_LAYERS, the other member must be either REMAINING_ARRAY_LAYERS or equal to the arrayLayers member of the VkImageCreateInfo used to create the image minus baseArrayLayersType must be STRUCTURE_TYPE_IMAGE_RESOLVE_2pNext must be NULLsrcSubresource must be a valid VkImageSubresourceLayers structuredstSubresource must be a valid VkImageSubresourceLayers structureVkExtent3D, VkImageSubresourceLayers, VkOffset3D, VkResolveImageInfo2
struct VkImageResolve2 {
VkStructureType sType;
void const * pNext;
VkImageSubresourceLayers srcSubresource;
VkOffset3D srcOffset;
VkImageSubresourceLayers dstSubresource;
VkOffset3D dstOffset;
VkExtent3D extent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageResolve2.
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 | PNEXT
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. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageResolve2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImageResolve2 | |
| public static VkImageResolve2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageResolve2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageResolve2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkImageResolve2 | 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 VkImageResolve2 | |
| public static VkImageResolve2 | |
| public static VkImageResolve2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageResolve2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageResolve2 | |
| public static VkImageResolve2. | |
| public VkOffset3D | |
| public VkImageResolve2 | |
| public VkImageResolve2 | |
| public VkImageSubresourceLayers | |
| public VkImageResolve2 | dstSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageResolve2 | dstSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public VkExtent3D | |
| public VkImageResolve2 | |
| public VkImageResolve2 | |
| public static VkImageResolve2 | |
| public static VkImageResolve2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageResolve2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageResolve2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkOffset3D | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public static VkExtent3D | |
| public static void | |
| public static long | |
| public static void | |
| public static VkOffset3D | |
| public static void | |
| public static VkImageSubresourceLayers | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkImageResolve2 | |
| public VkImageResolve2 | set(int sType, long pNext, VkImageSubresourceLayers srcSubresource, VkOffset3D srcOffset, VkImageSubresourceLayers dstSubresource, VkOffset3D dstOffset, VkExtent3D extent)
Initializes this struct with the specified values. |
| public VkImageResolve2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public VkOffset3D | srcOffset()
|
| public VkImageResolve2 | |
| public VkImageResolve2 | |
| public VkImageSubresourceLayers | srcSubresource()
|
| public VkImageResolve2 | srcSubresource(VkImageSubresourceLayers value)
Copies the specified |
| public VkImageResolve2 | srcSubresource(Consumer<VkImageSubresourceLayers> consumer)
Passes the |
| public int | |
| public VkImageResolve2 | |
| public VkImageResolve2 |
| 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. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT 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. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkImageResolve2 | back to summary |
|---|---|
| protected VkImageResolve2(long address, ByteBuffer container) | |
| VkImageResolve2 | back to summary |
|---|---|
| public VkImageResolve2(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkImageResolve2 calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkImageResolve2. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkImageResolve2 calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkImageResolve2. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkImageResolve2 create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkImageResolve2 create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkImageResolve2 create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkImageResolve2. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkImageResolve2. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkImageResolve2 createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkImageResolve2. Like
| |
| dstOffset | back to summary |
|---|---|
| public VkOffset3D dstOffset() see | |
| dstOffset | back to summary |
|---|---|
| public VkImageResolve2 dstOffset(VkOffset3D value) Copies the specified | |
| dstOffset | back to summary |
|---|---|
| public VkImageResolve2 dstOffset(Consumer<VkOffset3D> consumer) | |
| dstSubresource | back to summary |
|---|---|
| public VkImageSubresourceLayers dstSubresource() see | |
| dstSubresource | back to summary |
|---|---|
| public VkImageResolve2 dstSubresource(VkImageSubresourceLayers value) Copies the specified | |
| dstSubresource | back to summary |
|---|---|
| public VkImageResolve2 dstSubresource(Consumer<VkImageSubresourceLayers> consumer) Passes the | |
| extent | back to summary |
|---|---|
| public VkExtent3D extent() the size in texels of the source image to resolve in | |
| extent | back to summary |
|---|---|
| public VkImageResolve2 extent(VkExtent3D value) Copies the specified | |
| extent | back to summary |
|---|---|
| public VkImageResolve2 extent(Consumer<VkExtent3D> consumer) | |
| malloc | back to summary |
|---|---|
| public static VkImageResolve2 malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkImageResolve2. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkImageResolve2 malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkImageResolve2. Returns a new
| |
| 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 | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long 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 | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkImageResolve2 pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkImageResolve2 set(int sType, long pNext, VkImageSubresourceLayers srcSubresource, VkOffset3D srcOffset, VkImageSubresourceLayers dstSubresource, VkOffset3D dstOffset, VkExtent3D extent) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkImageResolve2 set(VkImageResolve2 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 VkImageResolve2 srcOffset(VkOffset3D value) Copies the specified | |
| srcOffset | back to summary |
|---|---|
| public VkImageResolve2 srcOffset(Consumer<VkOffset3D> consumer) | |
| srcSubresource | back to summary |
|---|---|
| public VkImageSubresourceLayers srcSubresource()
| |
| srcSubresource | back to summary |
|---|---|
| public VkImageResolve2 srcSubresource(VkImageSubresourceLayers value) Copies the specified | |
| srcSubresource | back to summary |
|---|---|
| public VkImageResolve2 srcSubresource(Consumer<VkImageSubresourceLayers> consumer) Passes the | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkImageResolve2 sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkImageResolve2 sType$Default() Sets the | |
VkImageResolve2 structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkImageResolve2 |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkImageResolve2 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 VkImageResolve2. Copies the specified | |
| dstOffset | back to summary |
|---|---|
| public VkImageResolve2. Passes the | |
| dstSubresource | back to summary |
|---|---|
public VkImageSubresourceLayers dstSubresource()
| |
| dstSubresource | back to summary |
|---|---|
| public VkImageResolve2. Copies the specified | |
| dstSubresource | back to summary |
|---|---|
| public VkImageResolve2. Passes the | |
| extent | back to summary |
|---|---|
public VkExtent3D extent()
| |
| extent | back to summary |
|---|---|
| public VkImageResolve2. Copies the specified | |
| extent | back to summary |
|---|---|
| public VkImageResolve2. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected VkImageResolve2 getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkImageResolve2. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkImageResolve2. Implements abstract org.
| |
| srcOffset | back to summary |
|---|---|
public VkOffset3D srcOffset()
| |
| srcOffset | back to summary |
|---|---|
| public VkImageResolve2. Copies the specified | |
| srcOffset | back to summary |
|---|---|
| public VkImageResolve2. Passes the | |
| srcSubresource | back to summary |
|---|---|
public VkImageSubresourceLayers srcSubresource()
| |
| srcSubresource | back to summary |
|---|---|
| public VkImageResolve2. Copies the specified | |
| srcSubresource | back to summary |
|---|---|
| public VkImageResolve2. Passes the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkImageResolve2. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkImageResolve2. Sets the | |