Difference between revisions of "Stage:setClearColorBuffer"
From GiderosMobile
m |
|||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
− | If you are covering whole background with image, you can disable background color draw call for better performance. | + | If you are covering the whole background with an image, you can disable background color draw call for better performance. |
<source lang="lua"> | <source lang="lua"> | ||
Stage:setClearColorBuffer(bool) | Stage:setClearColorBuffer(bool) |
Revision as of 10:20, 20 October 2020
Available since: Gideros 2011.6
Class: Stage
Description
If you are covering the whole background with an 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