Module |
|
Header |
/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaCapture.h |
Include |
#include "MediaCapture.h" |
virtual void OnCustomCapture_RenderingThread
(
FRHICommandListImmediate & RHICmdList,
const FCaptureBaseData & InBaseData,
TSharedPtr< FMediaCaptureUserData, ESPMode::ThreadSafe > InUserData,
FTexture2DRHIRef InSourceTexture,
FTextureRHIRef TargetableTexture,
FResolveParams & ResolveParams,
FVector2D CropU,
FVector2D CropV
)
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.