Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialIRToHLSLTranslation
Description
Executes the translation process, filling the material shader template parameters in OutParameters and configuring OutEnvironment for shader compilation. After this call, interpolate the MaterialTemplate shader with the list of parameters to get the final HLSL shader.
| Name | Run |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIRToHLSLTranslator.h |
| Include Path | #include "Materials/MaterialIRToHLSLTranslator.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialIRToHLSLTranslator.cpp |
void Run
(
TMap < FString , FString > & OutParameters,
FShaderCompilerEnvironment & OutEnvironment
)