BsGLEventQuery.h 420 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include "BsGLPrerequisites.h"
  3. #include "BsEventQuery.h"
  4. namespace BansheeEngine
  5. {
  6. /**
  7. * @copydoc EventQuery
  8. */
  9. class BS_RSGL_EXPORT GLEventQuery : public EventQuery
  10. {
  11. public:
  12. GLEventQuery();
  13. ~GLEventQuery();
  14. /**
  15. * @copydoc EventQuery::begin
  16. */
  17. virtual void begin();
  18. /**
  19. * @copydoc EventQuery::isReady
  20. */
  21. virtual bool isReady() const;
  22. private:
  23. GLuint mQueryObj;
  24. };
  25. }