CameraTarget
Target texture of currently rendering camera.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
CameraTarget = 2
Remarks
This is the render target where the current camera would be ultimately rendering into. The render target that is active right now might be different (e.g. during light shadow map rendering, or right after another CommandBuffer.Blit etc.).
Additional Resources: CommandBuffer.