ECompiledMaterialProperty

Enum that contains entries for the ways that material properties need to be compiled.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MaterialShared.h"

Syntax

enum ECompiledMaterialProperty
{
    CompiledMP_EmissiveColorCS            = MP_MAX,
    CompiledMP_PrevWorldPositionOffset,
    CompiledMP_MAX,
}

Values

Name

Description

CompiledMP_EmissiveColorCS

CompiledMP_PrevWorldPositionOffset

CompiledMP_MAX

Remarks

Enum that contains entries for the ways that material properties need to be compiled. This 'inherits' from EMaterialProperty in the sense that all of its values start after the values in EMaterialProperty. Each material property is compiled once for its usual shader frequency, determined by GetShaderFrequency(), And then this enum contains entries for extra compiles of a material property with a different shader frequency. This is necessary for material properties which need to be evaluated in multiple shader frequencies.

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