Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 1.33 KB

compositiongraphicsdevice_captureasync_203121654.md

File metadata and controls

48 lines (26 loc) · 1.33 KB
-api-id -api-type
M:Windows.UI.Composition.CompositionGraphicsDevice.CaptureAsync(Windows.UI.Composition.Visual,Windows.Graphics.SizeInt32,Windows.Graphics.DirectX.DirectXPixelFormat,Windows.Graphics.DirectX.DirectXAlphaMode,System.Single)
winrt method

Windows.UI.Composition.CompositionGraphicsDevice.CaptureAsync(Windows.UI.Composition.Visual,Windows.Graphics.SizeInt32,Windows.Graphics.DirectX.DirectXPixelFormat,Windows.Graphics.DirectX.DirectXAlphaMode,System.Single)

-description

Captures various source elements, including visual trees owned by an application, to a composition surface.

-parameters

-param captureVisual

The visual to capture.

-param size

The size in pixels of the surface.

-param pixelFormat

The pixel format of the surface.

-param alphaMode

How the alpha channel should be handled.

-param sdrBoost

The amount to boost SDR.

-returns

An asynchronous operation that returns an ICompositionSurface upon successful completion.

-remarks

-see-also

-examples