UFileMediaCapture::OnFrameCaptured_RenderingThread

Callback when the buffer was successfully copied to CPU ram.

Windows
MacOS
Linux

Override Hierarchy

UMediaCapture::OnFrameCaptured_RenderingThread()

UFileMediaCapture::OnFrameCaptured_RenderingThread()

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/FileMediaCapture.h

Include

#include "FileMediaCapture.h"

Source

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/FileMediaCapture.cpp

Syntax

virtual void OnFrameCaptured_RenderingThread
(
    const FCaptureBaseData & InBaseData,
    TSharedPtr< FMediaCaptureUserData, ESPMode::ThreadSafe > InUserData,
    void * InBuffer,
    int32 Width,
    int32 Height
)

Remarks

Callback when the buffer was successfully copied to CPU ram. The callback in called from a critical point. If you intend to process the buffer, do so in another thread. The buffer is only valid for the duration of the callback.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss