Decompressor
from panda3d.core import Decompressor
- class Decompressor
Bases:
DTOOL_SUPER_BASE
This manages run-time decompression of a zlib-compressed stream, as a background or foreground task.
Inheritance diagram
- __init__(*args, **kwargs)
- decompress()
C++ Interface: decompress(const Decompressor self, const Filename source_file) decompress(const Decompressor self, Ramfile source_and_dest_file)
- getProgress()
C++ Interface: get_progress(Decompressor self)
- /**
Returns the ratio through the decompression step in the background.
*/
- get_progress()
C++ Interface: get_progress(Decompressor self)
- /**
Returns the ratio through the decompression step in the background.
*/
- initiate()
C++ Interface: initiate(const Decompressor self, const Filename source_file) initiate(const Decompressor self, const Filename source_file, const Filename dest_file)
- /**
Begins a background decompression of the named file (whose filename must
end in “.pz”) to a new file without the .pz extension. The source file is
removed after successful completion.
*/
- /**
Begins a background decompression from the named source file to the named
destination file. The source file is removed after successful completion.
*/
- progress