SetupCameraProperties(Camera)
Schedules the setup of Camera specific global Shader variables.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void SetupCameraProperties(Camera camera)
Parameters
Camera to setup shader variables for.
Remarks
This function sets up view, projection and clipping planes global shader variables. This command is essentially the same to ScriptableRenderContext.SetupCameraProperties.