DirectX SDK |
The ID3DXContext::UpdateFrame method updates a frame using either page flipping or blitting.
HRESULT UpdateFrame( DWORD flags );
If the method succeeds, the return value is S_OK.
If the method fails, the return value may be one of the following values:
If the D3DX_UPDATE_NOVSYNC flag is set in the flags parameter, a blit is used if the driver cannot flip without waiting for vertical synchronization (vsync) in full-screen mode.
For more information, see Flipping Surfaces.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Version: Requires DirectX 7.0.
Header: Declared in d3dxcore.h.
Library: Use d3dx.lib.