SpiecsEngine
 
Loading...
Searching...
No Matches

◆ WriteTimeStamp()

void Spices::VulkanQueryPool::WriteTimeStamp ( VkCommandBuffer commandBuffer,
uint32_t index ) const

Write a TimeStamp to queryPool.

Parameters
[in]commandBufferVkCommandBuffer.
[in]indexQueryIndex.

Definition at line 88 of file VulkanQueryPool.cpp.

89 {
91
92 assert(m_QueryType & VK_QUERY_TYPE_TIMESTAMP);
93
94 vkCmdWriteTimestamp2(commandBuffer, VK_PIPELINE_STAGE_2_NONE, m_QueryPool, index);
95 }
#define SPICES_PROFILE_ZONE
VkQueryType m_QueryType
Query Type.
VkQueryPool m_QueryPool
VkQueryPool Handler.