Class VkFramebufferAttachmentImageInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkFramebufferAttachmentImageInfoKHR
    extends Struct
    implements NativeResource
    Structure specifying parameters of an image that will be used with a framebuffer.
    Description

    Images that can be used with the framebuffer when beginning a render pass, as specified by VkRenderPassAttachmentBeginInfoKHR, must be created with parameters that are identical to those specified here.

    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR
    • pNext must be NULL
    • flags must be a valid combination of VkImageCreateFlagBits values
    • usage must be a valid combination of VkImageUsageFlagBits values
    • usage must not be 0
    • If viewFormatCount is not 0, pViewFormats must be a valid pointer to an array of viewFormatCount valid VkFormat values
    See Also

    VkFramebufferAttachmentsCreateInfoKHR

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – a bitmask of VkImageCreateFlagBits, matching the value of VkImageCreateInfo::flags used to create an image that will be used with this framebuffer.
    • usage – a bitmask of VkImageUsageFlagBits, matching the value of VkImageCreateInfo::usage used to create an image used with this framebuffer.
    • width – the width of the image view used for rendering.
    • height – the height of the image view used for rendering.
    • viewFormatCount – the number of entries in the pViewFormats array, matching the value of VkImageFormatListCreateInfoKHR::viewFormatCount used to create an image used with this framebuffer.
    • pViewFormats – an array which lists of all formats which can be used when creating views of the image, matching the value of VkImageFormatListCreateInfoKHR::pViewFormats used to create an image used with this framebuffer.

    Layout

    
     struct VkFramebufferAttachmentImageInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkImageCreateFlags flags;
         VkImageUsageFlags usage;
         uint32_t width;
         uint32_t height;
         uint32_t layerCount;
         uint32_t viewFormatCount;
         VkFormat const * pViewFormats;
     }