Images that can be used with the framebuffer when beginning a render pass, as specified by VkRenderPassAttachmentBeginInfo, must be created with parameters that are identical to those specified here.
sType must be STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFOpNext must be NULLflags must be a valid combination of VkImageCreateFlagBits valuesusage must be a valid combination of VkImageUsageFlagBits valuesusage must not be 0viewFormatCount is not 0, pViewFormats must be a valid pointer to an array of viewFormatCount valid VkFormat valuesVkFramebufferAttachmentsCreateInfo
struct VkFramebufferAttachmentImageInfo {
VkStructureType sType;
void const * pNext;
VkImageCreateFlags flags;
VkImageUsageFlags usage;
uint32_t width;
uint32_t height;
uint32_t layerCount;
uint32_t viewFormatCount;
VkFormat const * pViewFormats;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkFramebufferAttachmentImageInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | HEIGHT
The struct member offsets. |
| public static final int | LAYERCOUNT
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PVIEWFORMATS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | USAGE
The struct member offsets. |
| public static final int | VIEWFORMATCOUNT
The struct member offsets. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkFramebufferAttachmentImageInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkFramebufferAttachmentImageInfo | |
| public static VkFramebufferAttachmentImageInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkFramebufferAttachmentImageInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkFramebufferAttachmentImageInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkFramebufferAttachmentImageInfo | 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 VkFramebufferAttachmentImageInfo | |
| public static VkFramebufferAttachmentImageInfo | create(long address)
Returns a new |
| public static VkFramebufferAttachmentImageInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkFramebufferAttachmentImageInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkFramebufferAttachmentImageInfo | |
| public static VkFramebufferAttachmentImageInfo. | |
| public int | flags()
a bitmask of |
| public VkFramebufferAttachmentImageInfo | |
| public int | |
| public VkFramebufferAttachmentImageInfo | |
| public int | |
| public VkFramebufferAttachmentImageInfo | |
| public static VkFramebufferAttachmentImageInfo | |
| public static VkFramebufferAttachmentImageInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkFramebufferAttachmentImageInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkFramebufferAttachmentImageInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nviewFormatCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public long | |
| public VkFramebufferAttachmentImageInfo | |
| public IntBuffer | pViewFormats()
a pointer to an array of |
| public VkFramebufferAttachmentImageInfo | |
| public VkFramebufferAttachmentImageInfo | |
| public VkFramebufferAttachmentImageInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkFramebufferAttachmentImageInfo | |
| public VkFramebufferAttachmentImageInfo | |
| public int | usage()
a bitmask of |
| public VkFramebufferAttachmentImageInfo | |
| public static void | |
| public int | viewFormatCount()
the number of entries in the |
| public int | |
| public VkFramebufferAttachmentImageInfo |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| HEIGHT | back to summary |
|---|---|
| public static final int HEIGHT The struct member offsets. | |
| LAYERCOUNT | back to summary |
|---|---|
| public static final int LAYERCOUNT The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PVIEWFORMATS | back to summary |
|---|---|
| public static final int PVIEWFORMATS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| USAGE | back to summary |
|---|---|
| public static final int USAGE The struct member offsets. | |
| VIEWFORMATCOUNT | back to summary |
|---|---|
| public static final int VIEWFORMATCOUNT The struct member offsets. | |
| WIDTH | back to summary |
|---|---|
| public static final int WIDTH The struct member offsets. | |
| VkFramebufferAttachmentImageInfo | back to summary |
|---|---|
| protected VkFramebufferAttachmentImageInfo(long address, ByteBuffer container) | |
| VkFramebufferAttachmentImageInfo | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkFramebufferAttachmentImageInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo. Like
| |
| flags | back to summary |
|---|---|
| public int flags() a bitmask of
| |
| flags | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo flags(int value) Sets the specified value to the | |
| height | back to summary |
|---|---|
| public int height() the height of the image view used for rendering.
| |
| height | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo height(int value) Sets the specified value to the | |
| layerCount | back to summary |
|---|---|
| public int layerCount() the number of array layers of the image view used for rendering.
| |
| layerCount | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo layerCount(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkFramebufferAttachmentImageInfo. Returns a new
| |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static int nheight(long struct) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static void nheight(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 | |
| 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 | |
| npViewFormats | back to summary |
|---|---|
| public static IntBuffer npViewFormats(long struct) Unsafe version of
| |
| npViewFormats | back to summary |
|---|---|
| public static void npViewFormats(long struct, IntBuffer 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 | |
| nusage | back to summary |
|---|---|
| public static int nusage(long struct) Unsafe version of | |
| nusage | back to summary |
|---|---|
| public static void nusage(long struct, int value) Unsafe version of | |
| nviewFormatCount | back to summary |
|---|---|
| public static int nviewFormatCount(long struct) Unsafe version of | |
| nviewFormatCount | back to summary |
|---|---|
| public static void nviewFormatCount(long struct, int value) Sets the specified value to the | |
| nwidth | back to summary |
|---|---|
| public static int nwidth(long struct) Unsafe version of | |
| nwidth | back to summary |
|---|---|
| public static void nwidth(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo pNext(long value) Sets the specified value to the | |
| pViewFormats | back to summary |
|---|---|
| public IntBuffer pViewFormats() a pointer to an array of
| |
| pViewFormats | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo pViewFormats(IntBuffer value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo set(int sType, long pNext, int flags, int usage, int width, int height, int layerCount, IntBuffer pViewFormats) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo set(VkFramebufferAttachmentImageInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo sType$Default() Sets the | |
| usage | back to summary |
|---|---|
| public int usage() a bitmask of
| |
| usage | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo usage(int value) Sets the specified value to the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
| viewFormatCount | back to summary |
|---|---|
| public int viewFormatCount() the number of entries in the
| |
| width | back to summary |
|---|---|
| public int width() the width of the image view used for rendering.
| |
| width | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo width(int value) Sets the specified value to the | |
VkFramebufferAttachmentImageInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkFramebufferAttachmentImageInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkFramebufferAttachmentImageInfo 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) | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkFramebufferAttachmentImageInfo getElementFactory() Implements abstract org.
| |
| height | back to summary |
|---|---|
public int height()
| |
| height | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the specified value to the | |
| layerCount | back to summary |
|---|---|
public int layerCount()
| |
| layerCount | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the specified value to the | |
| pViewFormats | back to summary |
|---|---|
public IntBuffer pViewFormats()
| |
| pViewFormats | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VkFramebufferAttachmentImageInfo. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the | |
| usage | back to summary |
|---|---|
public int usage()
| |
| usage | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the specified value to the | |
| viewFormatCount | back to summary |
|---|---|
public int viewFormatCount()
| |
| width | back to summary |
|---|---|
public int width()
| |
| width | back to summary |
|---|---|
| public VkFramebufferAttachmentImageInfo. Sets the specified value to the | |