Jakob K
10/25/2021, 2:40 PMComposeScene has the hasInvalidations function, which I currently check periodically. Is there a way to setup a callback which will be executed if this value changes to true?Igor Demin
10/25/2021, 3:33 PMComposeScene has invalidate callback in its constructor, which will be called, when ComposeScene should be rerenderedJakob K
10/25/2021, 9:45 PMscene.render(canvas, System.nanoTime()) inside that invalidate callback does not lead to concurrency issues?Igor Demin
10/25/2021, 9:59 PMrender in it. You should schedule a new frame inside your rendering loop, render should be called inside it. See the exampleJakob K
10/25/2021, 10:15 PMGlfwCoroutineDispatcher() (and using that for the FrameDispatcher) is the important part, because it is only single threaded, am I right?Igor Demin
10/25/2021, 10:30 PM