Go to the documentation of this file.
29 #ifndef _D3D11HARWAREOCCLUSIONQUERY_H__
30 #define _D3D11HARWAREOCCLUSIONQUERY_H__
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
This is a abstract class that that provides the interface for the query class for hardware occlusion.
D3D11HardwareOcclusionQuery(D3D11Device &device)
Default object constructor.
void endOcclusionQuery()
Ends the hardware occlusion test.
~D3D11HardwareOcclusionQuery()
Object destructor.
unsigned int getLastQuerysPixelcount()
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
unsigned int mPixelCount
Number of visible pixels determined by last query.
void beginOcclusionQuery()
Starts the hardware occlusion query.
This is a class that is the DirectX9 implementation of hardware occlusion testing.
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