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

59 lines
1.5 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/
vkCreateSemaphore(3)
====================
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
include::../api/protos/vkCreateSemaphore.txt[]
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.
Description
-----------
include::../validity/protos/vkCreateSemaphore.txt[]
See Also
--------
slink:VkAllocationCallbacks, slink:VkDevice, slink:VkSemaphore, slink:VkSemaphoreCreateInfo
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCreateSemaphore
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]