文档

Unity Engine

Download Unity

Unity Engine

DisableShaderKeyword(string)

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

Definition

public void DisableShaderKeyword(string keyword)

Parameters

keyword

Name of a global keyword to disable.

Remarks

It is more efficient to use CommandBuffer.DisableKeyword.