Ejemplo n.º 1
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                GetParams();
                Process();
                return;
            }

            if (ParentGraph != null)
            {
                ParentGraph.Schedule(this);
            }
        }
Ejemplo n.º 2
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                ReadMeshFile();
                LoadMesh();
                Process();
                return;
            }

            if (ParentGraph != null)
            {
                ParentGraph.Schedule(this);
            }
        }
Ejemplo n.º 3
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                PrepareProcess();
                if (GraphInst != null)
                {
                    GraphInst.TryAndProcess();
                }
                return;
            }

            if (ParentGraph != null)
            {
                ParentGraph.Schedule(this);
            }
        }
Ejemplo n.º 4
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                GetParams();
                TryAndGenerateCharacters();
                GetTransforms();
                Process();

                return;
            }

            if (ParentGraph != null)
            {
                ParentGraph.Schedule(this);
            }
        }
Ejemplo n.º 5
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                if (input != null && input.HasInput)
                {
                    Process();
                }

                return;
            }

            if (input != null && input.HasInput)
            {
                if (ParentGraph != null)
                {
                    ParentGraph.Schedule(this);
                }
            }
        }
Ejemplo n.º 6
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                if (first.HasInput && second.HasInput)
                {
                    GetParams();
                    Process();
                }

                return;
            }

            if (first.HasInput && second.HasInput)
            {
                if (ParentGraph != null)
                {
                    ParentGraph.Schedule(this);
                }
            }
        }
Ejemplo n.º 7
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                if (input.HasInput && gradient != null)
                {
                    FillLUT();
                    Process();
                }

                return;
            }

            if (input.HasInput && gradient != null)
            {
                if (ParentGraph != null)
                {
                    ParentGraph.Schedule(this);
                }
            }
        }
Ejemplo n.º 8
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                if (q1.HasInput || q2.HasInput || q3.HasInput || q4.HasInput)
                {
                    GetParams();
                    CollectQuadData();
                    Process();
                }

                return;
            }

            if (ParentGraph != null)
            {
                if (q1.HasInput || q2.HasInput || q3.HasInput || q4.HasInput)
                {
                    ParentGraph.Schedule(this);
                }
            }
        }
Ejemplo n.º 9
0
        public override void TryAndProcess()
        {
            if (!Async)
            {
                if (function.HasExpectedOutput)
                {
                    Prepare();
                    BuildShader();
                    Process();
                }

                return;
            }

            if (function.HasExpectedOutput)
            {
                if (ParentGraph != null)
                {
                    ParentGraph.Schedule(this);
                }
            }
        }