#include <occlusion_query.h>
Public Member Functions | |
Construction | |
| CL_OcclusionQuery (CL_GraphicContext &context) | |
| Constructs an occlusion query object. | |
| virtual | ~CL_OcclusionQuery () |
Attributes | |
| int | get_result () |
| Returns the result of the occlusion query. | |
| bool | is_result_ready () |
| Returns true if the GPU is ready to return the result. | |
Operations | |
| void | begin () |
| Start occlusion query. | |
| void | end () |
| Finish occlusion query. | |
|
|
Constructs an occlusion query object.
|
|
|
|
|
|
Start occlusion query.
|
|
|
Finish occlusion query.
|
|
|
Returns the result of the occlusion query.
|
|
|
Returns true if the GPU is ready to return the result.
|
1.4.6