FUniformExpressionSet::GetReferencedTexture2DRHIHash

Get a combined hash of all referenced Texture2D's underlying RHI textures, going through TextureReferences. Can be used to tell if any texture has gone through texture streaming mip changes recently.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialUniformExpressions.cpp

Syntax

uint32 GetReferencedTexture2DRHIHash
(
    const FMaterialRenderContext & MaterialRenderContext
) const

Remarks

Get a combined hash of all referenced Texture2D's underlying RHI textures, going through TextureReferences. Can be used to tell if any texture has gone through texture streaming mip changes recently.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss