-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)
Captures various source elements, including visual trees owned by an application, to a composition surface.
The visual to capture.
The size in pixels of the surface.
The pixel format of the surface.
How the alpha channel should be handled.
The amount to boost SDR.
An asynchronous operation that returns an ICompositionSurface
upon successful completion.