BsGLEventQuery.h 727 B

1234567891011121314151617181920212223242526272829303132
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsGLPrerequisites.h"
  5. #include "BsEventQuery.h"
  6. namespace BansheeEngine
  7. {
  8. /** @addtogroup GL
  9. * @{
  10. */
  11. /** @copydoc EventQuery */
  12. class BS_RSGL_EXPORT GLEventQuery : public EventQuery
  13. {
  14. public:
  15. GLEventQuery();
  16. ~GLEventQuery();
  17. /** @copydoc EventQuery::begin */
  18. void begin() override;
  19. /** @copydoc EventQuery::isReady */
  20. bool isReady() const override;
  21. private:
  22. GLuint mQueryObj;
  23. };
  24. /** @} */
  25. }