Module |
|
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
(
TArray< FMaterialShaderMap * > & OutShaderMaps
)
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)