Replace a string in a shader function with added options to prepend, append, show warning when not found, and replace all occurrences.
shader code
string to replace
new string to replace with
replace all occurrences
Replace a string in a shader function with added options to prepend, append, show warning when not found, and replace all occurrences.