15 #ifndef LOADERFILETYPE_H
16 #define LOADERFILETYPE_H
18 #include "pandabase.h"
20 #include "typedObject.h"
22 #include "pandaNode.h"
23 #include "pointerTo.h"
24 #include "dSearchPath.h"
44 virtual string get_name()
const=0;
45 virtual string get_extension()
const=0;
46 virtual string get_additional_extensions()
const;
47 virtual bool supports_compressed()
const;
49 virtual bool get_allow_disk_cache(
const LoaderOptions &options)
const;
50 virtual bool get_allow_ram_cache(
const LoaderOptions &options)
const;
52 virtual bool supports_load()
const;
53 virtual bool supports_save()
const;
70 register_type(_type_handle,
"LoaderFileType",
71 TypedObject::get_class_type());
74 return get_class_type();
A basic node of the scene graph or data graph.
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Specifies parameters that may be passed to the loader.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
The name of a file, such as a texture file or an Egg file.
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.
TypeHandle is the identifier used to differentiate C++ class types.