mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-18 09:16:51 +00:00
* Bump API patch number and header version number to 20 for this update. Github Issues: * Replaced existing reference pages by text automatically extracted from the specification source, or generated from vk.xml in some cases. This isn't a complete solution for the reference pages, but puts them in a much better state. The ref pages (only) are now placed under a CC BY open source license, which is more current than the obsolete license previously used. Further improvements to the pages should not edit them directly, but instead concentrate on the specification source from which the ref pages are being extracted (public issues 44, 55, 160; internal issue 389).
67 lines
1.9 KiB
Plaintext
67 lines
1.9 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/
|
|
|
|
vkCmdDrawIndexedIndirect(3)
|
|
===========================
|
|
|
|
Name
|
|
----
|
|
vkCmdDrawIndexedIndirect - Perform an indexed indirect draw.
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
// refBegin vkCmdDrawIndexedIndirect Perform an indexed indirect draw.
|
|
|
|
To record an indexed indirect draw, call:
|
|
|
|
include::../protos/vkCmdDrawIndexedIndirect.txt[]
|
|
|
|
|
|
Parameters
|
|
----------
|
|
|
|
* pname:commandBuffer is the command buffer into which the command is
|
|
recorded.
|
|
* pname:buffer is the buffer containing draw parameters.
|
|
* pname:offset is the byte offset into pname:buffer where parameters
|
|
begin.
|
|
* pname:drawCount is the number of draws to execute, and can: be zero.
|
|
* pname:stride is the byte stride between successive sets of draw
|
|
parameters.
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
fname:vkCmdDrawIndexedIndirect behaves similarly to flink:vkCmdDrawIndirect
|
|
except that the parameters are read by the device from a buffer during
|
|
execution. pname:drawCount draws are executed by the command, with
|
|
parameters taken from pname:buffer starting at pname:offset and increasing
|
|
by pname:stride bytes for each successive draw. The parameters of each draw
|
|
are encoded in an array of slink:VkDrawIndexedIndirectCommand structures. If
|
|
pname:drawCount is less than or equal to one, pname:stride is ignored.
|
|
|
|
include::../validity/protos/vkCmdDrawIndexedIndirect.txt[]
|
|
|
|
|
|
See Also
|
|
--------
|
|
|
|
slink:VkBuffer, slink:VkCommandBuffer, basetypes:VkDeviceSize
|
|
|
|
|
|
Document Notes
|
|
--------------
|
|
|
|
For more information, see the Vulkan Specification at URL
|
|
|
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCmdDrawIndexedIndirect
|
|
|
|
This page is extracted from the Vulkan Specification.
|
|
Fixes and changes should be made to the Specification,not directly.
|
|
|
|
include::footer.txt[]
|
|
|