keywordName | The name of the keyword. |
从着色器全局关键字名称初始化 ShaderKeyword 类的新实例。
See Also: IPreprocessShaders.OnProcessShader.
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.
See Also: IPreprocessShaders.OnProcessShader.