Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCompilerEnvironment > API/Runtime/RenderCore/FShaderCompilerEnvironment/GetCompileArgument
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include | #include "ShaderCore.h" |
template<typename ValueType>
ValueType GetCompileArgument
&40;
const TCHAR &42; Name,
const ValueType & DefaultValue
&41; const
Remarks
If a compile argument with the given name exists and is of the specified type, returns its value. Otherwise, either the named argument doesn't exist or the type does not match, and the default value will be returned.