Navigation
API > API/Developer > API/Developer/ShaderCompilerCommon > API/Developer/ShaderCompilerCommon/FShaderConductorOptions
Description
Applies common compiler flags to this options struct: WarningsAsErrors, ForceSpirvDebugInfo, and HLSL2021. Other flags must be individually applied depending on the shader backend.
| Name | ApplyCommonCompilerFlags |
| Type | function |
| Header File | /Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h |
| Include Path | #include "ShaderConductorContext.h" |
void ApplyCommonCompilerFlags
(
const FShaderCompilerFlags & InCompilerFlags
)