28 #ifndef _HardwareOcclusionQuery__
29 #define _HardwareOcclusionQuery__
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
This is a abstract class that that provides the interface for the query class for hardware occlusion.
bool mIsQueryResultStillOutstanding
Has the query returned a result yet?
virtual void beginOcclusionQuery()=0
Starts the hardware occlusion query.
HardwareOcclusionQuery()
Object public member functions.
virtual ~HardwareOcclusionQuery()
Object destructor.
virtual void endOcclusionQuery()=0
Ends the hardware occlusion test.
virtual bool isStillOutstanding(void)=0
Lets you know when query is done, or still be processed by the Hardware.
unsigned int getLastQuerysPixelcount() const
Let's you get the last pixel count with out doing the hardware occlusion test.
unsigned int mPixelCount
Number of visible pixels determined by last query.
virtual bool pullOcclusionQuery(unsigned int *NumOfFragments)=0
Pulls the hardware occlusion query.