Vulkan-Docs/doc/specs/vulkan/validity/structs/VkPipelineVertexInputStateC...

24 lines
1.7 KiB
Plaintext

// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
ifndef::doctype-manpage[]
.Valid Usage
********************************************************************************
endif::doctype-manpage[]
ifdef::doctype-manpage[]
Valid Usage
-----------
endif::doctype-manpage[]
* pname:sType must: be ename:VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO
* pname:pNext must: be `NULL`
* pname:flags must: be `0`
* If pname:vertexBindingDescriptionCount is not `0`, pname:pVertexBindingDescriptions must: be a pointer to an array of pname:vertexBindingDescriptionCount valid sname:VkVertexInputBindingDescription structures
* If pname:vertexAttributeDescriptionCount is not `0`, pname:pVertexAttributeDescriptions must: be a pointer to an array of pname:vertexAttributeDescriptionCount valid sname:VkVertexInputAttributeDescription structures
* pname:vertexBindingDescriptionCount must: be less than or equal to sname:VkPhysicalDeviceLimits::pname:maxVertexInputBindings
* pname:vertexAttributeDescriptionCount must: be less than or equal to sname:VkPhysicalDeviceLimits::pname:maxVertexInputAttributes
* For every value of pname:binding specified by any given element of pname:pVertexAttributeDescriptions, a sname:VkVertexInputBindingDescription must: exist in pname:pVertexBindingDescriptions with the same value of pname:binding
* All elements of pname:pVertexBindingDescriptions must: describe distinct binding numbers
* All elements of pname:pVertexAttributeDescriptions must: describe distinct attribute locations
ifndef::doctype-manpage[]
********************************************************************************
endif::doctype-manpage[]