IDXGIOutput2::SupportsOverlays method

Queries an adapter output for multiplane overlay support. If this API returns ‘TRUE’, multiple swap chain composition takes place in a performant manner using overlay hardware. If this API returns false, apps should avoid using foreground swap chains (that is, avoid using swap chains created with the DXGI_SWAP_CHAIN_FLAG_FOREGROUND_LAYER flag).

Syntax

BOOL SupportsOverlays(

);

Parameters

This method has no parameters.

Return Value

TRUE if the output adapter is the primary adapter and it supports multiplane overlays, otherwise returns FALSE.

Remarks

See CreateSwapChainForCoreWindow for info on creating a foreground swap chain.

Requirements

   
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dxgi1_3.h
Library Dxgi.lib

See Also

IDXGIOutput2