aspectMask contains IMAGE_ASPECT_COLOR_BIT, it must not contain either of IMAGE_ASPECT_DEPTH_BIT or IMAGE_ASPECT_STENCIL_BITaspectMask must not contain IMAGE_ASPECT_METADATA_BITaspectMask must not include VK_IMAGE_ASPECT_MEMORY_PLANE_i_BIT_EXT for any index ilayerCount must be greater than 0 or REMAINING_ARRAY_LAYERSmaintenance5 is not enabled, layerCount must not be REMAINING_ARRAY_LAYERSaspectMask must be a valid combination of VkImageAspectFlagBits valuesaspectMask must not be 0VkBufferImageCopy, VkBufferImageCopy2, VkCopyMemoryToImageIndirectCommandNV, VkImageBlit, VkImageBlit2, VkImageCopy, VkImageCopy2, VkImageResolve, VkImageResolve2, VkImageToMemoryCopyEXT, VkMemoryToImageCopyEXT, CmdCopyMemoryToImageIndirectNV
struct VkImageSubresourceLayers {
VkImageAspectFlags aspectMask;
uint32_t mipLevel;
uint32_t baseArrayLayer;
uint32_t layerCount;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageSubresourceLayers.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ASPECTMASK
The struct member offsets. |
| public static final int | BASEARRAYLAYER
The struct member offsets. |
| public static final int | LAYERCOUNT
The struct member offsets. |
| public static final int | MIPLEVEL
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageSubresourceLayers(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | aspectMask()
a combination of |
| public VkImageSubresourceLayers | |
| public int | |
| public VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageSubresourceLayers | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageSubresourceLayers. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers. | |
| public static VkImageSubresourceLayers. | |
| protected VkImageSubresourceLayers | 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 VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers | create(long address)
Returns a new |
| public static VkImageSubresourceLayers. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageSubresourceLayers. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers. | |
| public int | |
| public VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageSubresourceLayers | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageSubresourceLayers. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers | |
| public static VkImageSubresourceLayers. | |
| public static VkImageSubresourceLayers. | |
| public int | |
| public VkImageSubresourceLayers | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public VkImageSubresourceLayers | set(int aspectMask, int mipLevel, int baseArrayLayer, int layerCount)
Initializes this struct with the specified values. |
| public VkImageSubresourceLayers | 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. | |
| ASPECTMASK | back to summary |
|---|---|
| public static final int ASPECTMASK The struct member offsets. | |
| BASEARRAYLAYER | back to summary |
|---|---|
| public static final int BASEARRAYLAYER The struct member offsets. | |
| LAYERCOUNT | back to summary |
|---|---|
| public static final int LAYERCOUNT The struct member offsets. | |
| MIPLEVEL | back to summary |
|---|---|
| public static final int MIPLEVEL The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkImageSubresourceLayers | back to summary |
|---|---|
| protected VkImageSubresourceLayers(long address, ByteBuffer container) | |
| VkImageSubresourceLayers | back to summary |
|---|---|
| public VkImageSubresourceLayers(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| aspectMask | back to summary |
|---|---|
| public int aspectMask() a combination of
| |
| aspectMask | back to summary |
|---|---|
| public VkImageSubresourceLayers aspectMask(int value) Sets the specified value to the | |
| baseArrayLayer | back to summary |
|---|---|
| public int baseArrayLayer()
| |
| baseArrayLayer | back to summary |
|---|---|
| public VkImageSubresourceLayers baseArrayLayer(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkImageSubresourceLayers calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkImageSubresourceLayers calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkImageSubresourceLayers callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkImageSubresourceLayers callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkImageSubresourceLayers create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkImageSubresourceLayers create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkImageSubresourceLayers create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkImageSubresourceLayers createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Like
| |
| layerCount | back to summary |
|---|---|
| public int layerCount() see
| |
| layerCount | back to summary |
|---|---|
| public VkImageSubresourceLayers layerCount(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkImageSubresourceLayers malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkImageSubresourceLayers malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkImageSubresourceLayers mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkImageSubresourceLayers mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkImageSubresourceLayers. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mipLevel | back to summary |
|---|---|
| public int mipLevel() the mipmap level to copy
| |
| mipLevel | back to summary |
|---|---|
| public VkImageSubresourceLayers mipLevel(int value) Sets the specified value to the | |
| naspectMask | back to summary |
|---|---|
| public static int naspectMask(long struct) Unsafe version of | |
| naspectMask | back to summary |
|---|---|
| public static void naspectMask(long struct, int value) Unsafe version of | |
| nbaseArrayLayer | back to summary |
|---|---|
| public static int nbaseArrayLayer(long struct) Unsafe version of | |
| nbaseArrayLayer | back to summary |
|---|---|
| public static void nbaseArrayLayer(long struct, int value) Unsafe version of | |
| nlayerCount | back to summary |
|---|---|
| public static int nlayerCount(long struct) Unsafe version of | |
| nlayerCount | back to summary |
|---|---|
| public static void nlayerCount(long struct, int value) Unsafe version of | |
| nmipLevel | back to summary |
|---|---|
| public static int nmipLevel(long struct) Unsafe version of | |
| nmipLevel | back to summary |
|---|---|
| public static void nmipLevel(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkImageSubresourceLayers set(int aspectMask, int mipLevel, int baseArrayLayer, int layerCount) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkImageSubresourceLayers set(VkImageSubresourceLayers src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkImageSubresourceLayers structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkImageSubresourceLayers |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkImageSubresourceLayers. | |
| public int | |
| public VkImageSubresourceLayers. | baseArrayLayer(int value)
Sets the specified value to the |
| protected VkImageSubresourceLayers | |
| public int | |
| public VkImageSubresourceLayers. | |
| public int | |
| public VkImageSubresourceLayers. | |
| protected VkImageSubresourceLayers. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkImageSubresourceLayers 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) | |
| aspectMask | back to summary |
|---|---|
public int aspectMask()
| |
| aspectMask | back to summary |
|---|---|
| public VkImageSubresourceLayers. Sets the specified value to the | |
| baseArrayLayer | back to summary |
|---|---|
public int baseArrayLayer()
| |
| baseArrayLayer | back to summary |
|---|---|
| public VkImageSubresourceLayers. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkImageSubresourceLayers getElementFactory() Implements abstract org.
| |
| layerCount | back to summary |
|---|---|
public int layerCount()
| |
| layerCount | back to summary |
|---|---|
| public VkImageSubresourceLayers. Sets the specified value to the | |
| mipLevel | back to summary |
|---|---|
public int mipLevel()
| |
| mipLevel | back to summary |
|---|---|
| public VkImageSubresourceLayers. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkImageSubresourceLayers. Implements abstract org.
| |