14 #ifndef LOADERFILETYPEREGISTRY_H 15 #define LOADERFILETYPEREGISTRY_H 36 void register_deferred_type(
const std::string &extension,
const std::string &library);
39 int get_num_types()
const;
41 MAKE_SEQ(get_types, get_num_types, get_type);
42 MAKE_SEQ_PROPERTY(types, get_num_types, get_type);
43 LoaderFileType *get_type_from_extension(
const std::string &extension);
45 void write(std::ostream &out,
int indent_level = 0)
const;
50 void record_extension(
const std::string &extension,
LoaderFileType *type);
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.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.