IDXGIOutput2::SupportsOverlays method

12/05/2018

2 minutes to read

In this article

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.