Panda3D
Public Member Functions | Static Public Member Functions

EggPoolUniquifier Class Reference

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"

Inheritance diagram for EggPoolUniquifier:
EggNameUniquifier EggObject TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations