Difference between revisions of "Stage:setClearColorBuffer"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === If you are covering whole background with image, you can disable background color draw call for better...")
 
Line 4: Line 4:
 
If you are covering whole background with image, you can disable background color draw call for better performance
 
If you are covering whole background with image, you can disable background color draw call for better performance
 
<source lang="lua">
 
<source lang="lua">
= Stage:setClearColorBuffer(state,)
+
Stage:setClearColorBuffer(state)
 
</source>
 
</source>
'''state:''' (bool) false to disable draw call, true to enable ''''''<br/>
+
'''state''': (bool) false to disable draw call, true to enable ''''''<br/>

Revision as of 11:16, 23 August 2018

Available since: Gideros 2011.6

Description

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

 Stage:setClearColorBuffer(state)

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