Skip to content

Draw a triangle inside Electron's window using DirectX 11, mixing web and native content.

Notifications You must be signed in to change notification settings

ukabuer/directx-in-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draw a triangle inside Electron's window using DirectX 11, mixing web and native content.

preview

Limitations

The native content is rendered over a child window, rather than embedded into the web page. It won't be affected by any web content.

Requirement

  • Visual Studio with C++ support
  • CMake
  • NodeJS & npm

Build & Run

Build the native code

mkdir build && cd build
cmake ..
cmake --build .

Install Electron and run the application

npm install
npm start

About

Draw a triangle inside Electron's window using DirectX 11, mixing web and native content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published