SetGlobalColor
Add a "set global shader color property" command.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
SetGlobalColor(int, Color)
Add a "set global shader color property" command.
public void SetGlobalColor(int nameID, Color value)
Parameters
Remarks
When the command buffer will be executed, a global shader color property will be set at this point. The effect is as if Shader.SetGlobalColor was called.
SetGlobalColor(string, Color)
Add a "set global shader color property" command.
public void SetGlobalColor(string name, Color value)
Parameters
Remarks
When the command buffer will be executed, a global shader color property will be set at this point. The effect is as if Shader.SetGlobalColor was called.