Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DisableShaderKeyword(string)

Adds a command to disable a global shader keyword with a given name.
Read time 1 minuteLast updated 5 days ago

Definition

public void DisableShaderKeyword(string keyword)

Parameters

keyword

Name of a global keyword to disable.

Remarks

It is more efficient to use CommandBuffer.DisableKeyword.