# LoaderFileType

from pandac.PandaModules import LoaderFileType

Class : LoaderFileType
Description : This is the base class for a family of scene-graph file types that the Loader supports. Each kind of loader that's available should define a corresponding LoaderFileType object and register itself.

## Inheritance:

LoaderFileType: TypedObject
TypedObject: MemoryBase
MemoryBase:

## Methods of LoaderFileType:

getAdditionalExtensions
getAllowDiskCache
getAllowRamCache
getClassType
getExtension
getName
supportsCompressed

## Methods of TypedObject:

getClassType
getType
getTypeIndex
isExactType
isOfType

getAdditionalExtensions virtual string LoaderFileType::get_additional_extensions(void) const; Description: Returns a space-separated list of extension, in addition to the one returned by get_extension(), that are recognized by this loader.

getAllowDiskCache virtual bool LoaderFileType::get_allow_disk_cache(LoaderOptions const &options) const; Description: Returns true if the loader flags allow retrieving the model from the on-disk bam cache (if it is enabled), false otherwise.

getAllowRamCache virtual bool LoaderFileType::get_allow_ram_cache(LoaderOptions const &options) const; Description: Returns true if the loader flags allow retrieving the model from the in-memory ModelPool cache, false otherwise.

getClassType static TypeHandle LoaderFileType::get_class_type(void); Undocumented function.

getExtension virtual string LoaderFileType::get_extension(void) const = 0; Undocumented function.

getName virtual string LoaderFileType::get_name(void) const = 0; Undocumented function.

supportsCompressed virtual bool LoaderFileType::supports_compressed(void) const; Description: Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise.

getClassType static TypeHandle TypedObject::get_class_type(void); Undocumented function.

getType virtual TypeHandle TypedObject::get_type(void) const = 0; Derived classes should override this function to return get_class_type().

getTypeIndex int TypedObject::get_type_index(void) const; Description: Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index().

isExactType bool TypedObject::is_exact_type(TypeHandle handle) const; Description: Returns true if the current object is the indicated type exactly.

isOfType bool TypedObject::is_of_type(TypeHandle handle) const; Description: Returns true if the current object is or derives from the indicated type.