Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/MaterialUniformExpressions.cpp |
uint32 GetReferencedTexture2DRHIHash
(
const FMaterialRenderContext & MaterialRenderContext
) const
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.