Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterial
Description
Gets the shader map usage of the material, which will be included in the DDC key. This mechanism allows derived material classes to create different DDC keys with the same base material. For example lightmass exports diffuse and emissive, each of which requires a material resource with the same base material.
| Name | GetShaderMapUsage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
virtual EMaterialShaderMapUsage::Type GetShaderMapUsage() const