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

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.