Vulkan-Docs/doc/specs/vulkan/man/VkSpecializationMapEntry.txt

59 lines
1.4 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/
VkSpecializationMapEntry(3)
===========================
Name
----
VkSpecializationMapEntry - Structure specifying a specialization map entry
C Specification
---------------
// refBegin VkSpecializationMapEntry - Structure specifying a specialization map entry
The sname:VkSpecializationMapEntry structure is defined as:
include::../api/structs/VkSpecializationMapEntry.txt[]
Members
-------
* pname:constantID is the ID of the specialization constant in SPIR-V.
* pname:offset is the byte offset of the specialization constant value within the
supplied data buffer.
* pname:size is the byte size of the specialization constant value within the
supplied data buffer.
Description
-----------
If a pname:constantID value is not a specialization constant ID used in the
shader, that map entry does not affect the behavior of the pipeline.
include::../validity/structs/VkSpecializationMapEntry.txt[]
See Also
--------
slink:VkSpecializationInfo
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkSpecializationMapEntry
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]