LoaderFileType
from panda3d.core import LoaderFileType
- class LoaderFileType
Bases:
TypedObject
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 diagram
- __init__(*args, **kwargs)
- getAdditionalExtensions()
C++ Interface: get_additional_extensions(LoaderFileType self)
- /**
Returns a space-separated list of extension, in addition to the one
returned by get_extension(), that are recognized by this loader.
*/
- getAllowDiskCache()
C++ Interface: get_allow_disk_cache(LoaderFileType self, const LoaderOptions options)
- /**
Returns true if the loader flags allow retrieving the model from the on-
disk bam cache (if it is enabled), false otherwise.
*/
- getAllowRamCache()
C++ Interface: get_allow_ram_cache(LoaderFileType self, const LoaderOptions options)
- /**
Returns true if the loader flags allow retrieving the model from the in-
memory ModelPool cache, false otherwise.
*/
- getClassType()
C++ Interface: get_class_type()
- getExtension()
C++ Interface: get_extension(LoaderFileType self)
- getName()
C++ Interface: get_name(LoaderFileType self)
- get_additional_extensions()
C++ Interface: get_additional_extensions(LoaderFileType self)
- /**
Returns a space-separated list of extension, in addition to the one
returned by get_extension(), that are recognized by this loader.
*/
- get_allow_disk_cache()
C++ Interface: get_allow_disk_cache(LoaderFileType self, const LoaderOptions options)
- /**
Returns true if the loader flags allow retrieving the model from the on-
disk bam cache (if it is enabled), false otherwise.
*/
- get_allow_ram_cache()
C++ Interface: get_allow_ram_cache(LoaderFileType self, const LoaderOptions options)
- /**
Returns true if the loader flags allow retrieving the model from the in-
memory ModelPool cache, false otherwise.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_extension()
C++ Interface: get_extension(LoaderFileType self)
- get_name()
C++ Interface: get_name(LoaderFileType self)
- supportsCompressed()
C++ Interface: supports_compressed(LoaderFileType self)
- /**
Returns true if this file type can transparently load compressed files
(with a .pz or .gz extension), false otherwise.
*/
- supportsLoad()
C++ Interface: supports_load(LoaderFileType self)
- /**
Returns true if the file type can be used to load files, and load_file() is
supported. Returns false if load_file() is unimplemented and will always
fail.
*/
- supportsSave()
C++ Interface: supports_save(LoaderFileType self)
- /**
Returns true if the file type can be used to save files, and save_file() is
supported. Returns false if save_file() is unimplemented and will always
fail.
*/
- supports_compressed()
C++ Interface: supports_compressed(LoaderFileType self)
- /**
Returns true if this file type can transparently load compressed files
(with a .pz or .gz extension), false otherwise.
*/