public GenerateShader ( string shaderName, Action |
||
shaderName | string | The shader's name in the file. |
addToProperties | Action |
Adds any Unity Shaderlab Properties to the given string. |
addToDefs | Action |
Adds any Cg declarations to the given string. |
returnFragmentColor | StringBuilder>.Action | /// Outupts shader instructions that return a float4 color /// given the variable holding the graph's noise output. /// |
return | string |