Initializing DirectX11.