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