Direct3D11CaptureFramePool.CreateFreeThreaded Method

Definition

Creates a frame pool where the dependency on the DispatcherQueue is removed and the FrameArrived event is raised on the frame pool's internal worker thread.

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

Parameters

device
IDirect3DDevice

The Direct3D device.

pixelFormat
DirectXPixelFormat

The DirectX pixel format of the captured frames.

numberOfBuffers
Int32

int

The number of buffers in which to store captured frames.

size
SizeInt32

The size of each buffer.

Returns

A frame pool created with the given inputs.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to

See also