/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionExecEnd.h
A givenUMaterialimplementation should implement at least one of these methods in order to generate HLSL code It's valid to implement more than one, if the expression can be used in multiple ways. For example, a for-loop expression might generate a statement for the execution input, but also generate an expression to access the loop index These methods replace theCompile()method; once we switch over to the new system,Compile()will be removed
virtual bool GenerateHLSLStatements ( [FMaterialHLSLGenerator](API\Runtime\Engine\FMaterialHLSLGenerator) & Generator, [UE::HLSLTree::FScope](API\Runtime\Engine\HLSLTree\FScope) & Scope ) const