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