SetGlobalMatrix
Add a "set global shader matrix property" command.
阅读时间1 分钟最后更新于 1 个月前
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.