IDXGIOutput::WaitForVBlank Method

Halt a thread until the next vertical blank occurs.

On Xbox One, this method is not implemented, and returns DXGI_ERROR_UNSUPPORTED.

Syntax

public:
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

Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGIOutput

IDXGIOutput Members