jingwood / d2dlib

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
MIT License
245 stars 43 forks source link

Can I use OnRender from thread? #73

Open Vedan opened 2 years ago

Vedan commented 2 years ago

Hello,

Can I using draw on the D2DGraphics from thread?

Thanks, Paul

jingwood commented 2 years ago

I think it is possible.

Paliscope commented 2 years ago

I am not sure it works. I have tried to do it, but since I need the graphics object and that is created in the main GUI thread I have had no luck to paint from a thread. Would love to make this working!