Navigation
API > API/Runtime > API/Runtime/MovieSceneCapture > API/Runtime/MovieSceneCapture/FViewportSurfaceReader
References
| Module | MovieSceneCapture |
| Header | /Engine/Source/Runtime/MovieSceneCapture/Public/FrameGrabber.h |
| Include | #include "FrameGrabber.h" |
| Source | /Engine/Source/Runtime/MovieSceneCapture/Private/FrameGrabber.cpp |
void ResolveRenderTarget
&40;
FViewportSurfaceReader &42; RenderToReadback,
const FTexture2DRHIRef & BackBuffer,
TFunction< void(FColor &42;, int32, int32)> Callback
&41;
Remarks
Resolve the specified viewport RHI, calling the specified callback with the result.
Parameters
| Name | Description |
|---|---|
| BackBuffer | The backbuffer to resolve |
| Callback | Callback to call with the locked texture data. This will be called on an undefined thread. |