기술 자료

Unity Engine

Unity Engine

isDynamic

Specifies whether this local shader keyword is used for dynamic branching (Read Only).
읽는 시간 1분최근 업데이트: 한 달 전

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.