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

#include <MaterialShared.h>

Public Member Functions

 FMaterialExpressionKey (UMaterialExpression *InExpression, int32 InOutputIndex)
 
 FMaterialExpressionKey (UMaterialExpression *InExpression, int32 InOutputIndex, const FGuid &InMaterialAttributeID, bool bInCompilingPreviousFrameKey)
 

Public Attributes

UMaterialExpressionExpression
 
int32 OutputIndex
 
FGuid MaterialAttributeID
 
bool bCompilingPreviousFrameKey
 

Friends

bool operator== (const FMaterialExpressionKey &X, const FMaterialExpressionKey &Y)
 
uint32 GetTypeHash (const FMaterialExpressionKey &ExpressionKey)
 

Detailed Description

Uniquely identifies a material expression output. Used by the material compiler to keep track of which output it is compiling.

Constructor & Destructor Documentation

◆ FMaterialExpressionKey() [1/2]

FMaterialExpressionKey::FMaterialExpressionKey ( UMaterialExpression InExpression,
int32  InOutputIndex 
)
inline

◆ FMaterialExpressionKey() [2/2]

FMaterialExpressionKey::FMaterialExpressionKey ( UMaterialExpression InExpression,
int32  InOutputIndex,
const FGuid InMaterialAttributeID,
bool  bInCompilingPreviousFrameKey 
)
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FMaterialExpressionKey ExpressionKey)
friend

◆ operator==

bool operator== ( const FMaterialExpressionKey X,
const FMaterialExpressionKey Y 
)
friend

Member Data Documentation

◆ bCompilingPreviousFrameKey

bool FMaterialExpressionKey::bCompilingPreviousFrameKey

◆ Expression

UMaterialExpression* FMaterialExpressionKey::Expression

◆ MaterialAttributeID

FGuid FMaterialExpressionKey::MaterialAttributeID

Attribute currently being compiled through a MatterialAttributes connection.

◆ OutputIndex

int32 FMaterialExpressionKey::OutputIndex

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