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