/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h
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.
bool RewriteHlsl ( const [FShaderConductorOptions](API\Developer\ShaderCompilerCommon\FShaderConductorOptions) & Options, [FString](API\Runtime\Core\Containers\FString) * OutSource )