How to use electron with c++ DirectX?


#1

Hi,

I am trying to create a Desktop app using HTML and JavaScript. I am using C++ and DirectX to open and render 3D files. I would like to know if it is possible to use electron for this purpose? and if yes, are there any examples of using electron with DirectX because I am new to the graphics field.

Thanks


#2

WebGL might be your option as it is native for Web https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL


#3

Yeah I know that, but in my case I have to use DirectX. That is why I am struggling.