UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RenderGraphTrace.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
HAL/Platform.h
"
6
#include "
RHITransientResourceAllocator.h
"
7
#include "
RenderGraphDefinitions.h
"
8
#include "
Trace/Trace.h
"
9
10
class
FRDGBuffer
;
11
class
FRDGBuilder
;
12
class
FRDGPass
;
13
class
FRDGTexture
;
14
class
FRDGViewableResource
;
15
namespace
UE
{
namespace
Trace
{
class
FChannel; } }
16
17
#if RDG_ENABLE_TRACE
18
19
UE_TRACE_CHANNEL_EXTERN
(
RDGChannel
,
RENDERCORE_API
);
20
21
class
FRDGTrace
22
{
23
public
:
24
RENDERCORE_API
FRDGTrace();
25
26
RENDERCORE_API
void
OutputGraphBegin
();
27
RENDERCORE_API
void
OutputGraphEnd
(
const
FRDGBuilder
& GraphBuilder);
28
29
RENDERCORE_API
void
AddResource(
FRDGViewableResource
* Resource);
30
RENDERCORE_API
void
AddTexturePassDependency
(
FRDGTexture
*
Texture
,
FRDGPass
*
Pass
);
31
RENDERCORE_API
void
AddBufferPassDependency
(
FRDGBuffer
*
Buffer
,
FRDGPass
*
Pass
);
32
33
FRHITransientAllocationStats
TransientAllocationStats
;
34
35
RENDERCORE_API
bool
IsEnabled
()
const
;
36
37
private
:
38
uint64
GraphStartCycles
{};
39
uint32
ResourceOrder
{};
40
bool
bEnabled;
41
};
42
43
#endif
Platform.h
uint64
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition
Platform.h:1117
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EDatasmithElementType::Texture
@ Texture
EPathPermissionPrefixResult::Pass
@ Pass
EPixelFormatCapabilities::Buffer
@ Buffer
RHITransientResourceAllocator.h
RenderGraphDefinitions.h
Trace.h
UE_TRACE_CHANNEL_EXTERN
#define UE_TRACE_CHANNEL_EXTERN(ChannelName,...)
Definition
Trace.h:448
uint32
uint32_t uint32
Definition
binka_ue_file_header.h:6
FRDGBuffer
Definition
RenderGraphResources.h:1321
FRDGBuilder
Definition
RenderGraphBuilder.h:49
FRDGPass
Definition
RenderGraphPass.h:217
FRDGTexture
Definition
RenderGraphResources.h:571
FRDGViewableResource
Definition
RenderGraphResources.h:291
FRHITransientAllocationStats
Definition
RHITransientResourceAllocator.h:489
AudioLinkFactory_Private::IsEnabled
bool IsEnabled()
Definition
IAudioLinkFactory.cpp:13
ENetTraceVerbosity::Trace
@ Trace
Definition
NetTraceConfig.h:23
UE
Definition
AdvancedWidgetsModule.cpp:13
Engine
Source
Runtime
RenderCore
Public
RenderGraphTrace.h
Generated by
1.9.8