UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMaterialInsights::FUniformParameterAllocationInsight Struct Reference

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. More...

#include <MaterialInsights.h>

Public Attributes

uint16 BufferSlotIndex
 Index of the preshader buffer constant float4 slot (e.g. PreshaderBuffer[0])
 
uint16 BufferSlotOffset
 First component of the float4 above (e.g. 0 for .x, 1 for .y, etc)
 
uint16 ComponentsCount
 Number of components stored, same for the Uniform and the Parameter.
 
FUniformBufferSlotComponentType ComponentType: 8
 Parameter component type.
 
FName ParameterName
 The parameter name.
 

Detailed Description

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.

Member Data Documentation

◆ BufferSlotIndex

uint16 FMaterialInsights::FUniformParameterAllocationInsight::BufferSlotIndex

Index of the preshader buffer constant float4 slot (e.g. PreshaderBuffer[0])

◆ BufferSlotOffset

uint16 FMaterialInsights::FUniformParameterAllocationInsight::BufferSlotOffset

First component of the float4 above (e.g. 0 for .x, 1 for .y, etc)

◆ ComponentsCount

uint16 FMaterialInsights::FUniformParameterAllocationInsight::ComponentsCount

Number of components stored, same for the Uniform and the Parameter.

◆ ComponentType

FUniformBufferSlotComponentType FMaterialInsights::FUniformParameterAllocationInsight::ComponentType

Parameter component type.

◆ ParameterName

FName FMaterialInsights::FUniformParameterAllocationInsight::ParameterName

The parameter name.


The documentation for this struct was generated from the following file: