Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialInstance
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 |
void GetAllShaderMaps
&40;
TArray< FMaterialShaderMap &42; > & OutShaderMaps
&41;
Remarks
Gathers actively used shader maps from all material resources used by this material instance Note - not refcounting the shader maps so the references must not be used after material resources are modified (compilation, loading, etc)