| 12345678910111213141516171819202122232425262728293031323334353637 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #include "BsVulkanTimerQuery.h"
- #include "BsRenderStats.h"
- namespace BansheeEngine
- {
- VulkanTimerQuery::VulkanTimerQuery(UINT32 deviceIdx)
- {
- BS_INC_RENDER_STAT_CAT(ResCreated, RenderStatObject_Query);
- }
- VulkanTimerQuery::~VulkanTimerQuery()
- {
- BS_INC_RENDER_STAT_CAT(ResDestroyed, RenderStatObject_Query);
- }
- void VulkanTimerQuery::begin()
- {
- setActive(true);
- }
- void VulkanTimerQuery::end()
- {
- }
- bool VulkanTimerQuery::isReady() const
- {
- return false;
- }
- float VulkanTimerQuery::getTimeMs()
- {
- return 0.0f;
- }
- }
|