UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialIRDebug.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#include "
Materials/MaterialIRCommon.h
"
5
6
#if WITH_EDITOR
7
8
namespace
MIR
9
{
10
11
// Dumps a Graphviz Dot file to "{ProjectLogDir}/MaterialIRDumpUseGraph.dot" containing the
12
// full graph of IR nodes (with a string representation of value parameters inside each node),
13
// connected by the "Use" relationship. A value node will look connected to another value node
14
// iff it uses that other value as argument (e.g. an "Add" instruction will link to its operand values).
15
void
DebugDumpIRUseGraph
(
const
FMaterialIRModule
& Module);
16
17
// Returns the IR generated by the module as a string.
18
FString
DebugDumpIR
(
FStringView
MaterialName,
const
FMaterialIRModule
& Module);
19
20
}
// namespace MIR
21
22
#endif
// #if WITH_EDITOR
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
MaterialIRCommon.h
TStringView< TCHAR >
MIR
Definition
MaterialExpression.h:36
Engine
Source
Runtime
Engine
Public
Materials
MaterialIRDebug.h
Generated by
1.9.8