FViewportSurfaceReader::ResolveRenderTarget

Resolve the specified viewport RHI, calling the specified callback with the result.

Windows
MacOS
Linux

References

Module

MovieSceneCapture

Header

/Engine/Source/Runtime/MovieSceneCapture/Public/FrameGrabber.h

Include

#include "FrameGrabber.h"

Source

/Engine/Source/Runtime/MovieSceneCapture/Private/FrameGrabber.cpp

Syntax

void ResolveRenderTarget
(
    FViewportSurfaceReader * RenderToReadback,
    const FTexture2DRHIRef & BackBuffer,
    TFunction< void *, int32, int32)> Callback
)

Remarks

Resolve the specified viewport RHI, calling the specified callback with the result.

Parameters

Parameter

Description

BackBuffer

The backbuffer to resolve

Callback

Callback to call with the locked texture data. This will be called on an undefined thread.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss