DirectX 12 Simple Animation Sample

Purpose of the Sample:

This sample builds off of the DirectX 12 “Hello World” sample. It is based heavily on Frank Luna’s implementation from his book “3D Game Programming with DirectX 12”.
This sample demonstrates how to animate an object by uploading the elapsed time to the GPU for use in the vertex and fragment shaders.

CGame.h

CGame.cpp

UploadBuffer.h

VertexShader.hlsl

PixelShader.hlsl

Download Sample App