|
Panda3D
|
Classes | |
| class | VFSImporter |
| class | VFSLoader |
| class | VFSSharedImporter |
| class | VFSSharedLoader |
Functions | |
| def | register |
| def | reloadSharedPackage |
| def | reloadSharedPackages |
Variables | |
| list | __all__ |
| _registered = False | |
| list | compiledExtensions = [ 'pyc', 'pyo' ] |
| int | FTExtensionModule = 2 |
| int | FTFrozenModule = 3 |
| int | FTPythonCompiled = 1 |
| int | FTPythonSource = 0 |
| dictionary | sharedPackages = {} |
| tuple | vfs = VirtualFileSystem.getGlobalPtr() |
| def showbase.VFSImporter.register | ( | ) |
Register the VFSImporter on the path_hooks, if it has not already been registered, so that future Python import statements will vector through here (and therefore will take advantage of Panda's virtual file system).
| def showbase.VFSImporter.reloadSharedPackage | ( | mod | ) |
Reloads the specific module as a shared package, adding any new directories that might have appeared on the search path.
| def showbase.VFSImporter.reloadSharedPackages | ( | ) |
Walks through the sharedPackages list, and forces a reload of any modules on that list that have already been loaded. This allows new directories to be added to the search path.
| list __all__ |
00001 ['register', 'sharedPackages', 00002 'reloadSharedPackage', 'reloadSharedPackages']
| _registered = False |
| list compiledExtensions = [ 'pyc', 'pyo' ] |
| int FTExtensionModule = 2 |
| int FTFrozenModule = 3 |
| int FTPythonCompiled = 1 |
| int FTPythonSource = 0 |
| dictionary sharedPackages = {} |
| tuple vfs = VirtualFileSystem.getGlobalPtr() |
1.7.3