Graphics occlusion query class.  
 More...
#include <occlusion_query.h>
Graphics occlusion query class. 
◆ OcclusionQuery() [1/2]
      
        
          | clan::OcclusionQuery::OcclusionQuery | ( |  | ) |  | 
      
 
Constructs a null instance. 
 
 
◆ OcclusionQuery() [2/2]
Constructs an occlusion query object. 
 
 
◆ ~OcclusionQuery()
  
  | 
        
          | virtual clan::OcclusionQuery::~OcclusionQuery | ( |  | ) |  |  | virtual | 
 
 
◆ begin()
      
        
          | void clan::OcclusionQuery::begin | ( |  | ) |  | 
      
 
 
◆ end()
      
        
          | void clan::OcclusionQuery::end | ( |  | ) |  | 
      
 
 
◆ get_provider()
Get Provider. 
- Returns
- provider 
 
 
◆ get_result()
      
        
          | int clan::OcclusionQuery::get_result | ( |  | ) |  | 
      
 
Returns the result of the occlusion query. 
 
 
◆ is_null()
  
  | 
        
          | bool clan::OcclusionQuery::is_null | ( |  | ) | const |  | inline | 
 
Returns true if this object is invalid. 
 
 
◆ is_result_ready()
      
        
          | bool clan::OcclusionQuery::is_result_ready | ( |  | ) |  | 
      
 
Returns true if the GPU is ready to return the result. 
 
 
◆ operator bool()
  
  | 
        
          | clan::OcclusionQuery::operator bool | ( |  | ) | const |  | inlineexplicit | 
 
 
◆ throw_if_null()
      
        
          | void clan::OcclusionQuery::throw_if_null | ( |  | ) | const | 
      
 
Throw an exception if this object is invalid. 
 
 
The documentation for this class was generated from the following file: