Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialInsights
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.
| Name | FUniformParameterAllocationInsight |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInsights.h |
| Include Path | #include "Materials/MaterialInsights.h" |
Syntax
struct FUniformParameterAllocationInsight
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BufferSlotIndex | uint16 | Index of the preshader buffer constant float4 slot (e.g. PreshaderBuffer[0]) | Materials/MaterialInsights.h | |
| BufferSlotOffset | uint16 | First component of the float4 above (e.g. 0 for .x, 1 for .y, etc) | Materials/MaterialInsights.h | |
| ComponentsCount | uint16 | Number of components stored, same for the Uniform and the Parameter. | Materials/MaterialInsights.h | |
| ComponentType | FUniformBufferSlotComponentType | Parameter component type. | Materials/MaterialInsights.h | |
| ParameterName | FName | The parameter name. | Materials/MaterialInsights.h |