BsGLEventQuery.h 701 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. /**
  9. * @copydoc EventQuery
  10. */
  11. class BS_RSGL_EXPORT GLEventQuery : public EventQuery
  12. {
  13. public:
  14. GLEventQuery();
  15. ~GLEventQuery();
  16. /**
  17. * @copydoc EventQuery::begin
  18. */
  19. virtual void begin();
  20. /**
  21. * @copydoc EventQuery::isReady
  22. */
  23. virtual bool isReady() const;
  24. private:
  25. GLuint mQueryObj;
  26. };
  27. }