CaptureFrameRenderedTo
TVideoGrabber.CaptureFrameRenderedTo |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Captures the frame being rendered
Declaration
function CaptureFrameRenderedTo (DisplayIndex: LongInt; Dest: TFrameCaptureDest; FileName: string): Boolean;
bool __fastcall CaptureFrameRenderedTo(int DisplayIndex, TFrameCaptureDest Dest, System::wchar_t *FileName);
Description
Capture the current frame being displayed in the video renderer.
Works like CaptureFrameSyncTo, but does not require the frame grabber to be enabled, allowing to capture frames and saving CPU.
This function is supported only by the following video renderers:
vr_EVR, vr_VMR9, vr_VMR7, vr_StandardRenderer, vr_madVR
Note :
Invoking this function with vr_StandardRenderer produces a (very short) pause/resume of the video stream.
It is instant with other video renderers.
See Also
Frame capture features