Version: 1.4
LanguageEnglish
  • C#

LocalKeyword.isDynamic

public bool isDynamic;

Description

Specifies whether this local shader keyword is used for dynamic branching (Read Only).

You can use keywords to control runtime branches in shaders. To do this, declare the keywords using either the `#pragma dynamic_branch` or `#pragma dynamic_branch_local` directive.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答