relife87
Topic Author
Posts: 8
Joined: 17 Aug 2021, 18:27

Stopped rendering (Background rendering)

21 Sep 2021, 00:05

Hi, cannot find how change this - but, after window leave focus and mouse, window stop rendering with binding properties and Dispatcher, i'm known - game engines with default have property "rendering in background", but cannot find in noesis

Using sdk for C#(.NET)

for reproduce (windows 10 - D3D11)
Create any timer on code for increment value
Bind this value from xaml
Leave focus and cursor from window
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Stopped rendering (Background rendering)

21 Sep 2021, 10:38

In your application class override RunInBackground property:
public partial class App : Application
{
  protected override bool RunInBackground => true;
  // ...
}
 
relife87
Topic Author
Posts: 8
Joined: 17 Aug 2021, 18:27

Re: Stopped rendering (Background rendering)

21 Sep 2021, 11:03

Thanks, this helped

Who is online

Users browsing this forum: Ahrefs [Bot] and 77 guests