BsGLEventQuery.h 771 B

123456789101112131415161718192021222324252627282930313233
  1. //__________________________ Banshee Project - A modern game development toolkit _________________________________//
  2. //_____________________________________ www.banshee-project.com __________________________________________________//
  3. //________________________ Copyright (c) 2014 Marko Pintera. All rights reserved. ________________________________//
  4. #pragma once
  5. #include "BsGLPrerequisites.h"
  6. #include "BsEventQuery.h"
  7. namespace BansheeEngine
  8. {
  9. /**
  10. * @copydoc EventQuery
  11. */
  12. class BS_RSGL_EXPORT GLEventQuery : public EventQuery
  13. {
  14. public:
  15. GLEventQuery();
  16. ~GLEventQuery();
  17. /**
  18. * @copydoc EventQuery::begin
  19. */
  20. virtual void begin();
  21. /**
  22. * @copydoc EventQuery::isReady
  23. */
  24. virtual bool isReady() const;
  25. private:
  26. GLuint mQueryObj;
  27. };
  28. }