UMediaCapture::OnRHITextureCaptured_RenderingThread

Callback when the buffer was successfully copied on the GPU ram.

Windows
MacOS
Linux

References

Module

MediaIOCore

Header

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

Include

#include "MediaCapture.h"

Syntax

virtual void OnRHITextureCaptured_RenderingThread
(
    const FCaptureBaseData & InBaseData,
    TSharedPtr< FMediaCaptureUserData, ESPMode::ThreadSafe > InUserData,
    FTextureRHIRef InTexture
)

Remarks

Callback when the buffer was successfully copied on the GPU ram. The callback in called from a critical point. If you intend to process the texture, do so in another thread. The texture is 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