IDXGIOutput::WaitForVBlank method

Halt a thread until the next vertical blank occurs.

Syntax


HRESULT WaitForVBlank();

Parameters

This method has no parameters.

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

Header

DXGI.h

Library

DXGI.lib

See also

IDXGIOutput

 

 

Show: