Version: 2023.1
言語: 日本語

FilterAttributeConstructor

マニュアルに切り替える
public FilterAttribute (ShaderKeywordFilter.FilterAction action, ShaderKeywordFilter.FilterAttribute.Precedence precedence, ShaderKeywordFilter.FilterAttribute.EvaluationMode evaluationMode, object condition, string fileName, int lineNumber, params string[] keywordNames);

パラメーター

action The filter action this attribute triggers.
precedence The mode of precedence between this attribute and any attributes evaluated before this.
evaluationMode The condition evaluation mode that's used to decide whether the condition is expected to match or not.
condition The value that's being compared against the targeted data field. The comparison outcome determines the filter behavior.
fileName The path of the file this attribute is in. Automatically filled by default.
lineNumber The line number of this attribute. Automatically filled by default.
keywordNames An array of shader keyword names this filter attribute affects.

説明

Tell the shader system which shader keywords to include in or exclude from the build, based on the data field underneath.