Keep everything needed for all states to be rendered as quickly as possible.
This is the fastest way to play an animation, but requires sufficient resources (both main browser memory and GPU) to run.
Keep the visualization data for all states, but delete GPU buffer resources when changing state.
This option will use more main memory, but still keeps GPU memory usage at the same level as what is needed for a single state.
Only keep the visualization data and GPU buffers for the current state. Changing states will require a regeneration of the display model.
This is the option with the smallest memory footprint (both GPU and main memory).
Generated using TypeDoc
The available memory usage strategies (both Javascript and GPU) for an UnstructGridModel