Difference between revisions of "Stage:setClearColorBuffer"

From GiderosMobile
Line 6: Line 6:
 
  Stage:setClearColorBuffer(state)
 
  Stage:setClearColorBuffer(state)
 
</source>
 
</source>
'''state''': (bool) false to disable draw call, true to enable ''''''<br/>
+
=== Parameters ===
 +
'''state''': (bool) false to disable draw call, true to enable <br/>

Revision as of 11:38, 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)

Parameters

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