Difference between revisions of "Stage:setClearColorBuffer"

From GiderosMobile
Line 12: Line 12:
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''bool''': (bool) false to disable draw call, true to enable<br/>
 
'''bool''': (bool) false to disable draw call, true to enable<br/>
 +
 +
=== See Also ===
 +
'''[[Application:setBackgroundColor]]'''
  
 
{{Stage}}
 
{{Stage}}

Revision as of 06:04, 15 February 2020


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(bool)

Parameters

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

See Also

Application:setBackgroundColor