25class EXPCL_PANDA_GOBJ TimerQueryContext :
public QueryContext {
27 INLINE TimerQueryContext(
int pstats_index);
29 ALLOC_DELETED_CHAIN(TimerQueryContext);
40 static void init_type() {
41 QueryContext::init_type();
43 QueryContext::get_class_type());
46 return get_class_type();
48 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
53 friend class PreparedGraphicsObjects;
virtual double get_timestamp() const =0
Returns the timestamp that is the result of this timer query.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.