Class VulkanQueryPool#

Inheritance Relationships#

Base Type#

Class Documentation#

class VulkanQueryPool : public TRAP::Graphics::QueryPool#

Public Functions

explicit VulkanQueryPool(const RendererAPI::QueryPoolDesc &desc)#

Constructor.

Parameters:

desc – Query pool description.

~VulkanQueryPool() override#

Destructor.

consteval VulkanQueryPool(const VulkanQueryPool&) noexcept = delete#

Copy constructor.

consteval VulkanQueryPool &operator=(const VulkanQueryPool&) noexcept = delete#

Copy assignment operator.

constexpr VulkanQueryPool(VulkanQueryPool&&) noexcept = default#

Move constructor.

VulkanQueryPool &operator=(VulkanQueryPool&&) noexcept = default#

Move assignment operator.

constexpr VkQueryPool GetVkQueryPool() const noexcept#

Retrieve the Vulkan query pool handle.

Returns:

Vulkan query pool handle

constexpr VkQueryType GetVkQueryType() const noexcept#

Retrieve the Vulkan query type.

Returns:

Vulkan query type

constexpr u32 GetCount() const noexcept#

Retrieve the number of queries managed by the pool.

Returns:

Number of queries