|
|
|
|
|
|
private string SubGraphFunctionName() |
|
|
|
{ |
|
|
|
var functionName = subGraphAsset != null ? NodeUtils.GetHLSLSafeName(subGraphAsset.name) : "ERROR"; |
|
|
|
return string.Format("{0}_{1}", functionName, GuidEncoder.Encode(referencedGraph.guid)); |
|
|
|
return string.Format("{0}_{1}_{2}", "sg", functionName, GuidEncoder.Encode(referencedGraph.guid)); |
|
|
|
} |
|
|
|
|
|
|
|
public virtual void GenerateNodeFunction(FunctionRegistry registry, GenerationMode generationMode) |
|
|
|