Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCompilerEnvironment
Description
Helper to set both a define and a compile argument to the same value. Useful for various parameters which need to be consumed both by preprocessing and in the shader format backends to modify compilation behaviour.
| Name | SetDefineAndCompileArgument |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
template<typename ValueType>
void SetDefineAndCompileArgument
(
const TCHAR * Name,
ValueType Value
)