Navigation
API > API/Plugins > API/Plugins/MediaIOCore > API/Plugins/MediaIOCore/UMediaCapture
Description
Stop the actual capture if there is one. Then start a capture for a RHI resource.
For this to work, it is expected that CaptureImmediate_RenderThread is called periodically with the resource to capture.
| Name | CaptureRHITexture |
| Type | function |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaCapture.h |
| Include Path | #include "MediaCapture.h" |
| Source | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/MediaCapture.cpp |
bool CaptureRHITexture
(
const FRHICaptureResourceDescription & ResourceDescription,
FMediaCaptureOptions CaptureOptions
)
True if the capture was successfully initialize