Skip to content

Proof of concept demonstrating that you don't need C++ to use D3D.

License

Notifications You must be signed in to change notification settings

rdunnington/d3d12-hello-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d3d12-hello-triangle

Simple, linear C99 code that initializes a Win32 window, D3D12, and draws a triangle.

Build and run with build.bat

Open a x64 Visual Studio command prompt and enter these commands:

cd d3d12-hello-triangle
build.bat
demo.exe

Build and run with cmake

This assumes cmake is setup to generate Visual Studio projects by default.

cd d3d12-hello-triangle
mkdir cmake_build
cd cmake_build
cmake.exe ..\.
cmake.exe --build .
bin\Debug\demo.exe

About

Proof of concept demonstrating that you don't need C++ to use D3D.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published