isDynamic
Specifies whether this local shader keyword is used for dynamic branching (Read Only).
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public bool isDynamic { get; }
Remarks
You can use keywords to control runtime branches in shaders. To do this, declare the keywords using either the or directive.
#pragma dynamic_branch#pragma dynamic_branch_local