67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a
|
|
// Creative Commons Attribution 4.0 International License; see
|
|
// http://creativecommons.org/licenses/by/4.0/
|
|
|
|
VkVertexInputBindingDescription(3)
|
|
==================================
|
|
|
|
Name
|
|
----
|
|
VkVertexInputBindingDescription - Structure specifying vertex input binding description
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
// refBegin VkVertexInputBindingDescription - Structure specifying vertex input binding description
|
|
|
|
The sname:VkVertexInputBindingDescription structure is defined as:
|
|
|
|
include::../api/structs/VkVertexInputBindingDescription.txt[]
|
|
|
|
|
|
Members
|
|
-------
|
|
|
|
* pname:binding is the binding number that this structure
|
|
describes.
|
|
* pname:stride is the distance in bytes between two
|
|
consecutive elements within the buffer.
|
|
* pname:inputRate specifies
|
|
whether vertex attribute addressing is a function of the vertex index or
|
|
of the instance index. Possible values include:
|
|
+
|
|
--
|
|
// refBegin VkVertexInputRate - specify rate at which vertex attributes are pulled from buffers
|
|
include::../api/enums/VkVertexInputRate.txt[]
|
|
--
|
|
** ename:VK_VERTEX_INPUT_RATE_VERTEX indicates that vertex attribute
|
|
addressing is a function of the vertex index.
|
|
** ename:VK_VERTEX_INPUT_RATE_INSTANCE indicates that vertex attribute
|
|
addressing is a function of the instance index.
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
include::../validity/structs/VkVertexInputBindingDescription.txt[]
|
|
|
|
|
|
See Also
|
|
--------
|
|
|
|
slink:VkPipelineVertexInputStateCreateInfo, elink:VkVertexInputRate
|
|
|
|
|
|
Document Notes
|
|
--------------
|
|
|
|
For more information, see the Vulkan Specification at URL
|
|
|
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkVertexInputBindingDescription
|
|
|
|
This page is extracted from the Vulkan Specification.
|
|
Fixes and changes should be made to the Specification,not directly.
|
|
|
|
include::footer.txt[]
|
|
|