Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isDynamic

Specifies whether this local shader keyword is used for dynamic branching (Read Only).
Read time 1 minuteLast updated 6 days ago

Definition

public bool isDynamic { get; }

Remarks

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.