Navigation
API > API/Plugins > API/Plugins/RivermaxMedia
Inheritance Hierarchy
- UMediaCapture
- IRivermaxOutputStreamListener
- URivermaxMediaCapture
References
| Module | RivermaxMedia |
| Header | /Engine/Plugins/VirtualProduction/Rivermax/RivermaxMedia/Source/RivermaxMedia/Public/RivermaxMediaCapture.h |
| Include | #include "RivermaxMediaCapture.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URivermaxMediaCapture :
public UMediaCapture,
public UE::RivermaxCore::IRivermaxOutputStreamListener
Remarks
Output Media for Rivermax streams.
Functions
| Type | Name | Description | |
|---|---|---|---|
| UE::RivermaxCore::FRivermaxOutputStreamOptions | Rivermax capture specific API to provide stream options access |
Overridden from UMediaCapture
| Type | Name | Description | |
|---|---|---|---|
| FRDGBufferDesc | GetCustomBufferDescription
(
const FIntPoint& InDesiredSize |
Get the desired output buffer description when the conversion is custom and operating in buffer resource type | |
| EMediaCaptureResourceType | Get the desired output resource type when the conversion is custom. | ||
| FIntPoint | GetCustomOutputSize
(
const FIntPoint& InSize |
For custom conversion, methods that need to be overriden | |
| bool | Check whether this capture has any processing left to do. | ||
| bool | Initialization method to prepare implementation for capture | ||
| bool | Returns true if media capture implementation supports synchronization logic. | ||
| void | OnCustomCapture_RenderingThread
(
FRDGBuilder& GraphBuilder, |
Callback when the source texture is ready to be copied on the GPU. | |
| void | OnFrameCaptured_AnyThread
(
const FCaptureBaseData& InBaseData, |
Callback when the buffer was successfully copied to CPU ram. | |
| void | OnFrameCaptured_RenderingThread
(
const FCaptureBaseData& InBaseData, |
Callback when the buffer was successfully copied to CPU ram. | |
| void | OnRHIResourceCaptured_AnyThread
(
const FCaptureBaseData& InBaseData, |
||
| bool | Should we call OnFrameCaptured_RenderingThread() with a RHI resource -or- readback the memory to CPU ram and call OnFrameCaptured_RenderingThread(). | ||
| void | StopCaptureImpl
(
bool bAllowPendingFrameToBeProcess |
||
| bool | Whether the capture callbacks can be called on any thread. | ||
| bool | Whether the capture implementation supports restarting on input format change. | ||
| bool | UpdateRenderTargetImpl
(
UTextureRenderTarget2D* InRenderTarget |
||
| bool | UpdateSceneViewportImpl
(
TSharedPtr< FSceneViewport >& InSceneViewport |
||
| bool |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Called to check if the object is ready for FinishDestroy. |
Overridden from IRivermaxOutputStreamListener
| Type | Name | Description | |
|---|---|---|---|
| void | OnInitializationCompleted
(
bool bHasSucceed |
Initialization completion callback with result | |
| void | Called when stream is about to enqueue new frame | ||
| void | Called when stream has encountered an error and has to stop |