38 {
40
41 Result* result =
static_cast<Result*
>(
m_Result.get());
42
43 uint64_t poolResult[3] = {};
45
46 result->valid = poolResult[2];
47 result->valid = true;
48 if (result->valid)
49 {
50
52 result->timeStamp = msPerTick * (poolResult[1] - poolResult[0]);
53 }
54 }
#define SPICES_PROFILE_ZONE
std::unique_ptr< VulkanQueryPool > m_QueryPool
QueryPool of RenderPass.
std::shared_ptr< Result > m_Result
Result of QueryPool.
static VkPhysicalDeviceProperties & GetDeviceProperties()
Get VkPhysicalDeviceProperties.