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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback