Difference between revisions of "RenderTarget.new"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2013.06<br/>
 
'''<translate>Available since</translate>:''' Gideros 2013.06<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/RenderTarget|RenderTarget]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Creates new RenderTarget object</translate>
 
<translate>Creates new RenderTarget object</translate>

Revision as of 09:28, 24 August 2018

Available since: Gideros 2013.06
Class: RenderTarget

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.