clan::OcclusionQueryProvider Class Reference - ClanLib SDK
Description: clan::OcclusionQueryProvider Class Reference

Public Member Functions | List of all members
clan::OcclusionQueryProvider Class Referenceabstract
clanDisplay Input

Occlusion query provider. More...

`#include <occlusion_query_provider.h>`

## Public Member Functions
virtual | ~OcclusionQueryProvider ()
virtual void | begin ()=0
| Start occlusion query.
virtual void | create ()=0
| Create occlusion query object.
virtual void | end ()=0
| Finish occlusion query.
virtual int | get_result () const =0
| Returns the result of the occlusion query.
virtual bool | is_result_ready () const =0
| Returns true if the GPU is ready to return the result.

## Detailed Description

Occlusion query provider.

## Constructor & Destructor Documentation

## ◆ ~OcclusionQueryProvider()

virtual clan::OcclusionQueryProvider::~OcclusionQueryProvider | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ begin()

virtual void clan::OcclusionQueryProvider::begin | ( |  | ) |
| pure virtual

Start occlusion query.

## ◆ create()

virtual void clan::OcclusionQueryProvider::create | ( |  | ) |
| pure virtual

Create occlusion query object.

## ◆ end()

virtual void clan::OcclusionQueryProvider::end | ( |  | ) |
| pure virtual

Finish occlusion query.

## ◆ get_result()

virtual int clan::OcclusionQueryProvider::get_result | ( |  | ) | const
| pure virtual

Returns the result of the occlusion query.

## ◆ is_result_ready()

virtual bool clan::OcclusionQueryProvider::is_result_ready | ( |  | ) | const
| pure virtual

Returns true if the GPU is ready to return the result.

The documentation for this class was generated from the following file:

- occlusion_query_provider.h