Skip to content

Commit 471fb8d

Browse files
svc-reach-platform-supportEvergreen
authored andcommitted
[Port] [6000.4] Fixing Shader Graph Nodes Documentations Links
1 parent a44005a commit 471fb8d

27 files changed

+127
-62
lines changed

Packages/com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/Nodes/CustomPassNodes.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ public CustomColorBufferNode()
1919
UpdateNodeAfterDeserialization();
2020
}
2121

22-
public override string documentationURL => NodeUtils.GetDocumentationString("HD-Custom-Color");
23-
2422
const int kUvInputSlotId = 0;
2523
const string kUvInputSlotName = "UV";
2624

Packages/com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/Nodes/EmissionNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public EmissionNode()
2121
UpdateNodeAfterDeserialization();
2222
}
2323

24-
public override string documentationURL => Documentation.GetPageLink("SGNode-Emission");
24+
public override string documentationURL => NodeUtils.GetDocumentationString("Emission");
2525

2626
[SerializeField]
2727
EmissiveIntensityUnit _intensityUnit;

Packages/com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/Nodes/ExposureNode.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ public ExposureNode()
3636
UpdateNodeAfterDeserialization();
3737
}
3838

39-
public override string documentationURL => Documentation.GetPageLink("SGNode-Exposure");
40-
4139
[SerializeField]
4240
ExposureType m_ExposureType;
4341
[EnumControl("Type")]

Packages/com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/Nodes/FresnelEquationNode.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ class HDFresnelEquationNode : AbstractMaterialNode
3333

3434
const string kFresnelOutputSlotName = "Fresnel";
3535

36-
public override string documentationURL => Documentation.GetPageLink("Fresnel-Equation-Node");
37-
3836
private enum FresnelSlots
3937
{
4038
kDotVectorsInputSlotId,

Packages/com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/Nodes/SurfaceGradientResolveNormal.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ public SurfaceGradientResolveNormal()
1818
UpdateNodeAfterDeserialization();
1919
}
2020

21-
public override string documentationURL => Documentation.GetPageLink("SurfaceGradientResolveNormal");
22-
2321
const int kNormalInputSlotId = 0;
2422
const string kNormalInputSlotName = "Normal";
2523

Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Nodes/UniversalSampleBufferNode.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ public BufferType bufferType
4747
}
4848
}
4949

50-
public override string documentationURL => Documentation.GetPageLink(Documentation.packageName, "SGNode-Universal-Sample-Buffer");
51-
5250
public UniversalSampleBufferNode()
5351
{
5452
name = "URP Sample Buffer";

Packages/com.unity.shadergraph/Documentation~/HD-Custom-Color-Node.md renamed to Packages/com.unity.shadergraph/Documentation~/Custom-Color-Buffer-Node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Custom Color Node (HDRP)
1+
# Custom Color Buffer Node (HDRP)
22

33
The Custom Color Node accesses the custom pass color buffer allocated by HDRP.
44

Packages/com.unity.shadergraph/Documentation~/Custom-Texture-Self.md renamed to Packages/com.unity.shadergraph/Documentation~/Custom-Render-Texture-Self-Node.md

File renamed without changes.

Packages/com.unity.shadergraph/Documentation~/Custom-Texture-Size.md renamed to Packages/com.unity.shadergraph/Documentation~/Custom-Render-Texture-Size-Node.md

File renamed without changes.

Packages/com.unity.shadergraph/Documentation~/Custom-Render-Texture.md.meta

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)