Panda3D
|
This class maintains the set of all known LoaderFileTypes in the universe. More...
Public Member Functions | |
int | getNumTypes () |
Returns the total number of types registered. More... | |
LoaderFileType | getType (int n) |
Returns the nth type registered. More... | |
LoaderFileType | getTypeFromExtension (str extension) |
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. More... | |
list | getTypes () |
write (Ostream out, int indent_level) | |
Writes a list of supported file types to the indicated output stream, one per line. More... | |
Static Public Member Functions | |
static LoaderFileTypeRegistry | getGlobalPtr () |
Returns a pointer to the global LoaderFileTypeRegistry object. More... | |
This class maintains the set of all known LoaderFileTypes in the universe.
|
static |
Returns a pointer to the global LoaderFileTypeRegistry object.
int getNumTypes | ( | ) |
Returns the total number of types registered.
LoaderFileType getType | ( | int | n | ) |
Returns the nth type registered.
LoaderFileType getTypeFromExtension | ( | str | extension | ) |
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.
list getTypes | ( | ) |
write | ( | Ostream | out, |
int | indent_level | ||
) |
Writes a list of supported file types to the indicated output stream, one per line.