Getting a texture to render with AvaloniaUI #346
Unanswered
MechWarrior99
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the C# bindings, and am trying to render Diligent in to a AvaloniaUI control. The best way to do this is via GPUInterop, but I cam struggling to figure out how to get a sharable texture from Diligent.
The other option that is simplier is to create a copy of the texture from the swapchain and copy the data to a WritableBitMap from AvaloniaUI. But I am also not sure how to get a copy of the texture or get the data to copy.
Admitadly I am not the most well versed in graphics and rendering APIs. Though doing my best to learn. Any points in the right direction or snippets of code would be great! Thank you!
Beta Was this translation helpful? Give feedback.
All reactions