Skip to content

Commit 65626ee

Browse files
PBU3DEvergreen
authored andcommitted
Fix for DOCATT-2055, Branch Node output type
*[Corrects the output type of the Branch node as per DOCATT-2055.]*
1 parent 02cec56 commit 65626ee

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Packages/com.unity.shadergraph/Documentation~/Branch-Node.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
## Description
44

5-
Provides a dynamic branch to the shader. If input **Predicate** is true the return output will be equal to input **True**, otherwise it will be equal to input **False**. This is determined per vertex or per pixel depending on shader stage. Both sides of the branch will be evaluated in the shader, and the branch not used will be discarded.
5+
Provides a dynamic branch to the shader. If input **Predicate** is true, this node returns input **True**, otherwise it returns input **False**. The **Branch Node** evaluates the **Predicate** per vertex or per pixel depending on shader stage. Both sides of the branch are evaluated in the shader, and the branch not used is discarded.
66

77
## Ports
88

9-
| Name | Direction | Type | Binding | Description |
10-
|:------------ |:-------------|:-----|:---|:---|
11-
| Predicate | Input | Boolean | None | Determines which input to returned |
12-
| True | Input | Dynamic Vector | None | Returned if **Predicate** is true |
13-
| False | Input | Dynamic Vector | None | Returned if **Predicate** is false |
14-
| Out | Output | Boolean | None | Output value |
9+
| Name | Direction | Type | Binding | Description |
10+
|:----------|:----------|:---------------|:--------|:------------|
11+
| Predicate | Input | Boolean | None | Determines which input to return. |
12+
| True | Input | Dynamic Vector | None | Returned if **Predicate** is true. |
13+
| False | Input | Dynamic Vector | None | Returned if **Predicate** is false. |
14+
| Out | Output | Dynamic Vector | None | Output value |
1515

1616
## Generated Code Example
1717

0 commit comments

Comments
 (0)