![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MaterialExternalCodeRegistry.h>
Public Member Functions | |
| GENERATED_BODY () | |
| void | UpdateHash (FSHA1 &Hasher) const |
Public Attributes | |
| FName | Name |
| EMaterialShaderFrequency | ShaderFrequency = EMaterialShaderFrequency::Any |
Structure to enable shader environment defines per external code declaration. E.g. the external code declaration for "ParticleColor" enables the define "NEEDS_PARTICLE_COLOR" when used in the pixel stage.
| FMaterialExternalCodeEnvironmentDefine::GENERATED_BODY | ( | ) |
Updates the input hasher state with the content of this environemnt define.
| FName FMaterialExternalCodeEnvironmentDefine::Name |
Name of the environment define to enable.
| EMaterialShaderFrequency FMaterialExternalCodeEnvironmentDefine::ShaderFrequency = EMaterialShaderFrequency::Any |
Optional shader frequency to further restrict this environment define besides its code declaration shader frequency.