Beispiel #1
0
 public RenderInfo(ViewerInfo viewer, FrameStamp frameStamp)
 {
     this.Viewer     = viewer;
     this.FrameStamp = frameStamp;
 }
Beispiel #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;
        }
Beispiel #3
0
 public RenderInfo(ViewerInfo viewer, FrameStamp frameStamp)
 {
     this.Viewer = viewer;
     this.FrameStamp = frameStamp;
 }