Panda3D
panda
src
gobj
timerQueryContext.I
1
// Filename: occlusionQueryContext.I
2
// Created by: rdb (22Aug14)
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
16
////////////////////////////////////////////////////////////////////
17
// Function: TimerQueryContext::Constructor
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE TimerQueryContext::
22
TimerQueryContext(
int
pstats_index) :
23
_pstats_index(pstats_index),
24
_frame_index(
ClockObject
::get_global_clock()->get_frame_count())
25
{
26
}
ClockObject
A ClockObject keeps track of elapsed real time and discrete time.
Definition:
clockObject.h:66
Generated on Wed May 17 2017 23:42:59 for Panda3D by
1.8.13