54 lines
1.2 KiB
Plaintext
54 lines
1.2 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/
|
||
|
|
||
|
VK_MAKE_VERSION(3)
|
||
|
==================
|
||
|
|
||
|
Name
|
||
|
----
|
||
|
VK_MAKE_VERSION - Construct an API version number
|
||
|
|
||
|
C Specification
|
||
|
---------------
|
||
|
|
||
|
// refBegin VK_MAKE_VERSION - Construct an API version number
|
||
|
|
||
|
dname:VK_MAKE_VERSION constructs an API version number.
|
||
|
|
||
|
include::../defines/VK_MAKE_VERSION.txt[]
|
||
|
|
||
|
|
||
|
Description
|
||
|
-----------
|
||
|
|
||
|
* pname:major is the major version number.
|
||
|
* pname:minor is the minor version number.
|
||
|
* pname:patch is the patch version number.
|
||
|
|
||
|
This macro can: be used when constructing the
|
||
|
slink:VkApplicationInfo::pname:apiVersion parameter passed to
|
||
|
flink:vkCreateInstance.
|
||
|
|
||
|
// refEnd VK_MAKE_VERSION VkApplicationInfo vkCreateInstance
|
||
|
|
||
|
|
||
|
See Also
|
||
|
--------
|
||
|
|
||
|
slink:VkApplicationInfo, flink:vkCreateInstance
|
||
|
|
||
|
|
||
|
Document Notes
|
||
|
--------------
|
||
|
|
||
|
For more information, see the Vulkan Specification at URL
|
||
|
|
||
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VK_MAKE_VERSION
|
||
|
|
||
|
This page is extracted from the Vulkan Specification.
|
||
|
Fixes and changes should be made to the Specification,not directly.
|
||
|
|
||
|
include::footer.txt[]
|
||
|
|