Click or drag to resize
AB4D logo

DXDiagnosticsCaptureNextFrame Method

CaptureNextFrame programmatically captures the next rendered frame with Visual Studio Graphics Debugging. This works for DirectXOverlay and DirectXImage presentation type. Capture is supported on Windows 8.1 and newer operating system, with installed Windows Software Development Kit (SDK) and only when the Visual Studio Graphics Debugging is running. The method returns true when capture is supported. If capture is not supported, false is returned.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static bool CaptureNextFrame(
	DXScene dxScene
)

Parameters

dxScene  DXScene
DXScene that will be captured

Return Value

Boolean
true when capture is supported; false if capture is not supported
Remarks

CaptureNextFrame programmatically captures the next rendered frame with Visual Studio Graphics Debugging.

This works for DirectXOverlay and DirectXImage presentation type.

Capture is supported on Windows 8.1 and newer operating system, with installed Windows Software Development Kit (SDK) and only when the Visual Studio Graphics Debugging is running.

The method returns true when capture is supported. If capture is not supported, false is returned.

It possible to check if capture is available with calling IsCaptureFrameSupported method.

See Also