Ejemplo n.º 1
0
        /// <inheritdoc />
        public void Dispose()
        {
            StopwatchUpdate.Stop();
            StopwatchUpdate = default;

            StopwatchFrame.Stop();
            StopwatchFrame = default;
        }
Ejemplo n.º 2
0
 private void DisposeStopwatchUpdate()
 {
     if (StopwatchUpdate == null)
     {
         throw new NullReferenceException("StopwatchUpdate in Engine\\Render\\FramesPerSecondCounter is NULL");
     }
     StopwatchUpdate.Stop();
     StopwatchUpdate = default;
 }