BsVulkanEventQuery.cpp 746 B

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