Navigation
API > API/Developer > API/Developer/ShaderCompilerCommon > API/Developer/ShaderCompilerCommon/FShaderConductorContext
References
| Module | ShaderCompilerCommon |
| Header | /Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h |
| Include | #include "ShaderConductorContext.h" |
| Source | /Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderConductorContext.cpp |
bool RewriteHlsl
&40;
const FShaderConductorOptions & Options,
FString &42; OutSource
&41;
Remarks
Rewrites the specified HLSL shader source code. This allows to reduce the HLSL code by removing unused global resources for instance. This will update the internally loaded source (see 'LoadSource'), so the output parameter 'OutSource' is optional.