Navigation
API > API/Plugins > API/Plugins/MediaIOCore > API/Plugins/MediaIOCore/UMediaCapture
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnCustomCapture_RenderingThread
(
FRDGBuilder& GraphBuilder, |
Callback when the source texture is ready to be copied on the GPU. | MediaCapture.h | |
virtual void OnCustomCapture_RenderingThread
(
FRDGBuilder& GraphBuilder, |
Callback when the source texture is ready to be copied on the GPU. | MediaCapture.h |
OnCustomCapture_RenderingThread(FRDGBuilder &, const FCaptureBaseData &, TSharedPtr< FMediaCaptureUserData, ESPMode::ThreadSafe >, FRDGTextureRef, FRDGTextureRef, const FRHICopyTextureInfo &, FVector2D, FVector2D)
Description
Callback when the source texture is ready to be copied on the GPU. You need to copy yourself. You may use the callback to add passes to the graph builder. Graph execution and output texture readback will be handled after this call. No need to do it in the override. 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 and the output resource type is Texture.
| Name | OnCustomCapture_RenderingThread |
| Type | function |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaCapture.h |
| Include Path | #include "MediaCapture.h" |
virtual void OnCustomCapture_RenderingThread
(
FRDGBuilder & GraphBuilder,
const FCaptureBaseData & InBaseData,
TSharedPtr < FMediaCaptureUserData , ESPMode::ThreadSafe > InUserData,
FRDGTextureRef InSourceTexture,
FRDGTextureRef OutputTexture,
const FRHICopyTextureInfo & CopyInfo,
FVector2D CropU,
FVector2D CropV
)
OnCustomCapture_RenderingThread(FRDGBuilder &, const FCaptureBaseData &, TSharedPtr< FMediaCaptureUserData, ESPMode::ThreadSafe >, FRDGTextureRef, FRDGBufferRef, const FRHICopyTextureInfo &, FVector2D, FVector2D)
Description
Callback when the source texture is ready to be copied on the GPU. You need to copy yourself. You may use the callback to add passes to the graph builder. Graph execution and output buffer readback will be handled after this call. No need to do it in the override. 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 and the output resource type is Buffer.
| Name | OnCustomCapture_RenderingThread |
| Type | function |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaCapture.h |
| Include Path | #include "MediaCapture.h" |
virtual void OnCustomCapture_RenderingThread
(
FRDGBuilder & GraphBuilder,
const FCaptureBaseData & InBaseData,
TSharedPtr < FMediaCaptureUserData , ESPMode::ThreadSafe > InUserData,
FRDGTextureRef InSourceTexture,
FRDGBufferRef OutputBuffer,
const FRHICopyTextureInfo & CopyInfo,
FVector2D CropU,
FVector2D CropV
)