예제 #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();
        }
예제 #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();
        }
예제 #3
0
 public ViewRasterizer()
 {
     rayDispatch = new RayDispatcher(4);
 }