from panda3d.core import LoaderFileTypeRegistry
class LoaderFileTypeRegistry

This class maintains the set of all known LoaderFileTypes in the universe.

Inheritance diagram

Inheritance diagram of LoaderFileTypeRegistry

__init__(param0: LoaderFileTypeRegistry)
static getGlobalPtr()LoaderFileTypeRegistry

Returns a pointer to the global LoaderFileTypeRegistry object.


Returns the total number of types registered.

getType(n: int)LoaderFileType

Returns the nth type registered.

getTypeFromExtension(extension: str)LoaderFileType

Determines the type of the file based on the indicated extension (without a leading dot). Returns NULL if the extension matches no known file types.

registerDeferredType(entry_point: object)
registerType(type: object)
property typesSequence[LoaderFileType]

Returns the nth type registered.

unregisterType(type: object)
write(out: ostream, indent_level: int)

Writes a list of supported file types to the indicated output stream, one per line.