directx11 cube example on the run