Share

memory_cache

Caches an animated object or array of object to memory for faster playback once the cache is filled. This is intended to be used in the graph after a simulation, file read, or any other heavy operation to speed up its playback. The cache can be cleared by using "Reset Feedback State" in the Bifrost "Edit" menu.

Note: the object is stored in memory per-frame, so heavy simulations can consume large amounts of memory and affect system performance. Size in memory is typically larger than size on disk, as most file formats include compression.

Inputs

objects

The object(s) coming into the compound to be cached.

Frame Range

active_frame_range

If active_frame_range is enabled, the compound only caches inside of the specified frame range.

start_frame

Start of active frame range.

last_frame

End of active frame range.

invert_frame_range

If this is enabled, then the compound switches to only caching outside of the specified frame range.

Reset Mechanism

only_in_order

If this is checked, it ensures the cached frames are sequential, making sure it's valid for a simulation.

Outputs

out_objects

The cached objects.

first_object

The cached first object in the objects array

Was this information helpful?