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

#include <MaterialShared.h>

Public Member Functions

 FMaterialShaderMapId ()
 
 ~FMaterialShaderMapId ()
 
void Serialize (FArchive &Ar, bool bLoadingCooked)
 
bool IsCookedId () const
 
bool IsValid () const
 
SIZE_T GetSizeBytes () const
 
ENGINE_API bool Equals (const FMaterialShaderMapId &ReferenceSet, bool bWithStaticParameters) const
 
bool operator== (const FMaterialShaderMapId &ReferenceSet) const
 
bool operator!= (const FMaterialShaderMapId &ReferenceSet) const
 
bool IsContentValid () const
 
EShaderPermutationFlags GetPermutationFlags () const
 

Public Attributes

FSHAHash CookedShaderMapIdHash
 
EMaterialQualityLevel::Type QualityLevel
 
ERHIFeatureLevel::Type FeatureLevel
 
FPlatformTypeLayoutParameters LayoutParams
 

Friends

uint32 GetTypeHash (const FMaterialShaderMapId &Ref)
 

Detailed Description

Contains all the information needed to uniquely identify a FMaterialShaderMap.

Constructor & Destructor Documentation

◆ FMaterialShaderMapId()

FMaterialShaderMapId::FMaterialShaderMapId ( )
inline

◆ ~FMaterialShaderMapId()

FMaterialShaderMapId::~FMaterialShaderMapId ( )
inline

Member Function Documentation

◆ Equals()

bool FMaterialShaderMapId::Equals ( const FMaterialShaderMapId ReferenceSet,
bool  bWithStaticParameters 
) const

Tests this set against another for equality.

Parameters
ReferenceSetThe set to compare against
Returns
true if the sets are equal

◆ GetPermutationFlags()

EShaderPermutationFlags FMaterialShaderMapId::GetPermutationFlags ( ) const
inline

◆ GetSizeBytes()

SIZE_T FMaterialShaderMapId::GetSizeBytes ( ) const
inline

◆ IsContentValid()

bool FMaterialShaderMapId::IsContentValid ( ) const

Ensure content is valid - for example overrides are set deterministically for serialization and sorting

◆ IsCookedId()

bool FMaterialShaderMapId::IsCookedId ( ) const
inline

◆ IsValid()

bool FMaterialShaderMapId::IsValid ( ) const
inline

◆ operator!=()

bool FMaterialShaderMapId::operator!= ( const FMaterialShaderMapId ReferenceSet) const
inline

◆ operator==()

bool FMaterialShaderMapId::operator== ( const FMaterialShaderMapId ReferenceSet) const
inline

Tests this set against another for equality

Parameters
ReferenceSetThe set to compare against
Returns
true if the sets are equal

◆ Serialize()

void FMaterialShaderMapId::Serialize ( FArchive Ar,
bool  bLoadingCooked 
)

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FMaterialShaderMapId Ref)
friend

Member Data Documentation

◆ CookedShaderMapIdHash

FSHAHash FMaterialShaderMapId::CookedShaderMapIdHash

◆ FeatureLevel

ERHIFeatureLevel::Type FMaterialShaderMapId::FeatureLevel

Feature level that the shader map is going to be compiled for.

◆ LayoutParams

FPlatformTypeLayoutParameters FMaterialShaderMapId::LayoutParams

◆ QualityLevel

EMaterialQualityLevel::Type FMaterialShaderMapId::QualityLevel

Quality level that this shader map is going to be compiled at.
Can be a value of EMaterialQualityLevel::Num if quality level doesn't matter to the compiled result.


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