共用方式為


Direct3D11CaptureFramePool.Recreate 方法

定義

根據指定的輸入重新建立框架組區。

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)

參數

device
IDirect3DDevice

Direct3D 裝置。

pixelFormat
DirectXPixelFormat

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

numberOfBuffers
Int32

int

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

size
SizeInt32

每個緩衝區的大小。

適用於