cancelAnimationFrame: cancel rendering

Hi, we use CesiumJS (v1.50) to render heavily textured tilesets,
and thinking we can lessen CPU/GPU burden by canceling the rendering of tilesets that users don't see anymore.
(Without canceling, CPU/GPUs utilization are close to 100%) and everything slows down.

and skimming on CesiumJS code, there is no obvious place that CesiumJS cancels the render process using cancelAnimationFrame.

What is the best way to approach this ?

There is a “explicit rendering mode” that will not re-render a scene unless a change happens, so it should drastically reduce CPU/GPU utilization. You can read about it here:

Let me know if that helps.