Direct3D11CaptureFramePool.CreateFreeThreaded 方法

定義

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

public:
 static Direct3D11CaptureFramePool ^ CreateFreeThreaded(IDirect3DDevice ^ device, DirectXPixelFormat pixelFormat, int numberOfBuffers, SizeInt32 size);
 static Direct3D11CaptureFramePool CreateFreeThreaded(IDirect3DDevice const& device, DirectXPixelFormat const& pixelFormat, int const& numberOfBuffers, SizeInt32 const& size);
public static Direct3D11CaptureFramePool CreateFreeThreaded(IDirect3DDevice device, DirectXPixelFormat pixelFormat, int numberOfBuffers, SizeInt32 size);
function createFreeThreaded(device, pixelFormat, numberOfBuffers, size)
Public Shared Function CreateFreeThreaded (device As IDirect3DDevice, pixelFormat As DirectXPixelFormat, numberOfBuffers As Integer, size As SizeInt32) As Direct3D11CaptureFramePool

參數

device
IDirect3DDevice

Direct3D 裝置。

pixelFormat
DirectXPixelFormat

所擷取畫面格的 DirectX 像素格式。

numberOfBuffers
Int32

int

要在其中儲存所擷取畫面格的緩衝區數目。

size
SizeInt32

每個緩衝區的大小。

傳回

使用指定輸入建立的框架組區。

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

適用於

另請參閱