注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Branch Node
Description
This node provides a dynamic branch to the shader. If input Condition 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 calculated in the shader. However, if the Condition receives a Constant as a value, one of the branches won't be used at all.
Last update:
2021-12-15
Help improve this article
(or select a word/phrase and press Ctrl+Enter)