VKFRAMEBUFFERCREATEI(3)

NAME
VkFramebufferCreateInfo - Stub page (not yet written)

C SPECIFICATION

    typedef struct VkFramebufferCreateInfo {
        VkStructureType             sType;
        const void*                 pNext;
        VkFramebufferCreateFlags    flags;
        VkRenderPass                renderPass;
        uint32_t                    attachmentCount;
        const VkImageView*          pAttachments;
        uint32_t                    width;
        uint32_t                    height;
        uint32_t                    layers;
    } VkFramebufferCreateInfo;

This is a stub page. Content has not been filled in yet. Khronos is aware of the problem and working on it as time allows; please do not file Github issues bringing the missing content to our attention.

FIELDS

DESCRIPTION

VALID USAGE

    • sType must be VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO

    • pNext must be NULL

    • flags must be 0

    • renderPass must be a valid VkRenderPass handle

    • If attachmentCount is not 0, pAttachments must be a pointer to an array of attachmentCount valid VkImageView handles

    • Each of renderPass and the elements of pAttachments that are valid handles must have been created, allocated or retrieved from the same VkDevice

    • attachmentCount must be equal to the attachment count specified in renderPass

    • Any given element of pAttachments that is used as a color attachment or resolve attachment by renderPass must have been created with a usage value including VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT

    • Any given element of pAttachments that is used as a depth/stencil attachment by renderPass must have been created with a usage value including VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT

    • Any given element of pAttachments that is used as an input attachment by renderPass must have been created with a usage value including VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT

    • Any given element of pAttachments must have been created with an VkFormat value that matches the VkFormat specified by the corresponding VkAttachmentDescription in renderPass

    • Any given element of pAttachments must have been created with a samples value that matches the samples value specified by the corresponding VkAttachmentDescription in renderPass

    • Any given element of pAttachments must have dimensions at least as large as the corresponding framebuffer dimension

    • Any given element of pAttachments must only specify a single mip-level

    • Any given element of pAttachments must have been created with the identity swizzle

    • width must be less than or equal to VkPhysicalDeviceLimits::maxFramebufferWidth

    • height must be less than or equal to VkPhysicalDeviceLimits::maxFramebufferHeight

    • layers must be less than or equal to VkPhysicalDeviceLimits::maxFramebufferLayers

SEE ALSO

COPYRIGHT

Copyright © 2014-2016 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

AUTHOR

Khronos Group
    Author.