Example #1
0
 public RenderInfo(ViewerInfo viewer, FrameStamp frameStamp)
 {
     this.Viewer     = viewer;
     this.FrameStamp = frameStamp;
 }
Example #2
0
        private FrameStamp GetFrameStamp()
        {
            lapWatch.Stop();
            globalWatch.Stop();

            FrameStamp frameStamp = new FrameStamp(frameNumber++,
                                                   globalWatch.Elapsed.TotalSeconds,
                                                   lapWatch.Elapsed.TotalSeconds);

            lapWatch.Reset();
            lapWatch.Start();
            globalWatch.Start();

            return frameStamp;
        }
Example #3
0
 public RenderInfo(ViewerInfo viewer, FrameStamp frameStamp)
 {
     this.Viewer = viewer;
     this.FrameStamp = frameStamp;
 }