Go to the documentation of this file.
14 #ifndef LOADERFILETYPE_H
15 #define LOADERFILETYPE_H
41 virtual std::string get_name()
const=0;
42 virtual std::string get_extension()
const=0;
43 virtual std::string get_additional_extensions()
const;
44 virtual bool supports_compressed()
const;
46 virtual bool get_allow_disk_cache(
const LoaderOptions &options)
const;
47 virtual bool get_allow_ram_cache(
const LoaderOptions &options)
const;
49 virtual bool supports_load()
const;
50 virtual bool supports_save()
const;
68 TypedObject::get_class_type());
71 return get_class_type();
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An instance of this class is written to the front of a Bam or Txo file to make the file a cached inst...
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.
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.
Specifies parameters that may be passed to the loader.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...