FMaterial::GetShaderMapUsage

Gets the shader map usage of the material, which will be included in the DDC key.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

virtual EMaterialShaderMapUsage::Type GetShaderMapUsage() const

Remarks

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.

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