ShaderKeywordConstructor

Cambiar al Manual
public ShaderKeyword (string keywordName);

Parámetros

keywordNameThe name of the keyword.

Descripción

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


public ShaderKeyword (Shader shader, string keywordName);

Parámetros

shaderThe shader that declares the keyword.
keywordNameThe name of the keyword.

Descripción

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