DisableShaderKeyword(string)
Adds a command to disable a global shader keyword with a given name.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void DisableShaderKeyword(string keyword)
Parameters
Name of a global keyword to disable.
Remarks
It is more efficient to use CommandBuffer.DisableKeyword.
Additional Resources: CommandBuffer.EnableShaderKeyword, CommandBuffer.EnableKeyword, Shader.DisableKeyword.