Example #1
0
    public void Process(SIGGraph graph)
    {
        this.graph = graph;
        var task = this.task;

        this.task = null;

        Process(true);

        this.task = task;
    }
Example #2
0
    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();
    }