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>
bool GetCompileArgument
&40;
const TCHAR &42; Name,
ValueType & OutValue
&41; const
Remarks
If a compile argument with the given name exists and is of the specified type, its value will be assigned to OutValue and the function will return true. Otherwise, either the named argument doesn't exist or the type does not match, the OutValue will be left unmodified and the function will return false.