Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
static TMap< FMaterialShaderMapId, FMaterialShaderMap * > GIdToMaterialShaderMap;
A global map from a material's static parameter set to any shader map cached for that material.
this does not necessarily contain all material shader maps in memory. Shader maps with the same key can evict each other. No ref counting needed as these are removed on destruction of the shader map.