IShaderFormat::ModifyShaderCompilerInput

Called before a shader is compiled to allow the platform shader format to modify the shader compiler input, e.g. by adding console variable values relevant to shader compilation on that platform.

Windows
MacOS
Linux

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h

Include

#include "Interfaces/IShaderFormat.h"

Syntax

virtual void ModifyShaderCompilerInput
(
    FShaderCompilerInput & Input
) const

Remarks

Called before a shader is compiled to allow the platform shader format to modify the shader compiler input, e.g. by adding console variable values relevant to shader compilation on that platform.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss