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.

Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > IShaderFormat

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h
Include #include "Interfaces/IShaderFormat.h"
virtual void ModifyShaderCompilerInput
(
    [FShaderCompilerInput](API\Runtime\RenderCore\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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library