![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MaterialExternalCodeRegistry.h>
Public Member Functions | |
| EMaterialValueType | GetReturnTypeValue () const |
| void | UpdateHash (FSHA1 &Hasher) const |
Declaration of external HLSL code. Such code expressions can be emitted as part of a material translation.
|
inline |
Function return type as material value type. Deduced from ReturnType string to maintain compatibility with other systems that rely on EMaterialValueType not being a UENUM().
Updates the input hasher state with the content of this external code declaration.
| uint32 FMaterialExternalCodeDeclaration::bIsInlined |
| FString FMaterialExternalCodeDeclaration::Definition |
Primary external code definition provided as HLSL shader code expression.
| FString FMaterialExternalCodeDeclaration::DefinitionDDX |
Secondary external code definition for custom DDX derivatives.
| FString FMaterialExternalCodeDeclaration::DefinitionDDY |
Secondary external code definition for custom DDY derivatives.
| EDerivativeStatus FMaterialExternalCodeDeclaration::Derivative = EDerivativeStatus::NotAware |
Specifies the kind of derivative this code declaration provides. If this is EDerivativeStatus::Valid, DefinitionDDX and DefinitionDDY provides the code definitions for the DDX and DDY derivatives respectively.
| TArray<TEnumAsByte<EMaterialDomain> > FMaterialExternalCodeDeclaration::Domains |
List of material domains this external code can be used with. If this is empty, all material domains are accepted.
| TArray<FMaterialExternalCodeEnvironmentDefine> FMaterialExternalCodeDeclaration::EnvironmentDefines |
List of shader environment defines to enable for this external code declaration.
| EMaterialFeatureLevel FMaterialExternalCodeDeclaration::MinimumFeatureLevel = (EMaterialFeatureLevel)0 |
Minimum required feature level for this external code.
| FName FMaterialExternalCodeDeclaration::Name |
| EMaterialValueTypeBridge FMaterialExternalCodeDeclaration::ReturnType = EMaterialValueTypeBridge::Unknown |
| EMaterialShaderFrequency FMaterialExternalCodeDeclaration::ShaderFrequency = EMaterialShaderFrequency::Any |