OgrePlatformOcclusionQuery.h

Go to the documentation of this file.
00001 #ifndef _PlatformOcclusionQuery_H__
00002 #define _PlatformOcclusionQuery_H__
00003 
00004 #include <OgreHardwareOcclusionQuery.h>
00005 #include <OgreRenderSystem.h>
00006 
00007 #include "OcclusionQuery.h"
00008 
00009 namespace Ogre {
00010 
00014 class PlatformOcclusionQuery: public GtpVisibility::OcclusionQuery
00015 {
00016 public:
00017         
00018         PlatformOcclusionQuery(RenderSystem *rsys);
00019 
00020         virtual ~PlatformOcclusionQuery();
00021 
00022         virtual unsigned int GetQueryResult() const;
00023         virtual bool ResultAvailable() const;
00024         virtual void BeginQuery() const;
00025         virtual void EndQuery() const;
00026 
00027 protected:
00028         HardwareOcclusionQuery *mHardwareOcclusionQuery;
00029 };
00030 
00031 } // namespace Ogre
00032 #endif // PlatformOcclusionQuery_H

Generated on Fri Apr 29 19:47:56 2005 for GameTools Visibility Modules by  doxygen 1.4.2