14 #ifndef AUXSCENEDATA_H 15 #define AUXSCENEDATA_H 36 INLINE
void set_duration(
double duration);
37 INLINE
double get_duration()
const;
39 INLINE
void set_last_render_time(
double render_time);
40 INLINE
double get_last_render_time()
const;
42 INLINE
double get_expiration_time()
const;
44 virtual void output(std::ostream &out)
const;
45 virtual void write(std::ostream &out,
int indent_level = 0)
const;
49 double _last_render_time;
55 static void init_type() {
56 TypedReferenceCount::init_type();
58 TypedReferenceCount::get_class_type());
61 return get_class_type();
63 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
69 INLINE std::ostream &operator << (std::ostream &out,
const AuxSceneData &data);
This is a base class for a generic data structure that can be attached per- instance to the camera,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.