BGFX with WebGPU and SDL for Native targeting of MacOS and Windows. #3195
Unanswered
aagrawal05
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
-
How would I go about using WebGPU Dawn to attach to a Native SDL context targeting Windows and macOS using BGFX?
According to this SDL forum post it should be possible—"But you can definitely use WebGPU with SDL. One can use SDL for all the window management, input, audio, etc and use WebGPU with the SDL-created window, the same way that one can with Direct3D, etc now. I haven’t tried it, but I assume one could use Dawn for this purpose".
I've tried building the examples but am unsure how to change the rendering backend; I've pored through the source code, but I'm having some trouble understanding the
examples
harness and how to change between multiple compatible rendering engines (e.g. between WebGL and WebGPU) or even using WebGPU on a native window.Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions