Vulkan-Docs/doc/specs/vulkan/man/vkCreateQueryPool.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/
vkCreateQueryPool(3)
====================
Name
----
vkCreateQueryPool - Create a new query pool object.
C Specification
---------------
// refBegin vkCreateQueryPool Create a new query pool object.
To create a query pool, call:
include::../protos/vkCreateQueryPool.txt[]
Parameters
----------
* pname:device is the logical device that creates the query pool.
* pname:pCreateInfo is a pointer to an instance of the
sname:VkQueryPoolCreateInfo structure containing the number and type of
queries to be managed by the pool.
* pname:pAllocator controls host memory allocation as described in the
<<memory-allocation, Memory Allocation>> chapter.
* pname:pQueryPool is a pointer to a sname:VkQueryPool handle in which the
resulting query pool object is returned.
Description
-----------
include::../validity/protos/vkCreateQueryPool.txt[]
See Also
--------
slink:VkAllocationCallbacks, slink:VkDevice, slink:VkQueryPool, slink:VkQueryPoolCreateInfo
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCreateQueryPool
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]