Eyeon:Script/Reference/Applications/Fusion/Classes/Output/EnableDiskCache
From VFXPedia
Contents |
Output : EnableDiskCache
Arguments
EnableDiskCache(Enable, Path, LockCache, LockBranch, Delete, PreRender, UseNetwork)
- Enable (boolean, required)
Enables or disables the cache.
- Path (string, required)
A valid path to cache the files at.
- LockCache (boolean,optional)
Locks the cache, preventing invalidation of existing cache files when upstream tools are modified. Use with extreme caution, as cache files may become out of date.
- LockBranch (boolean,optional)
Locks all upstream tools (defaults to false).
- Delete (boolean, optional)
Deletes the cache that might already exist at Path (defaults to false).
- PreRender (boolean,optional)
Render now to create the cache (defaults to true).
- UseNetwork(boolean,optional)
Use network rendering when prerendering (defaults to false).
Returns
Boolean if successful as well as a string to the path of the cache.
Remarks
This function works exactly as right clicking and selecting "Cache To Disk" on a tool. It must be run on a tool's "Output" parameter in order to proprely cache.
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
Loader1 = Loader({Clip = "c:\\example.0000.tif"}) BC1 = BrightnessContrast({Gamma = 1.3, Input = Loader1.Output}) BC1.Output:EnableDiskCache(true,"c:\\temp\\BC.0000.raw")
Tips for EnableDiskCache (edit)
EyeonTips:Script/Reference/Applications/Fusion/Classes/Output/EnableDiskCache