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 should only be set when additional manipulation of source code 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 for upstream code which explicitly requests the final source code for other purposes (i.e. when ExtraSettings.bExtractShaderSource is set on the FShaderCompilerInput struct)