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()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

Recreate(IDirect3DDevice, DirectXPixelFormat, Int32, SizeInt32)

指定された入力に基づいてフレーム プールを再作成します。

TryGetNextFrame()

フレーム プールから次にキャプチャされたフレームの取得を試みます。

イベント

FrameArrived

キャプチャされたフレームがフレーム プールに格納されるときに発生するイベント。

適用対象

こちらもご覧ください