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