Version: 2023.2
언어: 한국어

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.