Can I use bgfx textures in WPF? #3340
tictac1234
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am now using it with d3d11 sharedTexture In WPF d3dImage.
I have tested with the code below but it does not work.
(sharedTexture is a texture that can be shared by d3d9)
I tried the following method first, but the return value of overrideInternal() is 0.
Also, if bgfx::renderFrame() is not called first, an error occurs in overrideInternal.
In this case, the error occurs whether single-threaded or multithreaded (calling overrideInternal in a separate thread).
Is there any solution to this problem?
Or is it unsupported for sharedHandle in d3d11 (corresponding to d3d9)?
If this is not possible, we will honestly use d3d11 only.
Thanks for reading.
Beta Was this translation helpful? Give feedback.
All reactions