Page 1 of 1

Stopped rendering (Background rendering)

Posted: 21 Sep 2021, 00:05
by relife87
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

Re: Stopped rendering (Background rendering)

Posted: 21 Sep 2021, 10:38
by sfernandez
In your application class override RunInBackground property:
public partial class App : Application
{
  protected override bool RunInBackground => true;
  // ...
}

Re: Stopped rendering (Background rendering)

Posted: 21 Sep 2021, 11:03
by relife87
Thanks, this helped