Module |
|
Header |
/Engine/Source/Runtime/MovieSceneCapture/Public/FrameGrabber.h |
Include |
#include "FrameGrabber.h" |
class FFrameGrabber
Class responsible for resolving render target data for a specific viewport in an efficient manner Internally, the class uses a fixed array of resolution surfaces, and dispatches rendering commands to resolve the viewport render target into a specific index into this array. This means we can resolve the render target data without having to wait, or flush rendering commands.
Name | Description | |
---|---|---|
|
FFrameGrabber ( |
Construct this frame grabber |
Name | Description | |
---|---|---|
|
~FFrameGrabber() |
Destructor |
Name | Description | ||
---|---|---|---|
|
void |
CaptureThisFrame ( |
Instruct the frame grabber capture this frame, when it receives an event from slate |
|
GetCapturedFrames() |
Retrieve any frames we may have captured |
|
|
bool |
HasOutstandingFrames() |
Check whether we have any outstanding frames or not |
|
bool |
IsCapturingFrames() |
Check whether we're capturing frames or not |
|
void |
OnBackBufferReadyToPresentCallback ( |
Callback for when a backbuffer is ready for reading (called on render thread) |
|
void |
OnFrameReady ( |
Called when the specified surface index has been locked for reading with the render target data (called on render thread) |
|
void |
Shutdown() |
Shut down this grabber, ensuring that any threaded operations are finished |
|
void |
StartCapturingFrames() |
Instruct the frame grabber to start capturing frames |
|
void |
StopCapturingFrames() |
Stop capturing frames |
Name |
Description |
|
---|---|---|
|
EFrameGrabberState |
The current state of the grabber |