Module |
|
Header |
/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaCapture.h |
Include |
#include "MediaCapture.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract, EditInlineNew, BlueprintType, HideCategories=(Object))
class UMediaCapture : public UObject
Abstract base class for media capture.
MediaCapture capture the texture of the Render target or the SceneViewport and sends it to an external media device. MediaCapture should be created by a MediaOutput.
Name | Description | ||
---|---|---|---|
|
UMediaOutput &#... |
MediaOutput |
|
|
OnStateChanged |
Called when the state of the capture changed. |
|
|
OnStateChangedNative |
Called when the state of the capture changed. |
Name | Description | |
---|---|---|
|
UMediaCapture ( |
Name | Description | ||
---|---|---|---|
|
CaptureActiveSceneViewport ( |
Stop the current capture if there is one. |
|
|
CaptureRenderTargetImpl ( |
||
|
CaptureSceneViewport ( |
Stop the actual capture if there is one. |
|
|
CaptureSceneViewportImpl ( |
||
|
CaptureTextureRenderTarget2D ( |
Stop the actual capture if there is one. |
|
|
TSharedPtr< ... |
GetCaptureFrameUserData_GameThread() |
Capture the data that will pass along to the callback. |
|
TSharedPtr< ... |
GetCapturingSceneViewport() |
|
|
EMediaCaptur... |
GetConversionOperation() |
|
|
GetCustomOutputPixelFormat ( |
Get the pixel format of the buffer when the conversion operation is custom. |
|
|
GetCustomOutputSize ( |
Get the size of the buffer when the conversion operation is custom. |
|
|
GetDesiredPixelFormat() |
Get the desired pixel format of the current capture. |
|
|
GetDesiredSize() |
Get the desired size of the current capture. |
|
|
EMediaCaptur... |
GetState() |
Get the current state of the capture. |
|
UTextureRend... |
GetTextureRenderTarget() |
|
|
HasFinishedProcessing() |
Check whether this capture has any processing left to do. |
|
|
OnCustomCapture_RenderingThread ( |
Callback when the buffer is ready to be copied on the GPU. |
|
|
OnFrameCaptured_RenderingThread ( |
Callback when the buffer was successfully copied to CPU ram. |
|
|
OnRHITextureCaptured_RenderingThread ( |
Callback when the buffer was successfully copied on the GPU ram. |
|
|
SetMediaOutput ( |
Set the media output. Can only be set when the capture is stopped. |
|
|
SetState ( |
||
|
ShouldCaptureRHITexture() |
Should we call OnFrameCaptured_RenderingThread() with a RHI Texture -or- copy the memory to CPU ram and call OnFrameCaptured_RenderingThread(). |
|
|
StopCapture ( |
Stop the previous requested capture. |
|
|
StopCaptureImpl ( |
||
|
UpdateRenderTargetImpl ( |
||
|
UpdateSceneViewport ( |
Update the current capture with a SceneViewport. |
|
|
UpdateSceneViewportImpl ( |
||
|
UpdateTextureRenderTarget2D ( |
Update the current capture with every frame for a TextureRenderTarget2D. |
|
|
ValidateMediaOutput() |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
GetDesc() |
Return a one line description of an object for viewing in the thumbnail view of the generic browser |
Name |
Description |
|
---|---|---|
|
FCaptureBaseData |