This structure specifies an aspect mask for a specific input attachment of a specific subpass in the render pass.
subpass and inputAttachmentIndex index into the render pass as:
pCreateInfo->pSubpasses[subpass].pInputAttachments[inputAttachmentIndex]
aspectMask must not include IMAGE_ASPECT_METADATA_BITaspectMask must not include VK_IMAGE_ASPECT_MEMORY_PLANE_i_BIT_EXT for any index iaspectMask must be a valid combination of VkImageAspectFlagBits valuesaspectMask must not be 0VkRenderPassInputAttachmentAspectCreateInfo
struct VkInputAttachmentAspectReference {
uint32_t subpass;
uint32_t inputAttachmentIndex;
VkImageAspectFlags aspectMask;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkInputAttachmentAspectReference.
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 | INPUTATTACHMENTINDEX
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUBPASS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkInputAttachmentAspectReference(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkInputAttachmentAspectReference | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkInputAttachmentAspectReference. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference. | |
| public static VkInputAttachmentAspectReference. | |
| protected VkInputAttachmentAspectReference | 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 VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference | create(long address)
Returns a new |
| public static VkInputAttachmentAspectReference. | create(int
the buffer capacity capacity)Returns a new |
| public static VkInputAttachmentAspectReference. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference. | |
| public int | |
| public VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkInputAttachmentAspectReference | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkInputAttachmentAspectReference. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference | |
| public static VkInputAttachmentAspectReference. | |
| public static VkInputAttachmentAspectReference. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public VkInputAttachmentAspectReference | set(int subpass, int inputAttachmentIndex, int aspectMask)
Initializes this struct with the specified values. |
| public VkInputAttachmentAspectReference | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkInputAttachmentAspectReference |
| 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. | |
| INPUTATTACHMENTINDEX | back to summary |
|---|---|
| public static final int INPUTATTACHMENTINDEX The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SUBPASS | back to summary |
|---|---|
| public static final int SUBPASS The struct member offsets. | |
| VkInputAttachmentAspectReference | back to summary |
|---|---|
| protected VkInputAttachmentAspectReference(long address, ByteBuffer container) | |
| VkInputAttachmentAspectReference | back to summary |
|---|---|
| public VkInputAttachmentAspectReference(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| aspectMask | back to summary |
|---|---|
| public int aspectMask() a mask of which aspect(s) can be accessed within the specified subpass.
| |
| aspectMask | back to summary |
|---|---|
| public VkInputAttachmentAspectReference aspectMask(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkInputAttachmentAspectReference create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Like
| |
| inputAttachmentIndex | back to summary |
|---|---|
| public int inputAttachmentIndex() an index into the
| |
| inputAttachmentIndex | back to summary |
|---|---|
| public VkInputAttachmentAspectReference inputAttachmentIndex(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkInputAttachmentAspectReference. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| 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 | |
| ninputAttachmentIndex | back to summary |
|---|---|
| public static int ninputAttachmentIndex(long struct) Unsafe version of | |
| ninputAttachmentIndex | back to summary |
|---|---|
| public static void ninputAttachmentIndex(long struct, int value) Unsafe version of | |
| nsubpass | back to summary |
|---|---|
| public static int nsubpass(long struct) Unsafe version of | |
| nsubpass | back to summary |
|---|---|
| public static void nsubpass(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkInputAttachmentAspectReference set(int subpass, int inputAttachmentIndex, int aspectMask) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkInputAttachmentAspectReference set(VkInputAttachmentAspectReference src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| subpass | back to summary |
|---|---|
| public int subpass() an index into the
| |
| subpass | back to summary |
|---|---|
| public VkInputAttachmentAspectReference subpass(int value) Sets the specified value to the | |
VkInputAttachmentAspectReference structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkInputAttachmentAspectReference |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkInputAttachmentAspectReference. | aspectMask(int value)
Sets the specified value to the |
| protected VkInputAttachmentAspectReference | |
| public int | Returns: the value of theVkInputAttachmentAspectReference#inputAttachmentIndex field.
|
| public VkInputAttachmentAspectReference. | inputAttachmentIndex(int value)
Sets the specified value to the |
| protected VkInputAttachmentAspectReference. | |
| public int | |
| public VkInputAttachmentAspectReference. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkInputAttachmentAspectReference 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 VkInputAttachmentAspectReference. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkInputAttachmentAspectReference getElementFactory() Implements abstract org.
| |
| inputAttachmentIndex | back to summary |
|---|---|
public int inputAttachmentIndex()
| |
| inputAttachmentIndex | back to summary |
|---|---|
| public VkInputAttachmentAspectReference. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkInputAttachmentAspectReference. Implements abstract org.
| |
| subpass | back to summary |
|---|---|
public int subpass()
| |
| subpass | back to summary |
|---|---|
| public VkInputAttachmentAspectReference. Sets the specified value to the | |