Share via


Direct3D11CaptureFramePool.Create Method

Definition

Creates a frame pool.

public:
 static Direct3D11CaptureFramePool ^ Create(IDirect3DDevice ^ device, DirectXPixelFormat pixelFormat, int numberOfBuffers, SizeInt32 size);
 static Direct3D11CaptureFramePool Create(IDirect3DDevice const& device, DirectXPixelFormat const& pixelFormat, int const& numberOfBuffers, SizeInt32 const& size);
public static Direct3D11CaptureFramePool Create(IDirect3DDevice device, DirectXPixelFormat pixelFormat, int numberOfBuffers, SizeInt32 size);
function create(device, pixelFormat, numberOfBuffers, size)
Public Shared Function Create (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.

Applies to