You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9a475d9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: GameWorld/GameWorldCore/GameWorld.Core/WpfWindow/D3D11Host.cs
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -100,10 +100,17 @@ public static bool UseASingleSharedGraphicsDevice
100
100
publicboolIsFixedTimeStep=>false;
101
101
102
102
/// <summary>
103
-
/// Gets or sets the target time between two updates. Defaults to 60fps.
104
-
/// WPF is limiting its rendering to 60 FPS max, therefore setting a target value higher than 60 fps (lower than TimeSpan.FromSeconds(1 / 60.0)) will have no effect.
103
+
/// Gets or sets the minimum time between two updates. Defaults to zero: draw on every WPF frame.
104
+
/// WPF raises CompositionTarget.Rendering once per display refresh, not at a fixed 60 FPS, and a
105
+
/// skipped frame's time is not carried over, so a cap that does not divide the refresh period
106
+
/// drops whole frames - 16 ms on a 75 Hz display drew every other frame, 37 FPS.
0 commit comments