SetGlobalVector
Add a "set global shader vector property" command.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
SetGlobalVector(int, Vector4)
Add a "set global shader vector property" command.
public void SetGlobalVector(int nameID, Vector4 value)
Parameters
Remarks
When the command buffer will be executed, a global shader vector property will be set at this point. The effect is as if Shader.SetGlobalVector was called.
SetGlobalVector(string, Vector4)
Add a "set global shader vector property" command.
public void SetGlobalVector(string name, Vector4 value)
Parameters
Remarks
When the command buffer will be executed, a global shader vector property will be set at this point. The effect is as if Shader.SetGlobalVector was called.