Difference between revisions of "Stage:setClearColorBuffer"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | === Description === | + | === <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> | ||
<source lang="lua"> | <source lang="lua"> | ||
Stage:setClearColorBuffer(state) | Stage:setClearColorBuffer(state) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''state''': (bool) <translate>false to disable draw call, true to enable</translate> <br/> | '''state''': (bool) <translate>false to disable draw call, true to enable</translate> <br/> |
Revision as of 08:29, 24 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