Difference between revisions of "Stage:setClearColorBuffer"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Stage|Stage]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>If you are covering whole background with image, you can disable background color draw call for better performance</translate>
 
<translate>If you are covering whole background with image, you can disable background color draw call for better performance</translate>

Revision as of 10:27, 24 August 2018

Available since: Gideros 2011.6
Class: Stage

Description

If you are covering whole background with image, you can disable background color draw call for better performance

 Stage:setClearColorBuffer(state)

Parameters

state: (bool) false to disable draw call, true to enable