Skip to content

Can you force an Immediate render update? #16357

Answered by maxkatz6
MechWarrior99 asked this question in Q&A
Discussion options

You must be logged in to vote

Rendering is done on a separated render thread, it will be delayed either way.
If your 3D scene uses custom render timer, you might want to use ICustomDrawOperation (to access render thread and draw from there) + window.RequestAnimationFrame() (to get notification when next frame starts) instead. You also can see our GPU interop samples, if you want to go deeper.

Let me know if anyone has any ideas. I don't minda bit of reflection if I need to.

With private API access, you can do at least this:

var renderRoot = (IRenderRoot)window;
renderRoot.Renderer.Paint(Bounds);

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MechWarrior99
Comment options

@kekekeks
Comment options

@MechWarrior99
Comment options

@kekekeks
Comment options

Answer selected by MechWarrior99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants