VKQUERYPOOLCREATEINF(3)

NAME
VkQueryPoolCreateInfo - Structure specifying parameters of a newly created query pool

C SPECIFICATION

The VkQueryPoolCreateInfo structure is defined as:

    typedef struct VkQueryPoolCreateInfo {
        VkStructureType                  sType;
        const void*                      pNext;
        VkQueryPoolCreateFlags           flags;
        VkQueryType                      queryType;
        uint32_t                         queryCount;
        VkQueryPipelineStatisticFlags    pipelineStatistics;
    } VkQueryPoolCreateInfo;

MEMBERS

    • sType is the type of this structure.

    • pNext is NULL or a pointer to an extension-specific structure.

    • flags is reserved for future use.

    • queryType is the type of queries managed by the pool, and must be one of the values

        typedef enum VkQueryType {
            VK_QUERY_TYPE_OCCLUSION = 0,
            VK_QUERY_TYPE_PIPELINE_STATISTICS = 1,
            VK_QUERY_TYPE_TIMESTAMP = 2,
        } VkQueryType;

    • queryCount is the number of queries managed by the pool.

    • pipelineStatistics is a bitmask indicating which counters will be returned in queries on the new pool, as described below in ???. pipelineStatistics is ignored if queryType is not VK_QUERY_TYPE_PIPELINE_STATISTICS.

DESCRIPTION
Valid Usage

    • If the pipeline statistics queries feature is not enabled, queryType must not be VK_QUERY_TYPE_PIPELINE_STATISTICS

    • If queryType is VK_QUERY_TYPE_PIPELINE_STATISTICS, pipelineStatistics must be a valid combination of VkQueryPipelineStatisticFlagBits values
Valid Usage (Implicit)

    • sType must be VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO

    • pNext must be NULL

    • flags must be 0

    • queryType must be a valid VkQueryType value

SEE ALSO

VkQueryPipelineStatisticFlags, VkQueryPoolCreateFlags, VkQueryType, VkStructureType, vkCreateQueryPool

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkQueryPoolCreateInfo

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.