Identifier of a specific code path in a shader.
See Also: ShaderKeywordSet, Rendering.ShaderKeywordSetUtility, Shader.EnableKeyword, multiple variants.
ShaderKeyword | Initializes a new instance of the ShaderKeyword class from a shader keyword name. |
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. |
Did you find this page useful? Please give it a rating: