A template for a base Direct3D application.