浏览代码

Switch DDY node to dynamic dimension ports

/main
Matt Dean 7 年前
当前提交
1e450d4f
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 12
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Math/Derivative/DDYNode.cs

12
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Nodes/Math/Derivative/DDYNode.cs


}
static string Unity_DDY_Default(
[Slot(0, Binding.None)] Vector1 In,
[Slot(1, Binding.None)] out Vector1 Out)
[Slot(0, Binding.None)] DynamicDimensionVector In,
[Slot(1, Binding.None)] out DynamicDimensionVector Out)
{
return
@"

}
static string Unity_DDY_Coarse(
[Slot(0, Binding.None)] Vector1 In,
[Slot(1, Binding.None)] out Vector1 Out)
[Slot(0, Binding.None)] DynamicDimensionVector In,
[Slot(1, Binding.None)] out DynamicDimensionVector Out)
{
return
@"

}
static string Unity_DDY_Fine(
[Slot(0, Binding.None)] Vector1 In,
[Slot(1, Binding.None)] out Vector1 Out)
[Slot(0, Binding.None)] DynamicDimensionVector In,
[Slot(1, Binding.None)] out DynamicDimensionVector Out)
{
return
@"

正在加载...
取消
保存