Version: 2020.1
言語: 日本語

ShaderKeywordConstructor

マニュアルに切り替える
public ShaderKeyword (string keywordName);

パラメーター

keywordName The name of the keyword.

説明

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


public ShaderKeyword (Shader shader, string keywordName);

パラメーター

shader The shader that declares the keyword.
keywordName The name of the keyword.

説明

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