CommandBuffer.DisableShaderKeyword

Declaration

public void DisableShaderKeyword(string keyword);

Parameters

keyword Name of a global keyword to disable.

Description

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

It is more efficient to use DisableKeyword.

Additional resources: EnableShaderKeyword, EnableKeyword, Shader.DisableKeyword.


Did you find this page useful? Please give it a rating: