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

#include <MaterialShared.h>

Public Member Functions

FName GetParameterName () const
 
ENGINE_API void GetGameThreadTextureValue (const UMaterialInterface *MaterialInterface, const FMaterial &Material, UTexture *&OutValue) const
 
ENGINE_API void GetGameThreadTextureValue (const UMaterialInterface *MaterialInterface, const FMaterial &Material, USparseVolumeTexture *&OutValue) const
 
 LAYOUT_FIELD (FHashedMaterialParameterInfo, ParameterInfo)
 
 LAYOUT_FIELD_INITIALIZED (int32, TextureIndex, INDEX_NONE)
 
 LAYOUT_FIELD (TEnumAsByte< ESamplerSourceMode >, SamplerSource)
 
 LAYOUT_FIELD_INITIALIZED (uint8, VirtualTextureLayerIndex, 0u)
 

Friends

bool operator== (const FMaterialTextureParameterInfo &Lhs, const FMaterialTextureParameterInfo &Rhs)
 
bool operator!= (const FMaterialTextureParameterInfo &Lhs, const FMaterialTextureParameterInfo &Rhs)
 

Member Function Documentation

◆ GetGameThreadTextureValue() [1/2]

void FMaterialTextureParameterInfo::GetGameThreadTextureValue ( const UMaterialInterface MaterialInterface,
const FMaterial Material,
USparseVolumeTexture *&  OutValue 
) const

◆ GetGameThreadTextureValue() [2/2]

void FMaterialTextureParameterInfo::GetGameThreadTextureValue ( const UMaterialInterface MaterialInterface,
const FMaterial Material,
UTexture *&  OutValue 
) const

◆ GetParameterName()

FName FMaterialTextureParameterInfo::GetParameterName ( ) const
inline

◆ LAYOUT_FIELD() [1/2]

FMaterialTextureParameterInfo::LAYOUT_FIELD ( FHashedMaterialParameterInfo  ,
ParameterInfo   
)

◆ LAYOUT_FIELD() [2/2]

FMaterialTextureParameterInfo::LAYOUT_FIELD ( TEnumAsByte< ESamplerSourceMode ,
SamplerSource   
)

◆ LAYOUT_FIELD_INITIALIZED() [1/2]

FMaterialTextureParameterInfo::LAYOUT_FIELD_INITIALIZED ( int32  ,
TextureIndex  ,
INDEX_NONE   
)

◆ LAYOUT_FIELD_INITIALIZED() [2/2]

FMaterialTextureParameterInfo::LAYOUT_FIELD_INITIALIZED ( uint8  ,
VirtualTextureLayerIndex  ,
0u   
)

Friends And Related Symbol Documentation

◆ operator!=

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

◆ operator==

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

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