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