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

58 lines
1.3 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
vkCreateFence(3)
================
2016-02-16 09:53:44 +00:00
Name
----
vkCreateFence - Create a new fence object.
C Specification
---------------
// refBegin vkCreateFence Create a new fence object.
To create a new fence object, use the command
2016-02-16 09:53:44 +00:00
include::../protos/vkCreateFence.txt[]
2016-02-16 09:53:44 +00:00
Parameters
----------
* pname:device is the logical device that creates the fence.
* pname:pCreateInfo points to a slink:VkFenceCreateInfo structure
specifying the state of the fence object.
* pname:pAllocator controls host memory allocation as described in the
<<memory-allocation, Memory Allocation>> chapter.
* pname:pFence points to a handle in which the resulting fence object is
returned.
2016-02-16 09:53:44 +00:00
Description
-----------
include::../validity/protos/vkCreateFence.txt[]
2016-02-16 09:53:44 +00:00
See Also
--------
2016-02-16 09:53:44 +00:00
slink:VkAllocationCallbacks, slink:VkDevice, slink:VkFence, slink:VkFenceCreateInfo
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#vkCreateFence
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[]