VKDESCRIPTORSETLAYOU(3)

NAME
VkDescriptorSetLayoutCreateInfo - Structure specifying parameters of a newly created descriptor set layout

C SPECIFICATION

Information about the descriptor set layout is passed in an instance of the VkDescriptorSetLayoutCreateInfo structure:

    typedef struct VkDescriptorSetLayoutCreateInfo {
        VkStructureType                        sType;
        const void*                            pNext;
        VkDescriptorSetLayoutCreateFlags       flags;
        uint32_t                               bindingCount;
        const VkDescriptorSetLayoutBinding*    pBindings;
    } VkDescriptorSetLayoutCreateInfo;

MEMBERS

    • sType is the type of this structure.

    • pNext is NULL or a pointer to an extension-specific structure.

    • flags is reserved for future use.

    • bindingCount is the number of elements in pBindings.

    • pBindings is a pointer to an array of VkDescriptorSetLayoutBinding structures.

DESCRIPTION
Valid Usage

    • The VkDescriptorSetLayoutBinding::binding members of the elements of the pBindings array must each have different values.
Valid Usage (Implicit)

    • sType must be VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO

    • pNext must be NULL

    • flags must be 0

    • If bindingCount is not 0, pBindings must be a pointer to an array of bindingCount valid VkDescriptorSetLayoutBinding structures

SEE ALSO

VkDescriptorSetLayoutBinding, VkDescriptorSetLayoutCreateFlags, VkStructureType, vkCreateDescriptorSetLayout

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkDescriptorSetLayoutCreateInfo

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.