Difference between revisions of "RenderTarget.new"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2013.06<br/> === Description === Creates new RenderTarget object <source lang="lua"> = RenderTarget.new(widthheightfilteringrepeatauto...") |
|||
Line 4: | Line 4: | ||
Creates new RenderTarget object | Creates new RenderTarget object | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | RenderTarget.new(width,height,filtering,repeat,autoscale) | |
</source> | </source> | ||
− | '''width | + | '''width''': (number) width of rendered texture ''''''<br/> |
− | '''height | + | '''height''': (number) height of rendered texture ''''''<br/> |
− | '''filtering | + | '''filtering''': (boolean, default = false) Whether or not the texture is filtered. ''''''<br/> |
− | '''repeat | + | '''repeat''': (boolean, default = false) Whether or not the texture is repeating. ''''''<br/> |
− | '''autoscale | + | '''autoscale''': (boolean, default = false) Whether or not the actual texture size should be scaled to match display resolution. ''''''<br/> |
Revision as of 10:20, 23 August 2018
Available since: Gideros 2013.06
Description
Creates new RenderTarget object
RenderTarget.new(width,height,filtering,repeat,autoscale)
'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. '