This project has moved and is read-only. For the latest updates, please go here.


Support for DirectX 12


DirectX Tool Kit currently supports DirectX 11.x. While not everything in the tool kit is applicable to DirectX 12, a subset of the graphics functionality makes sense.
  • DDSTextureLoader
  • WICTextureLoader
  • ScreenGrab
  • SpriteBatch
  • SpriteFont
  • GeometricPrimitive
  • Model
DirectX 12 has a very different approach to state and shaders, so perhaps that would be best done by implementing a PSOFactory. This would likely be used in place of CommonStates and Effects for DirectX 12.

DirectXHelpers12 would be a good place for the new SetDebugObjectName template and an UpdateSubResource equivalent.

Also a GenerateMips helper since 'auto-gen' mips is not a DX12 feature.

A LinearAllocator for handling communication with the GPU is also essential.
Closed Sep 15, 2016 at 7:58 AM by walbourn


walbourn wrote May 8, 2015 at 11:05 PM

Note that you can currently use DirectX Tool Kit in DX12 apps through Direct3D 11 interop.

Audio, GamePad, and SimpleMath work "as is".

walbourn wrote Sep 15, 2016 at 7:58 AM

DirectX Tool Kit for DirectX 12 is available on GitHub.