Navigation
API > API/Runtime > API/Runtime/MovieSceneCapture
A single, managed surface used as a render target resolution destination
| Name | FViewportSurfaceReader |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieSceneCapture/Public/FrameGrabber.h |
| Include Path | #include "FrameGrabber.h" |
Syntax
struct FViewportSurfaceReader
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FViewportSurfaceReader
(
EPixelFormat InPixelFormat, |
Constructor | FrameGrabber.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FViewportSurfaceReader() |
Destructor | FrameGrabber.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BlockUntilAvailable() |
Wait for this reader to become available, if it's currently in use | FrameGrabber.h | |
FIntPoint GetCurrentSize() |
Get the current size of the texture | FrameGrabber.h | |
void Initialize() |
Initialize this reader so that it can be waited on. | FrameGrabber.h | |
void Reset () |
Safely resets the state of the wait event. | FrameGrabber.h | |
void ResolveRenderTarget
(
FViewportSurfaceReader* RenderToReadback, |
Resolve the specified viewport RHI, calling the specified callback with the result. | FrameGrabber.h | |
void SetCaptureRect
(
FIntRect InCaptureRect |
Set the rectangle within which to read pixels | FrameGrabber.h | |
void SetWindowSize
(
FIntPoint InWindowSize |
Set the window size that we expect from the BackBuffer | FrameGrabber.h | |
bool WasEverQueued() |
FrameGrabber.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Resize
(
uint32 Width, |
Set up this surface to the specified width/height | FrameGrabber.h |