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

59 lines
1.5 KiB
Plaintext
Raw Normal View History

// 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/
2016-02-16 09:53:44 +00:00
vkCreateSemaphore(3)
====================
2016-02-16 09:53:44 +00:00
Name
----
vkCreateSemaphore - Create a new queue semaphore object.
C Specification
---------------
// refBegin vkCreateSemaphore Create a new queue semaphore object.
To create a new semaphore object, use the command
2016-02-16 09:53:44 +00:00
include::../protos/vkCreateSemaphore.txt[]
2016-02-16 09:53:44 +00:00
Parameters
----------
* pname:device is the logical device that creates the semaphore.
* pname:pCreateInfo points to a slink:VkSemaphoreCreateInfo structure
specifying the state of the semaphore object.
* pname:pAllocator controls host memory allocation as described in the
<<memory-allocation, Memory Allocation>> chapter.
* pname:pSemaphore points to a handle in which the resulting
semaphore object is returned. The semaphore is created in the unsignaled
state.
2016-02-16 09:53:44 +00:00
Description
-----------
include::../validity/protos/vkCreateSemaphore.txt[]
2016-02-16 09:53:44 +00:00
See Also
--------
2016-02-16 09:53:44 +00:00
slink:VkAllocationCallbacks, slink:VkDevice, slink:VkSemaphore, slink:VkSemaphoreCreateInfo
2016-02-16 09:53:44 +00:00
Document Notes
--------------
2016-02-16 09:53:44 +00:00
For more information, see the Vulkan Specification at URL
2016-02-16 09:53:44 +00:00
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCreateSemaphore
2016-02-16 09:53:44 +00:00
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
2016-02-16 09:53:44 +00:00
include::footer.txt[]