Navigation
API > API/Runtime > API/Runtime/Engine
You can use these insights for things like providing semantic colouring of the graph UI or accurately knowing what resources are referenced by the translated materials.
| Name | FMaterialInsights |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInsights.h |
| Include Path | #include "Materials/MaterialInsights.h" |
Syntax
struct FMaterialInsights
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMaterialInsights() |
Materials/MaterialInsights.h |
Structs
| Name | Remarks |
|---|---|
| FConnectionInsight | Nested structure that represents a single connection insight. |
| FUniformParameterAllocationInsight | Wraps information about a uniform parameter (ScalarParametr, VectorParameter) allocation in the uniform expression data buffer. An instance of this struct specifies wheere the components of a uniform parameter in the material were allocated in the preshader uniform buffer, that is which vec4 slot and which target components of that vec4. |
Enums
Public
| Name | Remarks |
|---|---|
| FUniformBufferSlotComponentType |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConnectionInsights | TArray< FConnectionInsight > | Array of connection insights. | Materials/MaterialInsights.h | |
| IRString | FString | String of the IR after translation. | Materials/MaterialInsights.h | |
| Legacy_ShaderStringParameters | TMap< FString, FString > | HLSL template string parameters for the legacy translator. | Materials/MaterialInsights.h | |
| LegacyHLSLCode | FString | HLSL full legacy generated source. | Materials/MaterialInsights.h | |
| New_ShaderStringParameters | TMap< FString, FString > | HLSL template string parameters for the new translator. | Materials/MaterialInsights.h | |
| NewHLSLCode | FString | HLSL full new generate source. | Materials/MaterialInsights.h | |
| UniformParameterAllocationInsights | TArray< FUniformParameterAllocationInsight > | Array of parameter allocation insights. | Materials/MaterialInsights.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Empty() |
Clears all insight data. | Materials/MaterialInsights.h |