target property

RenderTexture? target
getter/setter pair

The offscreen texture this view renders into, or null to render to the screen.

A view with a target renders whenever the owning scene renders, subject to the target's RenderTexture.update policy. Add such views to Scene.views so they render without being passed to every Scene.renderViews call.

Implementation

RenderTexture? target;