attachment is not ATTACHMENT_UNUSED, layout must not be IMAGE_LAYOUT_UNDEFINED, IMAGE_LAYOUT_PREINITIALIZED, or IMAGE_LAYOUT_PRESENT_SRC_KHRseparateDepthStencilLayouts feature is not enabled, and attachment is not ATTACHMENT_UNUSED, layout must not be IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL, IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL, or IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL,synchronization2 feature is not enabled, layout must not be IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR or IMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHRattachmentFeedbackLoopLayout feature is not enabled, layout must not be IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXTlayout must be a valid VkImageLayout valueVkRenderPassFragmentDensityMapCreateInfoEXT, VkSubpassDescription
struct VkAttachmentReference {
uint32_t attachment;
VkImageLayout layout;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkAttachmentReference.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ATTACHMENT
The struct member offsets. |
| public static final int | LAYOUT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkAttachmentReference(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | attachment()
either an integer value identifying an attachment at the corresponding index in |
| public VkAttachmentReference | |
| public static VkAttachmentReference | |
| public static VkAttachmentReference. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkAttachmentReference | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkAttachmentReference. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkAttachmentReference | |
| public static VkAttachmentReference | |
| public static VkAttachmentReference. | |
| public static VkAttachmentReference. | |
| protected VkAttachmentReference | 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 VkAttachmentReference | |
| public static VkAttachmentReference | |
| public static VkAttachmentReference. | create(int
the buffer capacity capacity)Returns a new |
| public static VkAttachmentReference. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkAttachmentReference | |
| public static VkAttachmentReference. | |
| public int | |
| public VkAttachmentReference | |
| public static VkAttachmentReference | |
| public static VkAttachmentReference. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkAttachmentReference | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkAttachmentReference. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkAttachmentReference | |
| public static VkAttachmentReference | |
| public static VkAttachmentReference. | |
| public static VkAttachmentReference. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public VkAttachmentReference | |
| public VkAttachmentReference | 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. | |
| ATTACHMENT | back to summary |
|---|---|
| public static final int ATTACHMENT The struct member offsets. | |
| LAYOUT | back to summary |
|---|---|
| public static final int LAYOUT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkAttachmentReference | back to summary |
|---|---|
| protected VkAttachmentReference(long address, ByteBuffer container) | |
| VkAttachmentReference | back to summary |
|---|---|
| public VkAttachmentReference(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| attachment | back to summary |
|---|---|
| public int attachment() either an integer value identifying an attachment at the corresponding index in
| |
| attachment | back to summary |
|---|---|
| public VkAttachmentReference attachment(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkAttachmentReference calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkAttachmentReference. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkAttachmentReference calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkAttachmentReference. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkAttachmentReference callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkAttachmentReference callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkAttachmentReference. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkAttachmentReference. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkAttachmentReference create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkAttachmentReference create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkAttachmentReference create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkAttachmentReference. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkAttachmentReference. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkAttachmentReference createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkAttachmentReference. Like
| |
| layout | back to summary |
|---|---|
| public int layout() a
| |
| layout | back to summary |
|---|---|
| public VkAttachmentReference layout(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkAttachmentReference malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkAttachmentReference. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkAttachmentReference malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkAttachmentReference. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkAttachmentReference mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkAttachmentReference mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkAttachmentReference. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkAttachmentReference. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nattachment | back to summary |
|---|---|
| public static int nattachment(long struct) Unsafe version of | |
| nattachment | back to summary |
|---|---|
| public static void nattachment(long struct, int value) Unsafe version of | |
| nlayout | back to summary |
|---|---|
| public static int nlayout(long struct) Unsafe version of | |
| nlayout | back to summary |
|---|---|
| public static void nlayout(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkAttachmentReference set(int attachment, int layout) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkAttachmentReference set(VkAttachmentReference src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkAttachmentReference structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkAttachmentReference |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkAttachmentReference. | |
| protected VkAttachmentReference | |
| public int | |
| public VkAttachmentReference. | |
| protected VkAttachmentReference. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkAttachmentReference 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) | |
| attachment | back to summary |
|---|---|
public int attachment()
| |
| attachment | back to summary |
|---|---|
| public VkAttachmentReference. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkAttachmentReference getElementFactory() Implements abstract org.
| |
| layout | back to summary |
|---|---|
public int layout()
| |
| layout | back to summary |
|---|---|
| public VkAttachmentReference. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkAttachmentReference. Implements abstract org.
| |