// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "ShaderPreprocessTypes.h" namespace UE::ShaderMinifier::SDCE { /** * Minify shader sources */ SHADERCOMPILERCOMMON_API void MinifyInPlace(const TConstArrayView& DCESymbols, FString& Code); /** * Minify shader sources from preprocessor output */ SHADERCOMPILERCOMMON_API bool MinifyInPlace(const FShaderCompilerInput& Input, const FShaderPreprocessOutput& PreprocessOutput, FString& Code); }