文档

Unity Engine

Unity Engine

DisableShaderKeyword(string)

Adds a command to disable a global shader keyword with a given name.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void DisableShaderKeyword(string keyword)

Parameters

keyword

Name of a global keyword to disable.

Remarks

It is more efficient to use CommandBuffer.DisableKeyword.