Viewport:setTarget

From GiderosMobile

Available since: Gideros 2024.2
Class: Viewport

Description

Allows a Viewport to be rendered automatically to a RenderTarget.

Viewport:setTarget(rt)

Parameters

rt: (RenderTarget) the RenderTarget to render to