#include <IRenderCaptureProvider.h>
◆ ECaptureFlags
Flags to pass to capture API.
| Enumerator |
|---|
| ECaptureFlags_Launch | |
◆ BeginCapture()
Start capturing rendering information. Call from render thread only.
- Parameters
-
| RHICommandList | The command list to capture on. |
| DestFileName | The destination file name for saving the capture. (Optional). |
◆ CanSupportSubmissionThread()
| virtual bool IRenderCaptureProvider::CanSupportSubmissionThread |
( |
| ) |
const |
|
inlinevirtual |
Derived classes return false if they cannot support an RHI submission thread.
◆ CaptureFrame()
| virtual void IRenderCaptureProvider::CaptureFrame |
( |
FViewport * |
InViewport = nullptr, |
|
|
uint32 |
InFlags = 0, |
|
|
FString const & |
InDestFileName = FString() |
|
) |
| |
|
pure virtual |
Capture the next full frame of rendering information. Currently any capture details (number of frames etc.) must be set up by CVars exposed in the underlying capture tool. Call from main thread only.
- Parameters
-
| Viewport | The specific viewport to capture. (Optional). |
| bLaunch |
|
| DestFileName | The destination file name for saving the capture. (Optional). |
◆ EndCapture()
Stop capturing rendering information and save the captured data. Call from render thread only.
- Parameters
-
| RHICommandList | The command list to capture on. |
◆ Get()
Gets the first registered implementation of this feature. Will assert or crash if the specified feature is not available! You should call IsAvailable() first!
- Returns
- The feature.
◆ GetModularFeatureName()
| static FName IRenderCaptureProvider::GetModularFeatureName |
( |
| ) |
|
|
inlinestatic |
Get the feature name used for module resolution.
- Returns
- The feature name.
◆ IsAvailable()
| static bool IRenderCaptureProvider::IsAvailable |
( |
| ) |
|
|
inlinestatic |
Checks to see if the specified feature is available.
- Returns
- True if the feature is available right now and it is safe to call Get().
The documentation for this class was generated from the following file: