RenderTarget.new

From GiderosMobile
Revision as of 10:45, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2013.06

Description

Creates new RenderTarget object

 RenderTarget.new(width,height,filtering,repeat,autoscale)

Parameters

width: (number) width of rendered texture
height: (number) height of rendered texture
filtering: (boolean, default = false) Whether or not the texture is filtered.
repeat: (boolean, default = false) Whether or not the texture is repeating.
autoscale: (boolean, default = false) Whether or not the actual texture size should be scaled to match display resolution.