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