Go to the documentation of this file.
28 #ifndef _HardwareOcclusionQuery__
29 #define _HardwareOcclusionQuery__
88 virtual void beginOcclusionQuery() = 0;
93 virtual void endOcclusionQuery() = 0;
102 virtual bool pullOcclusionQuery(
unsigned int* NumOfFragments) = 0;
115 virtual bool isStillOutstanding(
void) = 0;
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?
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.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15