Navigation
API > API/Plugins > API/Plugins/NDIMedia > API/Plugins/NDIMedia/UNDIMediaCapture
- UMediaCapture::OnFrameCaptured_RenderingThread()
- UNDIMediaCapture::OnFrameCaptured_RenderingThread()
References
| Module | NDIMedia |
| Header | /Engine/Plugins/Media/NDIMedia/Source/NDIMedia/Public/NDIMediaCapture.h |
| Include | #include "NDIMediaCapture.h" |
| Source | /Engine/Plugins/Media/NDIMedia/Source/NDIMedia/Private/NDIMediaCapture.cpp |
virtual void OnFrameCaptured_RenderingThread
(
const FCaptureBaseData & InBaseData,
TSharedPtr < FMediaCaptureUserData , ESPMode::ThreadSafe > InUserData,
void * InBuffer,
int32 Width,
int32 Height,
int32 BytesPerRow
)
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.