Ejemplo n.º 1
0
        public RayDispatch(ThreadStart threadStart, object instructions,
                           RayDispatcher dispatcher)
        {
            Thread = new Thread(threadStart);
            Instructions = instructions;
            this.dispatcher = dispatcher;

            if (instructions is RayGroup)
                ((RayGroup)instructions).dispatch = this;

            Thread.Start();
        }
Ejemplo n.º 2
0
        public RayDispatch(ThreadStart threadStart, object instructions,
                           RayDispatcher dispatcher)
        {
            Thread          = new Thread(threadStart);
            Instructions    = instructions;
            this.dispatcher = dispatcher;

            if (instructions is RayGroup)
            {
                ((RayGroup)instructions).dispatch = this;
            }

            Thread.Start();
        }
Ejemplo n.º 3
0
 public ViewRasterizer()
 {
     rayDispatch = new RayDispatcher(4);
 }