Cache: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Cache manages storage of precomputed results, such as molecular surfaces. = Usage = <source lang="python"> cache action [, scenes [, state ]] </source> where, the arguments…') |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 19: | Line 19: | ||
cache optimize | cache optimize | ||
cache optimize, F1 F2 F5 | cache optimize, F1 F2 F5 | ||
</ | </source> | ||
= Notes = | = Notes = | ||
Line 30: | Line 30: | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Performance]] |
Latest revision as of 08:47, 24 May 2011
Cache manages storage of precomputed results, such as molecular surfaces.
Usage
cache action [, scenes [, state ]]
where, the arguments are:
action
- string: enable, disable, read_only, clear, or optimize
scenes
- string: a space-separated list of scene names (default: )
state
- integer: state index (default: -1)
Examples
cache enable
cache optimize
cache optimize, F1 F2 F5
Notes
"cache optimize" will iterate through the list of scenes provided (or all defined scenes), compute any missing surfaces, and store them in the cache for later reuse.
API
cmd.cache(string action, string scenes, int state, int quiet)