Description 描述
Identifier of a specific code path in a shader.
See Also: ShaderKeywordSet, Rendering.ShaderKeywordSetUtility, Shader.EnableKeyword, multiple variants.
Constructors
| ShaderKeyword | Initializes a new instance of the ShaderKeyword class from a shader keyword name. |
Public Methods 公共方法
| GetKeywordName | Returns the string name of the keyword. | ||
| GetKeywordType | Returns the keyword kind: built-in or user defined. | ||
| IsValid | Returns true if the keyword has been imported by Unity. |