Esempio n. 1
0
 public BucketThread(int threadID, MultipassRenderer renderer)
 {
     this.threadID       = threadID;
     istate              = new IntersectionState();
     cache               = renderer.shadingCache ? new ShadingCache() : null;
     this.renderer       = renderer;
     thread              = new Thread(new ThreadStart(run));
     thread.IsBackground = true;
     this.renderer       = renderer;
 }
Esempio n. 2
0
 public BucketThread(int threadID,  MultipassRenderer renderer)
 {
     this.threadID = threadID;
     istate = new IntersectionState();
     cache = renderer.shadingCache ? new ShadingCache() : null;
     this.renderer = renderer;
     thread = new Thread(new ThreadStart(run));
     thread.IsBackground = true;
     this.renderer = renderer;
 }