ShaderKeywordConstructor

Switch to Manual
public ShaderKeyword (string keywordName);

Description

Initializes a new instance of the ShaderKeyword class from a shader global keyword name.


public ShaderKeyword (Shader shader, string keywordName);

Description

Initializes a new instance of the ShaderKeyword class from a shader keyword name.