SetGlobalVectorArray
Add a "set global shader vector array property" command.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
SetGlobalVectorArray(int, Vector4[])
Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(int nameID, Vector4[] values)
Parameters
Remarks
When the command buffer will be executed, a global shader vector array property will be set at this point. The effect is as if Shader.SetGlobalVectorArray was called.
SetGlobalVectorArray(string, List<Vector4>)
Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(string propertyName, List<Vector4> values)
Parameters
Remarks
When the command buffer will be executed, a global shader vector array property will be set at this point. The effect is as if Shader.SetGlobalVectorArray was called.
SetGlobalVectorArray(int, List<Vector4>)
Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(int nameID, List<Vector4> values)
Parameters
Remarks
When the command buffer will be executed, a global shader vector array property will be set at this point. The effect is as if Shader.SetGlobalVectorArray was called.
SetGlobalVectorArray(string, Vector4[])
Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(string propertyName, Vector4[] values)
Parameters
Remarks
When the command buffer will be executed, a global shader vector array property will be set at this point. The effect is as if Shader.SetGlobalVectorArray was called.