RemoveUnusedInputs

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h

Include

#include "ShaderCompilerCommon.h"

Source

/Engine/Source/Developer/ShaderCompilerCommon/Private/HlslUtils.cpp

Syntax

bool RemoveUnusedInputs
(
    FString & InOutSourceCode,
    const TArray< FString > & InUsedInputs,
    FString & InOutEntryPoint,
    TArray< FString > & OutErrors
)