Class VkPipelineVertexInputStateCreateInfo

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

    public class VkPipelineVertexInputStateCreateInfo
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying parameters of a newly created pipeline vertex input state.
    Valid Usage
    • vertexBindingDescriptionCount must be less than or equal to VkPhysicalDeviceLimits::maxVertexInputBindings
    • vertexAttributeDescriptionCount must be less than or equal to VkPhysicalDeviceLimits::maxVertexInputAttributes
    • For every binding specified by each element of pVertexAttributeDescriptions, a VkVertexInputBindingDescription must exist in pVertexBindingDescriptions with the same value of binding
    • All elements of pVertexBindingDescriptions must describe distinct binding numbers
    • All elements of pVertexAttributeDescriptions must describe distinct attribute locations
    Valid Usage (Implicit)
    See Also

    VkGraphicsPipelineCreateInfo, VkVertexInputAttributeDescription, VkVertexInputBindingDescription

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – reserved for future use.
    • vertexBindingDescriptionCount – the number of vertex binding descriptions provided in pVertexBindingDescriptions.
    • pVertexBindingDescriptions – a pointer to an array of VkVertexInputBindingDescription structures.
    • vertexAttributeDescriptionCount – the number of vertex attribute descriptions provided in pVertexAttributeDescriptions.
    • pVertexAttributeDescriptions – a pointer to an array of VkVertexInputAttributeDescription structures.

    Layout

    
     struct VkPipelineVertexInputStateCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkPipelineVertexInputStateCreateFlags flags;
         uint32_t vertexBindingDescriptionCount;
         VkVertexInputBindingDescription const * pVertexBindingDescriptions;
         uint32_t vertexAttributeDescriptionCount;
         VkVertexInputAttributeDescription const * pVertexAttributeDescriptions;
     }