Difference between revisions of "RenderTarget.new"

From GiderosMobile
Line 6: Line 6:
 
  RenderTarget.new(width,height,filtering,repeat,autoscale)
 
  RenderTarget.new(width,height,filtering,repeat,autoscale)
 
</source>
 
</source>
'''width''': (number) width of rendered texture ''''''<br/>
+
=== Parameters ===
'''height''': (number) height of rendered texture ''''''<br/>
+
'''width''': (number) width of rendered texture <br/>
'''filtering''': (boolean, default = false) Whether or not the texture is filtered. ''''''<br/>
+
'''height''': (number) height of rendered texture <br/>
'''repeat''': (boolean, default = false) Whether or not the texture is repeating. ''''''<br/>
+
'''filtering''': (boolean, default = false) Whether or not the texture is filtered. <br/>
'''autoscale''': (boolean, default = false) Whether or not the actual texture size should be scaled to match display resolution. ''''''<br/>
+
'''repeat''': (boolean, default = false) Whether or not the texture is repeating. <br/>
 +
'''autoscale''': (boolean, default = false) Whether or not the actual texture size should be scaled to match display resolution. <br/>

Revision as of 11:45, 23 August 2018

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.