UMediaCapture::OnCustomCapture_RenderingThread

Callback when the buffer is ready to be copied on the GPU.

Windows
MacOS
Linux

References

Module

MediaIOCore

Header

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

Include

#include "MediaCapture.h"

Syntax

virtual void OnCustomCapture_RenderingThread
(
    FRHICommandListImmediate & RHICmdList,
    const FCaptureBaseData & InBaseData,
    TSharedPtr< FMediaCaptureUserData, ESPMode::ThreadSafe > InUserData,
    FTexture2DRHIRef InSourceTexture,
    FTextureRHIRef TargetableTexture,
    FResolveParams & ResolveParams,
    FVector2D CropU,
    FVector2D CropV
)

Remarks

Callback when the buffer is ready to be copied on the GPU. You need to copy yourself. You may use the callback to do texel operation or other conversion. The callback in called from a critical point be fast. The texture is valid for the duration of the callback. Only called when the conversion operation is custom.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss