public void Process(SIGGraph graph) { this.graph = graph; var task = this.task; this.task = null; Process(true); this.task = task; }
protected void InitializeGraphProcessor() { if (task != null) { graph = task.Graph; } Debug.Assert(graph != null, "Unable to initialize processor without graph."); graph.UpdateComputeOrder(); graphProcessor = new SIGGraphProcessor(graph); graphProcessor.UpdateComputeOrder(); }