Пример #1
0
        /// <inheritdoc />
        public void Dispose()
        {
            StopwatchUpdate.Stop();
            StopwatchUpdate = default;

            StopwatchFrame.Stop();
            StopwatchFrame = default;
        }
Пример #2
0
 private void DisposeStopwatchUpdate()
 {
     if (StopwatchUpdate == null)
     {
         throw new NullReferenceException("StopwatchUpdate in Engine\\Render\\FramesPerSecondCounter is NULL");
     }
     StopwatchUpdate.Stop();
     StopwatchUpdate = default;
 }