UMaterialInstance::GetAllShaderMaps

Gathers actively used shader maps from all material resources used by this material instance

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstance.h

Include

#include "Materials/MaterialInstance.h"

Source

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

Syntax

void GetAllShaderMaps
(
    TArray< FMaterialShaderMap * > & OutShaderMaps
)

Remarks

Gathers actively used shader maps from all material resources used by this material instance

  • not refcounting the shader maps so the references must not be used after material resources are modified (compilation, loading, etc)

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