context | A context object that the asset system needs to register shader dependencies properly. |
source | A string that contains a shader written in ShaderLab code. |
compileInitialShaderVariants | Unused. |
shader | The Shader to update. |
Replaces the existing source code in the specified shader with the source code in the supplied string.