18 lines
493 B
C++
18 lines
493 B
C++
// 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<FStringView>& DCESymbols, FString& Code);
|
|
|
|
/**
|
|
* Minify shader sources from preprocessor output
|
|
*/
|
|
SHADERCOMPILERCOMMON_API bool MinifyInPlace(const FShaderCompilerInput& Input, const FShaderPreprocessOutput& PreprocessOutput, FString& Code);
|
|
}
|