15 #ifndef LOADERFILETYPEREGISTRY_H 16 #define LOADERFILETYPEREGISTRY_H 18 #include "pandabase.h" 39 void register_deferred_type(
const string &extension,
const string &library);
42 int get_num_types()
const;
44 MAKE_SEQ(get_types, get_num_types, get_type);
47 void write(ostream &out,
int indent_level = 0)
const;
52 void record_extension(
const string &extension,
LoaderFileType *type);
59 Extensions _extensions;
62 DeferredTypes _deferred_types;
The name of a file, such as a texture file or an Egg file.
This class maintains the set of all known LoaderFileTypes in the universe.
This is the base class for a family of scene-graph file types that the Loader supports.