Direct3D11CaptureFramePool 類別

定義

儲存應用程式所擷取的畫面格。

public ref class Direct3D11CaptureFramePool sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Direct3D11CaptureFramePool final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Direct3D11CaptureFramePool : System.IDisposable
Public NotInheritable Class Direct3D11CaptureFramePool
Implements IDisposable
繼承
Object Platform::Object IInspectable Direct3D11CaptureFramePool
屬性
實作

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

備註

版本歷程記錄

Windows 版本 SDK 版本 新增值
1809 17763 CreateFreeThreaded

屬性

DispatcherQueue

框架組區的 DispatcherQueue

方法

Close()

處置擷取框架組區並釋放其資源。

Create(IDirect3DDevice, DirectXPixelFormat, Int32, SizeInt32)

建立框架組區。

CreateCaptureSession(GraphicsCaptureItem)

根據指定的擷取專案和框架組區建立擷取會話。

CreateFreeThreaded(IDirect3DDevice, DirectXPixelFormat, Int32, SizeInt32)

建立框架組區,其中 移除 DispatcherQueue 的相依性,並在框架組區的內部背景工作執行緒上引發 FrameArrived 事件。

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

Recreate(IDirect3DDevice, DirectXPixelFormat, Int32, SizeInt32)

根據指定的輸入重新建立框架組區。

TryGetNextFrame()

嘗試從框架組區取得下一個擷取的框架。

事件

FrameArrived

擷取的框架儲存在框架組區時引發的事件。

適用於

另請參閱