Share via


Direct3D11CaptureFramePool.Recreate Method

Definition

Recreates the frame pool based on the given inputs.

public:
 virtual void Recreate(IDirect3DDevice ^ device, DirectXPixelFormat pixelFormat, int numberOfBuffers, SizeInt32 size) = Recreate;
void Recreate(IDirect3DDevice const& device, DirectXPixelFormat const& pixelFormat, int const& numberOfBuffers, SizeInt32 const& size);
public void Recreate(IDirect3DDevice device, DirectXPixelFormat pixelFormat, int numberOfBuffers, SizeInt32 size);
function recreate(device, pixelFormat, numberOfBuffers, size)
Public Sub Recreate (device As IDirect3DDevice, pixelFormat As DirectXPixelFormat, numberOfBuffers As Integer, size As SizeInt32)

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.

Applies to