Navigation
API > API/Runtime > API/Runtime/RenderCore
Helper for capturing within a scope. Handles both game and render thread. Fails gracefully if no IRenderCaptureProvider exists.
| Name | FScopedCapture |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderCaptureInterface.h |
| Include Path | #include "RenderCaptureInterface.h" |
Syntax
class FScopedCapture
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedCapture
(
bool bEnable, |
Use this constructor if not on rendering thread. | RenderCaptureInterface.h | |
FScopedCapture
(
bool bEnable, |
Use this constructor if on rendering thread. | RenderCaptureInterface.h | |
FScopedCapture
(
bool bEnable, |
Use this constructor if using RenderGraph to schedule work. | RenderCaptureInterface.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedCapture() |
RenderCaptureInterface.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCapture | bool | RenderCaptureInterface.h | ||
| bEvent | bool | RenderCaptureInterface.h | ||
| GraphBuilder | FRDGBuilder * | RenderCaptureInterface.h | ||
| RDGEvent | TOptional< TRDGEventScopeGuard< FRDGScope_RHI > > | RenderCaptureInterface.h | ||
| RHIBreadcrumb | TUniquePtr< TOptional< FRHIBreadcrumbEventManual > > | RenderCaptureInterface.h | ||
| RHICommandList | FRHICommandList * | RenderCaptureInterface.h |