Close

Experimental:ProgressiveUnload Class

The ProgressiveUnload class describes a specific instance of the COMP.progressiveUnload() method. Methods and members of this class are used to obtain progress information about the underway progressive unload operation, or modify it.

n = op('comp1')

# Check if comp1 is progressively unloading
n.progressiveUnloader.active

# Get the total number of frames since comp1 has been progressively unloading
n.progressiveUnloader.elapsedFrames

# Terminate comp1's progressive unloading
n.progressiveUnloader.kill()


Members

activebool (Read Only):

Returns true if progressive unloading is underway

remainingNodesfloat (Read Only):

Returns the remaining nodes to be unloaded.

nodesUnloadedfloat (Read Only):

Returns the number of unloaded nodes.

lastFrameUnloadTimefloat (Read Only):

Returns the unload time (in milliseconds) of the latest frame.

averageFrameUnloadTimefloat (Read Only):

Returns the average unload time (in milliseconds) across all previous frames.

gpuMemUnloadedfloat (Read Only):

Returns the total gpuMemory (in MB) that has been unloaded.

elapsedFramesfloat (Read Only):

Returns the elapsed frames since progressive unloading started.

Methods

kill()None:

Terminate the progressive unloading operation.