UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMaterialUniformParameterEvaluation Class Reference

#include <MaterialShared.h>

Public Member Functions

 LAYOUT_FIELD (uint16, ParameterIndex)
 
 LAYOUT_FIELD (uint16, BufferOffset)
 

Detailed Description

Represents the evaluation of a material parameter directly to a byte offset in the preshader uniform buffer. A UniformParameterEvaluation avoids the overhead of executing an entire preshader when all it does is evaluate a parameter with a single instruction.

Member Function Documentation

◆ LAYOUT_FIELD() [1/2]

FMaterialUniformParameterEvaluation::LAYOUT_FIELD ( uint16  ,
BufferOffset   
)

Index of the parameter for UniformExpressionSet::GetNumericParameter()

◆ LAYOUT_FIELD() [2/2]

FMaterialUniformParameterEvaluation::LAYOUT_FIELD ( uint16  ,
ParameterIndex   
)

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