/// <summary> /// Updates the scene graph. /// </summary> /// <param name="context">The context.</param> /// <param name="renderables">The renderables.</param> /// <param name="results">Returns list of flattened scene graph with depth index as KeyValuePair.Key</param> /// <returns></returns> public virtual void UpdateSceneGraph(RenderContext context, FastList <SceneNode> renderables, FastList <KeyValuePair <int, SceneNode> > results) { renderables.PreorderDFT(context, updateFunc, results, stackCache1); }