LoaderFileType¶
-
class LoaderFileType¶
Bases:
TypedObjectThis 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
digraph inheritance15b79b6eea { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "LoaderFileType" [URL="acron.core.LoaderFileType.html#acron.core.LoaderFileType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "LoaderFileType" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; }- LoaderFileType.get_additional_extensions()¶
Returns a space-separated list of extension, in addition to the one returned by
get_extension(), that are recognized by this loader.
- LoaderFileType.get_allow_disk_cache()¶
Returns true if the loader flags allow retrieving the model from the on- disk bam cache (if it is enabled), false otherwise.
- LoaderFileType.get_allow_ram_cache()¶
Returns true if the loader flags allow retrieving the model from the in- memory
ModelPoolcache, false otherwise.
- static LoaderFileType.get_class_type()¶
- LoaderFileType.get_extension()¶
- LoaderFileType.get_name()¶
- LoaderFileType.supports_compressed()¶
Returns true if this file type can transparently load compressed files (with a .pz or .gz extension), false otherwise.
- LoaderFileType.supports_load()¶
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.
- LoaderFileType.supports_save()¶
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.