Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCompilerEnvironment
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include | #include "ShaderCore.h" |
template<typename ValueType>
void SetDefineAndCompileArgument
&40;
const TCHAR &42; Name,
ValueType Value
&41;
Remarks
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.