Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCompilerOutput
Syntax
FString ModifiedShaderSource
Remarks
Use this field to store the shader source code if it's modified as part of the shader format's compilation process. This field is only currently required for shader formats which implement the independent preprocessing API and should only be set when additional manipulation is required that is not part of the implementation of PreprocessShader. This version of the source, if set, will be what is written as part of the debug dumps of preprocessed source, as well as used in place of OptionalFinalShaderSource for upstream code which explicitly requests the final source code for other purposes (i.e. when ExtraSettings.bExtractShaderSource is set on the FShaderCompilerInput struct)