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

#include <MaterialParameters.h>

Public Member Functions

 FMaterialParameterInfo (const TCHAR *InName, EMaterialParameterAssociation InAssociation=EMaterialParameterAssociation::GlobalParameter, int32 InIndex=INDEX_NONE)
 
 FMaterialParameterInfo (FName InName=FName(), EMaterialParameterAssociation InAssociation=EMaterialParameterAssociation::GlobalParameter, int32 InIndex=INDEX_NONE)
 
 FMaterialParameterInfo (const struct FMemoryImageMaterialParameterInfo &Rhs)
 
ENGINE_API void AppendString (FString &Out) const
 
ENGINE_API void Append (FShaderKeyGenerator &KeyGen) const
 
FString ToString () const
 
ENGINE_API bool RemapLayerIndex (TArrayView< const int32 > IndexRemap, FMaterialParameterInfo &OutResult) const
 

Public Attributes

FName Name
 
TEnumAsByte< EMaterialParameterAssociationAssociation
 
int32 Index
 

Friends

FArchiveoperator<< (FArchive &Ar, FMaterialParameterInfo &Ref)
 
bool operator== (const FMaterialParameterInfo &Lhs, const FMaterialParameterInfo &Rhs)
 
bool operator!= (const FMaterialParameterInfo &Lhs, const FMaterialParameterInfo &Rhs)
 
uint32 GetTypeHash (const FMaterialParameterInfo &Value)
 

Constructor & Destructor Documentation

◆ FMaterialParameterInfo() [1/3]

FMaterialParameterInfo::FMaterialParameterInfo ( const TCHAR InName,
EMaterialParameterAssociation  InAssociation = EMaterialParameterAssociation::GlobalParameter,
int32  InIndex = INDEX_NONE 
)
inline

◆ FMaterialParameterInfo() [2/3]

FMaterialParameterInfo::FMaterialParameterInfo ( FName  InName = FName(),
EMaterialParameterAssociation  InAssociation = EMaterialParameterAssociation::GlobalParameter,
int32  InIndex = INDEX_NONE 
)
inline

◆ FMaterialParameterInfo() [3/3]

FMaterialParameterInfo::FMaterialParameterInfo ( const struct FMemoryImageMaterialParameterInfo Rhs)
inlineexplicit

Member Function Documentation

◆ Append()

void FMaterialParameterInfo::Append ( FShaderKeyGenerator KeyGen) const

◆ AppendString()

void FMaterialParameterInfo::AppendString ( FString &  Out) const

◆ RemapLayerIndex()

bool FMaterialParameterInfo::RemapLayerIndex ( TArrayView< const int32 IndexRemap,
FMaterialParameterInfo OutResult 
) const

◆ ToString()

FString FMaterialParameterInfo::ToString ( ) const
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FMaterialParameterInfo Value)
friend

◆ operator!=

bool operator!= ( const FMaterialParameterInfo Lhs,
const FMaterialParameterInfo Rhs 
)
friend

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FMaterialParameterInfo Ref 
)
friend

◆ operator==

bool operator== ( const FMaterialParameterInfo Lhs,
const FMaterialParameterInfo Rhs 
)
friend

Member Data Documentation

◆ Association

TEnumAsByte<EMaterialParameterAssociation> FMaterialParameterInfo::Association

Whether this is a global parameter, or part of a layer or blend

◆ Index

int32 FMaterialParameterInfo::Index

Layer or blend index this parameter is part of. INDEX_NONE for global parameters.

◆ Name

FName FMaterialParameterInfo::Name

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