Platform SDK: DirectX

Using Direct3DX to Update the Scene

The Direct3DX utility library can update the frame of a scene by using either page flipping or blitting.

    hr = g_pD3DX->UpdateFrame(D3DX_UPDATE_NOVSYNC);

The preceding code uses the ID3DXContext::UpdateFrame method to update the frame by setting the D3DX_UPDATE_NOVSYNC flag. As a result, this call specifies that a blit should be used if the driver cannot flip without waiting for vertical synchronization (vsync) in full-screen mode.