I put together this simple framework a few weeks ago as a first step in converting my demo from C#/XNA to C++ using Direct3D. It’s fairly simple but works in much the same way the XNA wrapper does - Global Load, Initialise and Unload methods run once, the Draw method runs as often as it can and the Update method runs sixty times a second, passing through a delta time value that is used to compensate for variations in loop-cycle times. The entire Demo should be ported shortly, currently various maths algorithms are having to be converted due to the differences in the handedness of the two framework’s respective coordinate systems, and it has also been necessary to write a custom collision class for bounding volumes and rays.