IDXGIOutput::WaitForVBlank method (dxgi.h)

Halt a thread until the next vertical blank occurs.

Syntax

HRESULT WaitForVBlank();

Return value

Type: HRESULT

Returns one of the following DXGI_ERROR.

Remarks

A vertical blank occurs when the raster moves from the lower right corner to the upper left corner to begin drawing the next frame.

Requirements

   
Target Platform Windows
Header dxgi.h
Library DXGI.lib

See also

IDXGIOutput