Panda3D
|
This is a specialization of EggNameUniquifier to generate unique names for textures, materials, and vertex pools prior to writing out an egg file. More...
#include "eggPoolUniquifier.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual string | get_category (EggNode *node) |
Returns the category name into which the given node should be collected, or the empty string if the node's name should be left alone. | |
virtual TypeHandle | get_type () const |
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. |
This is a specialization of EggNameUniquifier to generate unique names for textures, materials, and vertex pools prior to writing out an egg file.
It's automatically called by EggData prior to writing out an egg file.
Definition at line 30 of file eggPoolUniquifier.h.
string EggPoolUniquifier::get_category | ( | EggNode * | node | ) | [virtual] |
Returns the category name into which the given node should be collected, or the empty string if the node's name should be left alone.
Implements EggNameUniquifier.
Definition at line 43 of file eggPoolUniquifier.cxx.
References TypedObject::is_of_type().
static void EggPoolUniquifier::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 EggNameUniquifier.
Definition at line 40 of file eggPoolUniquifier.h.
References EggNameUniquifier::init_type().