Panda3D
|
An object that has data or parameters that are set less frequently (at least occasionally) than every frame. More...
#include "configurable.h"
Public Member Functions | |
void | check_config () const |
virtual void | config (void) |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
bool | is_dirty () const |
void | make_dirty () |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. |
An object that has data or parameters that are set less frequently (at least occasionally) than every frame.
We can cache the configuration info by by using the "dirty" flag.
Definition at line 36 of file configurable.h.
static void Configurable::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from TypedObject.
Definition at line 65 of file configurable.h.
References TypedObject::init_type().