UE::ShaderCompilerCommon::RemoveDeadCode

Overload list

Unreal Engine C++ API Reference > Developer > ShaderCompilerCommon

Type Name Description
bool UE::ShaderCompilerCommon::RemoveDeadCode ( FString& InOutPreprocessedShaderSo..., const FString& EntryPoint, TArray< FShaderCompilerError >& Ou... ) Rewrites a fully preprocessed shader source code, removing any functions or structs that are not reachable from a given entry point or list of symbols.
bool UE::ShaderCompilerCommon::RemoveDeadCode ( FString& InOutPreprocessedShaderSo..., TConstArrayView< FStringView > Requ..., TArray< FShaderCompilerError >& Ou... ) Rewrites a fully preprocessed shader source code, removing any functions or structs that are not reachable from a given entry point or list of symbols.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library

On this page