Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
gobj
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
////////////////////////////////////////////////////////////////////
29
int
OcclusionQueryContext::
30
get_num_fragments
()
const
{
31
return
0;
32
}
OcclusionQueryContext::get_num_fragments
virtual int get_num_fragments() const =0
Returns the number of fragments (pixels) of the specified geometry that passed the depth test...
Definition:
occlusionQueryContext.cxx:30
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:85
Generated on Mon Feb 1 2016 13:44:27 for Panda3D by
1.8.5