| 12345678910111213141516171819202122232425262728293031323334353637 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsVulkanPrerequisites.h"
- #include "BsTimerQuery.h"
- namespace BansheeEngine
- {
- /** @addtogroup Vulkan
- * @{
- */
- /** @copydoc TimerQuery */
- class VulkanTimerQuery : public TimerQuery
- {
- public:
- VulkanTimerQuery(VulkanDevice& device);
- ~VulkanTimerQuery();
- /** @copydoc TimerQuery::begin */
- void begin(const SPtr<CommandBuffer>& cb = nullptr) override;
- /** @copydoc TimerQuery::end */
- void end(const SPtr<CommandBuffer>& cb = nullptr) override;
- /** @copydoc TimerQuery::isReady */
- bool isReady() const override;
- /** @copydoc TimerQuery::getTimeMs */
- float getTimeMs() override;
- private:
- };
- /** @} */
- }
|