Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


forceIntoRenderTexture

Should camera rendering be forced into a RenderTexture.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool forceIntoRenderTexture { get; set; }

Remarks

If set to true camera rendering will always happen into a RenderTexture instead of direct into the backbuffer. This can be useful if you have no image effects but want to use command buffers to act on the current rendering target.