Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include |
#include "MaterialShared.h" |
enum ECompiledMaterialProperty
{
CompiledMP_EmissiveColorCS = MP_MAX,
CompiledMP_PrevWorldPositionOffset,
CompiledMP_MAX,
}
Name |
Description |
---|---|
CompiledMP_EmissiveColorCS |
|
CompiledMP_PrevWorldPositionOffset |
|
CompiledMP_MAX |
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.