BsVulkanTimerQuery.cpp 787 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #include "BsVulkanTimerQuery.h"
  4. #include "BsRenderStats.h"
  5. namespace BansheeEngine
  6. {
  7. VulkanTimerQuery::VulkanTimerQuery(UINT32 deviceIdx)
  8. {
  9. BS_INC_RENDER_STAT_CAT(ResCreated, RenderStatObject_Query);
  10. }
  11. VulkanTimerQuery::~VulkanTimerQuery()
  12. {
  13. BS_INC_RENDER_STAT_CAT(ResDestroyed, RenderStatObject_Query);
  14. }
  15. void VulkanTimerQuery::begin()
  16. {
  17. setActive(true);
  18. }
  19. void VulkanTimerQuery::end()
  20. {
  21. }
  22. bool VulkanTimerQuery::isReady() const
  23. {
  24. return false;
  25. }
  26. float VulkanTimerQuery::getTimeMs()
  27. {
  28. return 0.0f;
  29. }
  30. }