OGRE
1.11.6
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 (void)=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::GLHardwareOcclusionQuery, Ogre::GL3PlusHardwareOcclusionQuery, Ogre::D3D9HardwareOcclusionQuery, Ogre::D3D11HardwareOcclusionQuery, and Ogre::GLES2HardwareOcclusionQuery.
|
pure virtual |
Ends the hardware occlusion test.
Implemented in Ogre::GLHardwareOcclusionQuery, Ogre::GL3PlusHardwareOcclusionQuery, Ogre::D3D9HardwareOcclusionQuery, Ogre::D3D11HardwareOcclusionQuery, and Ogre::GLES2HardwareOcclusionQuery.
|
pure virtual |
Pulls the hardware occlusion query.
NumOfFragments | will get the resulting number of fragments. |
Implemented in Ogre::GLHardwareOcclusionQuery, Ogre::GL3PlusHardwareOcclusionQuery, Ogre::D3D9HardwareOcclusionQuery, Ogre::D3D11HardwareOcclusionQuery, and Ogre::GLES2HardwareOcclusionQuery.
|
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::GLHardwareOcclusionQuery, Ogre::GL3PlusHardwareOcclusionQuery, Ogre::D3D9HardwareOcclusionQuery, Ogre::D3D11HardwareOcclusionQuery, and Ogre::GLES2HardwareOcclusionQuery.