Panda3D
occlusionQueryContext.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file occlusionQueryContext.cxx
10  * @author drose
11  * @date 2006-03-27
12  */
13 
14 #include "occlusionQueryContext.h"
15 
16 TypeHandle OcclusionQueryContext::_type_handle;
17 
18 /**
19  * Returns the number of fragments (pixels) of the specified geometry that
20  * passed the depth test. If is_answer_ready() did not return true, this
21  * function may block before it returns.
22  *
23  * It is only valid to call this from the draw thread.
24  */
27  return 0;
28 }
virtual int get_num_fragments() const =0
Returns the number of fragments (pixels) of the specified geometry that passed the depth test.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81