Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCompilerEnvironment
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ValueType GetCompileArgument
(
const TCHAR* Name, |
If a compile argument with the given name exists and is of the specified type, returns its value. | ShaderCore.h | |
bool GetCompileArgument
(
const TCHAR* Name, |
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. | ShaderCore.h |
GetCompileArgument(const TCHAR *, const ValueType &)
Description
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.
| Name | GetCompileArgument |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
template<typename ValueType>
ValueType GetCompileArgument
(
const TCHAR * Name,
const ValueType & DefaultValue
) const
GetCompileArgument(const TCHAR *, ValueType &)
Description
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.
| Name | GetCompileArgument |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
template<typename ValueType>
bool GetCompileArgument
(
const TCHAR * Name,
ValueType & OutValue
) const