Skip to content
Projects

rdunnington/d3d12-hello-triangle

View on GitHub

rdunnington/d3d12-hello-triangle has 48 GitHub stars and 4 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 16:30 UTC. Last push 2023-07-08.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

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

Creative & Media

README.md

Original

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