| UMediaCapture::OnFrameCaptured_RenderingThread()
|
Module |
|
Header |
/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/ImageProviders/RemoteSessionMediaOutput.h |
Include |
#include "ImageProviders/RemoteSessionMediaOutput.h" |
Source |
/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Private/ImageProviders/RemoteSessionMediaOutput.cpp |
virtual void OnFrameCaptured_RenderingThread
(
const FCaptureBaseData & InBaseData,
TSharedPtr< FMediaCaptureUserData, ESPMode::ThreadSafe > InUserData,
void * InBuffer,
int32 Width,
int32 Height
)
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.