UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RenderCaptureInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "HAL/Platform.h"
7#include "RenderGraphEvent.h"
8#include "RHIBreadcrumbs.h"
9
10class FRDGBuilder;
11class FRHICommandList;
12
15{
21 {
22 public:
24 RENDERCORE_API FScopedCapture(bool bEnable, TCHAR const* InEventName = nullptr, TCHAR const* InFileName = nullptr);
26 RENDERCORE_API FScopedCapture(bool bEnable, FRHICommandList* InRHICommandList, TCHAR const* InEventName = nullptr, TCHAR const* InFileName = nullptr);
28 RENDERCORE_API FScopedCapture(bool bEnable, FRDGBuilder& InGraphBuilder, TCHAR const* InEventName = nullptr, TCHAR const* InFileName = nullptr);
29
31
32 private:
33 bool bCapture;
34 bool bEvent;
35 FRHICommandList* RHICommandList;
36 FRDGBuilder* GraphBuilder;
37#if RDG_EVENTS
39#endif
40#if WITH_RHI_BREADCRUMBS
42#endif
43 };
44}
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition RenderGraphBuilder.h:49
Definition RHICommandList.h:3819
Definition RenderCaptureInterface.h:21
RENDERCORE_API ~FScopedCapture()
Definition RenderCaptureInterface.cpp:91
Definition UniquePtr.h:107
Definition RenderCaptureInterface.cpp:9
Definition Optional.h:131