Skip to content

Utilities

Chuck Walbourn edited this page Dec 20, 2021 · 10 revisions

For samples, I've created a number of utility headers that help fill in gaps between the device & swapchain templates and the functionality provided by the DirectX Tool Kit. They are all completely optional, but handy. They are referenced in the tutorials and under the class-by-class wiki pages, and here is an index:

Header Source Notes
AnimatedTexture.h n/a Used for a SpriteFont tutorial. See wiki.
Animation.h Animation.cpp Used for a vertex skinning tutorial. See wiki.
ControllerFont.h n/a Helper for using game controller symbols mixed with text. See wiki.
DebugDraw.h DebugDraw.cpp Draws outlined 3D shapes for debug use. See wiki.
DeviceResources.h DeviceResources.cpp Helper for the Direct3D device & swapchain. See wiki.
MSAAHelper.h MSAAHelper.cpp Helper for implementing MSAA rendering. See wiki.
ReadData.h n/a Helper for loading custom shaders from compiled cso blobs.
RenderTexture.h RenderTexture.cpp Helper for implementing render to texture. See wiki.
ScrollingBackground.h n/a Used for a SpriteFont tutorial. See wiki.
SpriteSheet.h n/a Used for a SpriteFont tutorial. See wiki.
SkyboxEffect.h SkyboxEffect.cpp Simple 3D skybox (requires VS, PS, and hlsli shader files as well). See the wiki.
TextConsole.h TextConsole.cpp Helper for a terminal-style printf text output on a graphics surface using SpriteFont. See wiki.

See also Compressing assets

For Use

  • Universal Windows Platform apps
  • Windows desktop apps
  • Windows 11
  • Windows 10
  • Windows 8.1
  • Xbox One

Architecture

  • x86
  • x64
  • ARM64

For Development

  • Visual Studio 2022
  • Visual Studio 2019 (16.11)
  • clang/LLVM v12 - v18
  • MinGW 12.2, 13.2
  • CMake 3.20

Related Projects

DirectX Tool Kit for DirectX 12

DirectXMesh

DirectXTex

DirectXMath

Win2D

Tools

Test Suite

Model Viewer

Content Exporter

DxCapsViewer

Clone this wiki locally