Basic DirectX framework.