Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCompilerEnvironment
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetCompileArgument
(
const TCHAR* Name, |
Sets a generic parameter which can be read in the various shader format backends to modify compilation behaviour. | ShaderCore.h | |
void SetCompileArgument
(
const TCHAR* Name, |
Like above, but this overload takes in the define value variant explicitly. | ShaderCore.h |
SetCompileArgument(const TCHAR *, ValueType)
Description
Sets a generic parameter which can be read in the various shader format backends to modify compilation behaviour. Intended to replace any usage of definitions after shader preprocessing.
| Name | SetCompileArgument |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
template<typename ValueType>
void SetCompileArgument
(
const TCHAR * Name,
ValueType Value
)
SetCompileArgument(const TCHAR *, TVariant< bool, float, int32, uint32, FString >)
Description
Like above, but this overload takes in the define value variant explicitly.
| Name | SetCompileArgument |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
void SetCompileArgument
(
const TCHAR * Name,
TVariant < bool, float, int32, uint32, FString > Value
)