Version: 2022.1

CommandBuffer.DisableShaderKeyword

切换到手册
public void DisableShaderKeyword (string keyword);

参数

keyword Name of a global keyword to disable.

描述

Adds a command to disable a global shader keyword with a given name.

It is more efficient to use DisableKeyword.

See Also: EnableShaderKeyword, EnableKeyword, Shader.DisableKeyword.