Version: 2022.3
言語: 日本語

TagConstraintAttribute

class in UnityEditor.ShaderKeywordFilter

マニュアルに切り替える

説明

Enable or disable shader keyword filter attributes based on shader tags.

You can use TagConstraintAttribute to enable or disable filter attributes based on shader tags. For example, you can filter shader keywords differently on different scriptable render pipelines.

Use ApplyRulesIfTagsEqualAttribute and ApplyRulesIfTagsNotEqualAttribute to make your code more readable.

コンストラクタ

TagConstraintAttributeEnable or disable shader keyword filter attributes based on shader tags.