|
|
|
|
|
|
")"; |
|
|
|
} |
|
|
|
|
|
|
|
private string GetFunctionCall(GenerationMode generationMode) |
|
|
|
|
|
|
|
protected virtual string GetFunctionCall(GenerationMode generationMode) |
|
|
|
{ |
|
|
|
string prefix = ""; |
|
|
|
string sufix = ""; |
|
|
|
|
|
|
var outputString = new ShaderGenerator(); |
|
|
|
outputString.AddShaderChunk(GetOutputDeclaration(), false); |
|
|
|
outputString.AddShaderChunk(GetFunctionCall(generationMode), false); |
|
|
|
|
|
|
|
|
|
|
|
visitor.AddShaderChunk(outputString.GetShaderString(0), true); |
|
|
|
} |
|
|
|
|
|
|
|