SetGlobalColor
Add a "set global shader color property" command.
Read time 1 minuteLast updated 4 days ago
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.