Navigation
API > API/Plugins > API/Plugins/MediaIOCore > API/Plugins/MediaIOCore/UFileMediaCapture
Description
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.
Virtual Inheritance
- UMediaCapture::OnFrameCaptured_RenderingThread → UFileMediaCapture::OnFrameCaptured_RenderingThread
| Name | OnFrameCaptured_RenderingThread |
| Type | function |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/FileMediaCapture.h |
| Include Path | #include "FileMediaCapture.h" |
| Source | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/FileMediaCapture.cpp |
virtual void OnFrameCaptured_RenderingThread
(
const FCaptureBaseData & InBaseData,
TSharedPtr < FMediaCaptureUserData , ESPMode::ThreadSafe > InUserData,
void * InBuffer,
int32 Width,
int32 Height,
int32 BytesPerRow
)