OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
This is a abstract class that that provides the interface for the query class for hardware occlusion. More...
#include <OgreHardwareOcclusionQuery.h>
Public Member Functions | |
HardwareOcclusionQuery () | |
Object public member functions. More... | |
virtual | ~HardwareOcclusionQuery () |
Object destructor. More... | |
virtual void | beginOcclusionQuery ()=0 |
Starts the hardware occlusion query. More... | |
virtual void | endOcclusionQuery ()=0 |
Ends the hardware occlusion test. More... | |
unsigned int | getLastQuerysPixelcount () const |
Let's you get the last pixel count with out doing the hardware occlusion test. More... | |
virtual bool | isStillOutstanding ()=0 |
Lets you know when query is done, or still be processed by the Hardware. More... | |
virtual bool | pullOcclusionQuery (unsigned int *NumOfFragments)=0 |
Pulls the hardware occlusion query. More... | |
This is a abstract class that that provides the interface for the query class for hardware occlusion.
Ogre::HardwareOcclusionQuery::HardwareOcclusionQuery | ( | ) |
Object public member functions.
Default object constructor
|
virtual |
Object destructor.
|
pure virtual |
Starts the hardware occlusion query.
Results must be pulled using: UINT mNumberOfPixelsVisable; pullOcclusionQuery( &mNumberOfPixelsVisable );
Implemented in Ogre::GL3PlusHardwareOcclusionQuery, and Ogre::D3D11HardwareOcclusionQuery.
|
pure virtual |
Ends the hardware occlusion test.
Implemented in Ogre::GL3PlusHardwareOcclusionQuery, and Ogre::D3D11HardwareOcclusionQuery.
|
inline |
Let's you get the last pixel count with out doing the hardware occlusion test.
|
pure virtual |
Lets you know when query is done, or still be processed by the Hardware.
Implemented in Ogre::GL3PlusHardwareOcclusionQuery, and Ogre::D3D11HardwareOcclusionQuery.
|
pure virtual |
Pulls the hardware occlusion query.
NumOfFragments | will get the resulting number of fragments. |
Implemented in Ogre::GL3PlusHardwareOcclusionQuery, and Ogre::D3D11HardwareOcclusionQuery.